Package ghidra.pcode.emu.jit.gen.var
Enum Class WholeInputVarGen
- All Implemented Interfaces:
InputVarGen,LocalVarGen<JitInputVar>,ValGen<JitInputVar>,VarGen<JitInputVar>,Serializable,Comparable<WholeInputVarGen>,Constable
The generator for a (whole) local variable that is input to the passage.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>Nested classes/interfaces inherited from interface ghidra.pcode.emu.jit.gen.var.VarGen
VarGen.BlockTransition<THIS extends JitCompiledPassage> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionsubpiece(int byteOffset, int maxByteSize) Create a generator for aPcodeOp.SUBPIECEof a value.static WholeInputVarGenReturns the enum constant of this class with the specified name.static WholeInputVarGen[]values()Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfMethods inherited from interface ghidra.pcode.emu.jit.gen.var.InputVarGen
genReadToBool, genWriteFromArray, genWriteFromOpnd, genWriteFromStackMethods inherited from interface ghidra.pcode.emu.jit.gen.var.LocalVarGen
genReadLegToStack, genReadToArray, genReadToOpnd, genReadToStack, genValInit, getHandler
-
Enum Constant Details
-
GEN
Singleton
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-
subpiece
Description copied from interface:ValGenCreate a generator for aPcodeOp.SUBPIECEof a value.- Specified by:
subpiecein interfaceValGen<JitInputVar>- Parameters:
byteOffset- the number of least-significant bytes to removemaxByteSize- 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
-