Package ghidra.pcode.emu.jit.gen.var
Record Class SubLocalOutVarGen
java.lang.Object
java.lang.Record
ghidra.pcode.emu.jit.gen.var.SubLocalOutVarGen
- Record Components:
byteOffset- the number of bytes to the right of the subpiecemaxByteSize- the size of the subpiece
- All Implemented Interfaces:
LocalOutVarGen,LocalVarGen<JitLocalOutVar>,SubLocalVarGen<JitLocalOutVar>,ValGen<JitLocalOutVar>,VarGen<JitLocalOutVar>
public record SubLocalOutVarGen(int byteOffset, int maxByteSize)
extends Record
implements SubLocalVarGen<JitLocalOutVar>, LocalOutVarGen
The generator for a subpiece of a local variable that is defined within the passage.
-
Nested Class Summary
Nested classes/interfaces inherited from interface ghidra.pcode.emu.jit.gen.var.VarGen
VarGen.BlockTransition<THIS extends JitCompiledPassage> -
Constructor Summary
ConstructorsConstructorDescriptionSubLocalOutVarGen(int byteOffset, int maxByteSize) Creates an instance of aSubLocalOutVarGenrecord class. -
Method Summary
Modifier and TypeMethodDescriptionintReturns the value of thebyteOffsetrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.intReturns the value of themaxByteSizerecord component.final StringtoString()Returns a string representation of this record class.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface ghidra.pcode.emu.jit.gen.var.LocalOutVarGen
genWriteFromArray, genWriteFromOpnd, genWriteFromStackMethods inherited from interface ghidra.pcode.emu.jit.gen.var.LocalVarGen
genReadLegToStack, genReadToArray, genReadToBool, genReadToOpnd, genReadToStack, genValInitMethods inherited from interface ghidra.pcode.emu.jit.gen.var.SubLocalVarGen
getHandler, subpiece
-
Constructor Details
-
SubLocalOutVarGen
public SubLocalOutVarGen(int byteOffset, int maxByteSize) Creates an instance of aSubLocalOutVarGenrecord class.- Parameters:
byteOffset- the value for thebyteOffsetrecord componentmaxByteSize- the value for themaxByteSizerecord component
-
-
Method Details
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared with '=='. -
byteOffset
public int byteOffset()Returns the value of thebyteOffsetrecord component.- Specified by:
byteOffsetin interfaceSubLocalVarGen<JitLocalOutVar>- Returns:
- the value of the
byteOffsetrecord component
-
maxByteSize
public int maxByteSize()Returns the value of themaxByteSizerecord component.- Specified by:
maxByteSizein interfaceSubLocalVarGen<JitLocalOutVar>- Returns:
- the value of the
maxByteSizerecord component
-