Class BinaryExpression
java.lang.Object
ghidra.app.plugin.processors.generic.BinaryExpression
- All Implemented Interfaces:
ExpressionValue,OperandValue,Serializable
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionBinaryExpression(int op, ExpressionTerm l, ExpressionTerm r, AddressSpace c) -
Method Summary
Modifier and TypeMethodDescriptionvoidgetAllHandles(ArrayList<Handle> handles, Position position, int off) Method getHandle.intgetSize()Get the size in bits of the value used in the instruction to create this value.intvoidlinkRelativeOffsets(Hashtable<String, Operand> opHash) Method linkRelativeOffsets.longvoidsetSpace(AddressSpace space) voidConstruct operand representation as a list of objects
-
Field Details
-
INVALID_OP
public static final int INVALID_OP- See Also:
-
ADD
public static final int ADD- See Also:
-
SUB
public static final int SUB- See Also:
-
MUL
public static final int MUL- See Also:
-
DIV
public static final int DIV- See Also:
-
EQ
public static final int EQ- See Also:
-
AND
public static final int AND- See Also:
-
-
Constructor Details
-
BinaryExpression
public BinaryExpression(int op, ExpressionTerm l, ExpressionTerm r, AddressSpace c) throws SledException - Throws:
SledException
-
-
Method Details
-
setSpace
-
length
- Specified by:
lengthin interfaceExpressionValue- Specified by:
lengthin interfaceOperandValue- Throws:
Exception
-
getInfo
- Specified by:
getInfoin interfaceOperandValue- Throws:
Exception
-
longValue
- Specified by:
longValuein interfaceExpressionValue- Throws:
Exception
-
toString
- Specified by:
toStringin interfaceOperandValue- Throws:
Exception
-
linkRelativeOffsets
Method linkRelativeOffsets.- Parameters:
opHash-
-
getHandle
- Specified by:
getHandlein interfaceOperandValue- Parameters:
position-off-- Returns:
- Handle
- Throws:
Exception
-
getHandle
Description copied from interface:OperandValueMethod getHandle.- Specified by:
getHandlein interfaceOperandValue- Parameters:
pcode-position-off-- Returns:
- Handle
- Throws:
Exception
-
getAllHandles
- Specified by:
getAllHandlesin interfaceOperandValue- Throws:
Exception
-
toList
Description copied from interface:OperandValueConstruct operand representation as a list of objects- Specified by:
toListin interfaceOperandValue- Parameters:
list- the list to fillposition- the operand positionoff- the offset- Throws:
Exception
-
getSize
public int getSize()Description copied from interface:OperandValueGet the size in bits of the value used in the instruction to create this value.- Specified by:
getSizein interfaceOperandValue
-