Package ghidra.program.model.symbol
Class FlowType
java.lang.Object
ghidra.program.model.symbol.RefType
ghidra.program.model.symbol.FlowType
Class to define flow types for instruction (how it
flows from one instruction to the next)
-
Nested Class Summary
Nested Classes -
Field Summary
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 -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns true if this flow type can fall throughbooleanisCall()Returns true if the flow is callbooleanReturns true if the flow is a computed call or compute jumpbooleanReturns true if the flow is a conditional call or jumpbooleanisFlow()Returns true if the reference is an instruction flow referencebooleanisJump()Returns true if the flow is jumpbooleanTrue if this is an override referencebooleanReturns true if this instruction terminatesbooleanReturns true if the flow is an unconditional call or jumpMethods inherited from class ghidra.program.model.symbol.RefType
equals, getDisplayString, getName, getValue, hashCode, isData, isFallthrough, isIndirect, isRead, isWrite, toString
-
Method Details
-
hasFallthrough
public boolean hasFallthrough()Description copied from class:RefTypeReturns true if this flow type can fall through- Overrides:
hasFallthroughin classRefType- Returns:
- true if can fall through
-
isCall
public boolean isCall()Description copied from class:RefTypeReturns true if the flow is call -
isComputed
public boolean isComputed()Description copied from class:RefTypeReturns true if the flow is a computed call or compute jump- Overrides:
isComputedin classRefType- Returns:
- true if is computed
-
isConditional
public boolean isConditional()Description copied from class:RefTypeReturns true if the flow is a conditional call or jump- Overrides:
isConditionalin classRefType- Returns:
- true if is conditional
-
isFlow
public boolean isFlow()Description copied from class:RefTypeReturns true if the reference is an instruction flow reference -
isJump
public boolean isJump()Description copied from class:RefTypeReturns true if the flow is jump -
isTerminal
public boolean isTerminal()Description copied from class:RefTypeReturns true if this instruction terminates- Overrides:
isTerminalin classRefType- Returns:
- true if terminal
-
isUnConditional
public boolean isUnConditional()Description copied from class:RefTypeReturns true if the flow is an unconditional call or jump- Overrides:
isUnConditionalin classRefType- Returns:
- true if unconditional
-
isOverride
public boolean isOverride()Description copied from class:RefTypeTrue if this is an override reference- Overrides:
isOverridein classRefType- Returns:
- true if this is an override reference
-