Class DataRefType

java.lang.Object
ghidra.program.model.symbol.RefType
ghidra.program.model.symbol.DataRefType

public final class DataRefType extends RefType
Class to define reference types for data.
  • Field Details

  • Constructor Details

    • DataRefType

      protected DataRefType(byte type, String name, int access)
      Constructs a DataRefType with the given type.
  • Method Details

    • isData

      public boolean isData()
      Description copied from class: RefType
      Returns true if the reference is to data
      Overrides:
      isData in class RefType
      Returns:
      true if the reference is to data
    • isRead

      public boolean isRead()
      Description copied from class: RefType
      Returns true if the reference is a read
      Overrides:
      isRead in class RefType
      Returns:
      true if the reference is a read
    • isWrite

      public boolean isWrite()
      Description copied from class: RefType
      Returns true if the reference is a write
      Overrides:
      isWrite in class RefType
      Returns:
      true if the reference is a write
    • isIndirect

      public boolean isIndirect()
      Description copied from class: RefType
      Returns true if the reference is indirect
      Overrides:
      isIndirect in class RefType
      Returns:
      true if the reference is indirect