Class VarnodeTemplate
- java.lang.Object
-
- ghidra.app.plugin.processors.generic.VarnodeTemplate
-
- All Implemented Interfaces:
java.io.Serializable
public class VarnodeTemplate extends java.lang.Object implements java.io.Serializable
To change this generated comment edit the template variable "typecomment": Window>Preferences>Java>Templates. To enable and disable the creation of type comments go to Window>Preferences>Java>Code Generation.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description VarnodeTemplate(ConstantTemplate space, ConstantTemplate offset, ConstantTemplate size, AddressFactory addressFactory, boolean ou)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
int
hashCode()
boolean
loadomit()
ConstantTemplate
offset()
boolean
oneuse()
Varnode
resolve(Position position, int bufoff)
Varnode
resolve(java.util.HashMap<java.lang.Object,Handle> handles, Position position, int bufoff)
Method resolve.void
setDef(OpTemplate opTemplate)
Method setDef.void
setReplace(Operand op, boolean load)
ConstantTemplate
size()
ConstantTemplate
space()
-
-
-
Constructor Detail
-
VarnodeTemplate
public VarnodeTemplate(ConstantTemplate space, ConstantTemplate offset, ConstantTemplate size, AddressFactory addressFactory, boolean ou)
-
-
Method Detail
-
setDef
public void setDef(OpTemplate opTemplate)
Method setDef.- Parameters:
opTemplate
-
-
resolve
public Varnode resolve(java.util.HashMap<java.lang.Object,Handle> handles, Position position, int bufoff) throws java.lang.Exception
Method resolve.- Parameters:
handles
-- Returns:
- Varnode
- Throws:
java.lang.Exception
-
resolve
public Varnode resolve(Position position, int bufoff) throws java.lang.Exception
- Parameters:
position
-off
-- Returns:
- Varnode
- Throws:
java.lang.Exception
-
oneuse
public boolean oneuse()
-
space
public ConstantTemplate space()
-
offset
public ConstantTemplate offset()
-
size
public ConstantTemplate size()
-
setReplace
public void setReplace(Operand op, boolean load)
-
loadomit
public boolean loadomit()
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
-