Class FlowType


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

      • FlowType

        protected FlowType​(byte type,
                           java.lang.String name,
                           boolean hasFall,
                           boolean isCall,
                           boolean isJump,
                           boolean isTeminal,
                           boolean isComputed,
                           boolean isConditional)
    • Method Detail

      • hasFallthrough

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

        public boolean isCall()
        Description copied from class: RefType
        Returns true if the flow is call
        Overrides:
        isCall in class RefType
      • 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
      • isConditional

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

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

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

        public boolean isTerminal()
        Description copied from class: RefType
        returns true if this instruction terminates.
        Overrides:
        isTerminal in class RefType
      • 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