Annotation Interface MarkupReference


@Retention(RUNTIME) @Target(FIELD) public @interface MarkupReference
Indicates that the target of the tagged field should be decorated in Ghidra as receiving a data reference from the location of the field.

The tagged field must have a 'getter' method that returns something that can be converted to an Address. This can either be an actual Address return value, or a return value that is an instance of an object that can be mapped to an address in the program.

The name of the 'getter' method can be overridden by providing a string that directly specifies the getter method name, or its sans-"get" name (eg. for getter method getXyz(), "getXyz", or "Xyz" are equally valid)

  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    Optional name of a 'getter' method to use instead of the getter for the tagged field.
  • Element Details

    • value

      String value
      Optional name of a 'getter' method to use instead of the getter for the tagged field.
      Returns:
      name of 'getter' method, if unset the field's normal getter will be used
      Default:
      ""