Class ConstantTemplate
java.lang.Object
ghidra.app.plugin.processors.generic.ConstantTemplate
- All Implemented Interfaces:
Serializable
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
static final int
static final int
static final int
static final int
-
Constructor Summary
ConstructorDescriptionConstantTemplate
(int t) ConstantTemplate
(long val) ConstantTemplate
(Operand o, int sel1) Constructor ConstantTemplate.ConstantTemplate
(Operand o, int sel1, int sel2) -
Method Summary
-
Field Details
-
REAL
public static final int REAL- See Also:
-
HANDLE
public static final int HANDLE- See Also:
-
JUMP_START
public static final int JUMP_START- See Also:
-
JUMP_NEXT
public static final int JUMP_NEXT- See Also:
-
JUMP_CODESPACE
public static final int JUMP_CODESPACE- See Also:
-
-
Constructor Details
-
ConstantTemplate
public ConstantTemplate(long val) -
ConstantTemplate
public ConstantTemplate(int t) -
ConstantTemplate
-
ConstantTemplate
Constructor ConstantTemplate.- Parameters:
o
- the operandsel1
- the first selection- Throws:
SledException
-
-
Method Details
-
type
public int type() -
select1
public int select1() -
select2
public int select2() -
resolve
Method resolve.- Parameters:
position
- the position of the constant to resolveoff
- the offset of the constant- Returns:
- long
- Throws:
Exception
-
resolve
- Parameters:
handles
- optional map of handles to be used for resolving- Returns:
- long
- Throws:
Exception
- See Also:
-
operand
-
hashCode
public int hashCode() -
equals
-