Enum Class ReferenceType

java.lang.Object
java.lang.Enum<ReferenceType>
com.pnfsoftware.jeb.core.units.code.asm.analyzer.ReferenceType
All Implemented Interfaces:
Serializable, Comparable<ReferenceType>, Constable

@Ser public enum ReferenceType extends Enum<ReferenceType>
Native reference types attached to IReference. References can be broadly categorized in two types: control-flow and data-flow references.
  • Enum Constant Details

    • UNKNOWN

      public static final ReferenceType UNKNOWN
    • GEN_CODE

      public static final ReferenceType GEN_CODE
      Generic code reference
    • BRANCH

      public static final ReferenceType BRANCH
      Source unconditionally branches on target
    • COND_BRANCH

      public static final ReferenceType COND_BRANCH
      Source conditionally branches on target
    • DYNAMIC_BRANCH

      public static final ReferenceType DYNAMIC_BRANCH
      Source branches on target using a register indirection or a register/memory dereference
    • ROUTINE_CALL

      public static final ReferenceType ROUTINE_CALL
      Source calls target as a routine
    • GEN_DATA

      public static final ReferenceType GEN_DATA
      Generic data reference
    • PTR_DATA

      public static final ReferenceType PTR_DATA
      Source is a pointer to target
    • READ_DATA

      public static final ReferenceType READ_DATA
      Source reads target
    • WRITE_DATA

      public static final ReferenceType WRITE_DATA
      Source writes to target
  • Method Details

    • values

      public static ReferenceType[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static ReferenceType valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • getStrCode

      public String getStrCode()
    • isCode

      public boolean isCode()
    • isData

      public boolean isData()