private Address processEncodedFramePointer(Address curAddress,
			ExceptionHandlerFrameHeader eh_frame_hdr, MemoryBlock curMemBlock)
			throws MemoryAccessException {

		/* Create the encoded Exception Handler Frame Pointer */
		DwarfEHDecoder frmPtrDecoder =
			DwarfDecoderFactory.getDecoder(eh_frame_hdr.getEh_FramePtrEncoding());
		DwarfDecodeContext ctx = new DwarfDecodeContext(program, curAddress, curMemBlock);
		Address frmPtrAddr = frmPtrDecoder.decodeAddress(ctx);

		program.getReferenceManager()
				.addMemoryReference(curAddress, frmPtrAddr, RefType.DATA, SourceType.ANALYSIS, 0);

		DataType frmPtrDataType = frmPtrDecoder.getDataType(program);

		CreateDataCmd dataCmd = new CreateDataCmd(curAddress, frmPtrDataType);
		dataCmd.applyTo(program);

		SetCommentCmd commentCmd =
			new SetCommentCmd(curAddress, CommentType.EOL, "Encoded eh_frame_ptr");
		commentCmd.applyTo(program);

		curAddress = curAddress.add(ctx.getEncodedLength());
		return curAddress;
	}
Create the data field for the exception handler frame pointer. Also create the associated 
reference, and add an identifying comment.

@param curAddress address of the frame pointer field
@param eh_frame_hdr the frame header with encoding information
@param curMemBlock the memory block containing this header
@return the next address after the frame pointer field
@throws MemoryAccessException if the field's memory can't be read
Ghidra/Features/Base/src/main/java/ghidra/app/plugin/exceptionhandlers/gcc/sections/EhFrameHeaderSection.java