Class FlowType

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

public final class FlowType extends RefType
Class to define flow types for instruction (how it flows from one instruction to the next)
  • Method Details

    • hasFallthrough

      public boolean hasFallthrough()
      Description copied from class: RefType
      Returns true if this flow type can fall through
      Overrides:
      hasFallthrough in class RefType
      Returns:
      true if can fall through
    • isCall

      public boolean isCall()
      Description copied from class: RefType
      Returns true if the flow is call
      Overrides:
      isCall in class RefType
      Returns:
      true if is a call
    • isComputed

      public boolean isComputed()
      Description copied from class: RefType
      Returns true if the flow is a computed call or compute jump
      Overrides:
      isComputed in class RefType
      Returns:
      true if is computed
    • isConditional

      public boolean isConditional()
      Description copied from class: RefType
      Returns true if the flow is a conditional call or jump
      Overrides:
      isConditional in class RefType
      Returns:
      true if is conditional
    • isFlow

      public boolean isFlow()
      Description copied from class: RefType
      Returns true if the reference is an instruction flow reference
      Overrides:
      isFlow in class RefType
      Returns:
      true if the reference is an instruction flow reference
    • isJump

      public boolean isJump()
      Description copied from class: RefType
      Returns true if the flow is jump
      Overrides:
      isJump in class RefType
      Returns:
      true if is a jump
    • isTerminal

      public boolean isTerminal()
      Description copied from class: RefType
      Returns true if this instruction terminates
      Overrides:
      isTerminal in class RefType
      Returns:
      true if terminal
    • isUnConditional

      public boolean isUnConditional()
      Description copied from class: RefType
      Returns true if the flow is an unconditional call or jump
      Overrides:
      isUnConditional in class RefType
      Returns:
      true if unconditional
    • isOverride

      public boolean isOverride()
      Description copied from class: RefType
      True if this is an override reference
      Overrides:
      isOverride in class RefType
      Returns:
      true if this is an override reference