Enum Class WholeInputVarGen

java.lang.Object
java.lang.Enum<WholeInputVarGen>
ghidra.pcode.emu.jit.gen.var.WholeInputVarGen
All Implemented Interfaces:
InputVarGen, LocalVarGen<JitInputVar>, ValGen<JitInputVar>, VarGen<JitInputVar>, Serializable, Comparable<WholeInputVarGen>, Constable

public enum WholeInputVarGen extends Enum<WholeInputVarGen> implements InputVarGen
The generator for a (whole) local variable that is input to the passage.
  • Enum Constant Details

  • Method Details

    • values

      public static WholeInputVarGen[] 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 WholeInputVarGen 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
    • subpiece

      public ValGen<JitInputVar> subpiece(int byteOffset, int maxByteSize)
      Description copied from interface: ValGen
      Create a generator for a PcodeOp.SUBPIECE of a value.
      Specified by:
      subpiece in interface ValGen<JitInputVar>
      Parameters:
      byteOffset - the number of least-significant bytes to remove
      maxByteSize - the maximum size of the resulting variable. In general, a subpiece should never exceed the size of the parent varnode, but if it does, this will truncate that excess.
      Returns:
      the resulting subpiece generator