Enum Class InstructionFlags

java.lang.Object
java.lang.Enum<InstructionFlags>
com.pnfsoftware.jeb.core.units.code.InstructionFlags
All Implemented Interfaces:
Serializable, Comparable<InstructionFlags>, Constable

@Ser public enum InstructionFlags extends Enum<InstructionFlags>
Instruction flags; these flags encode additional static information (i.e. information that are always true, whatever the context).

Note: for dynamic information, see InstructionHints

  • Enum Constant Details

    • CONDITIONAL_EXEC

      public static final InstructionFlags CONDITIONAL_EXEC
      Instruction executes conditionally
    • INTERRUPT_EXEC

      public static final InstructionFlags INTERRUPT_EXEC
      Instruction interrupts normal execution flow
    • UNPREDICTABLE_INSN

      public static final InstructionFlags UNPREDICTABLE_INSN
      Unpredictable instruction (may execute correctly/unexpectedly or raise)
    • ROUTINE_TERMINATOR

      public static final InstructionFlags ROUTINE_TERMINATOR
      The instruction is a clean routine terminator (ex: a return-like or throw-like instruction)
  • Method Details

    • values

      public static InstructionFlags[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static InstructionFlags valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null