Package ghidra.program.model.symbol
Class DataRefType
java.lang.Object
ghidra.program.model.symbol.RefType
ghidra.program.model.symbol.DataRefType
Class to define reference types for data.
-
Field Summary
Modifier and TypeFieldDescriptionprotected static final int
protected static final int
protected static final int
Fields inherited from class ghidra.program.model.symbol.RefType
CALL_OVERRIDE_UNCONDITIONAL, CALL_TERMINATOR, CALLOTHER_OVERRIDE_CALL, CALLOTHER_OVERRIDE_JUMP, COMPUTED_CALL, COMPUTED_CALL_TERMINATOR, COMPUTED_JUMP, CONDITIONAL_CALL, CONDITIONAL_CALL_TERMINATOR, CONDITIONAL_COMPUTED_CALL, CONDITIONAL_COMPUTED_JUMP, CONDITIONAL_JUMP, CONDITIONAL_TERMINATOR, DATA, DATA_IND, EXTERNAL_REF, FALL_THROUGH, FLOW, INDIRECTION, INVALID, JUMP_OVERRIDE_UNCONDITIONAL, JUMP_TERMINATOR, PARAM, READ, READ_IND, READ_WRITE, READ_WRITE_IND, TERMINATOR, THUNK, UNCONDITIONAL_CALL, UNCONDITIONAL_JUMP, WRITE, WRITE_IND
-
Constructor Summary
ModifierConstructorDescriptionprotected
DataRefType
(byte type, String name, int access) Constructs a DataRefType with the given type. -
Method Summary
Methods inherited from class ghidra.program.model.symbol.RefType
equals, getDisplayString, getName, getValue, hasFallthrough, hashCode, isCall, isComputed, isConditional, isFallthrough, isFlow, isJump, isOverride, isTerminal, isUnConditional, toString
-
Field Details
-
READX
protected static final int READX- See Also:
-
WRITEX
protected static final int WRITEX- See Also:
-
INDX
protected static final int INDX- See Also:
-
-
Constructor Details
-
DataRefType
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 -
isRead
public boolean isRead()Description copied from 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 -
isIndirect
public boolean isIndirect()Description copied from class:RefType
Returns true if the reference is indirect- Overrides:
isIndirect
in classRefType
- Returns:
- true if the reference is indirect
-