Package ghidra.pcode.emu.jit.var
Class AbstractJitVal
java.lang.Object
ghidra.pcode.emu.jit.var.AbstractJitVal
- All Implemented Interfaces:
JitVal
- Direct Known Subclasses:
AbstractJitVar,JitConstVal
An abstract implementation of
JitVal.-
Nested Class Summary
Nested classes/interfaces inherited from interface ghidra.pcode.emu.jit.var.JitVal
JitVal.ValUse -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
size
protected final int size -
uses
-
-
Constructor Details
-
AbstractJitVal
public AbstractJitVal(int size) Construct a value of the given size.- Parameters:
size- the size in bytes
-
-
Method Details
-
size
public int size()Description copied from interface:JitValThe size in bytes. -
uses
Description copied from interface:JitValThe list of uses. -
addUse
Description copied from interface:JitValAdd a use.In most cases, uses should be final, once this value node has been entered into the use-def graph. An exception deals with
phinodes, as this analysis occurs after each intra-block portion of the graph has been constructed. During inter-block analysis, additional uses will get recorded. Even further uses may be recorded udingop-useanalysis, since it may generate morephinodes. -
removeUse
Description copied from interface:JitValRemove a use.- Specified by:
removeUsein interfaceJitVal- Parameters:
op- as inJitVal.addUse(JitOp, int)position- as inJitVal.addUse(JitOp, int)- See Also:
-