Class BinaryExpression
java.lang.Object
ghidra.app.plugin.processors.generic.BinaryExpression
- All Implemented Interfaces:
- ExpressionValue,- OperandValue,- Serializable
- See Also:
- 
Field SummaryFields
- 
Constructor SummaryConstructorsConstructorDescriptionBinaryExpression(int op, ExpressionTerm l, ExpressionTerm r, AddressSpace c) 
- 
Method SummaryModifier 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_OPpublic static final int INVALID_OP- See Also:
 
- 
ADDpublic static final int ADD- See Also:
 
- 
SUBpublic static final int SUB- See Also:
 
- 
MULpublic static final int MUL- See Also:
 
- 
DIVpublic static final int DIV- See Also:
 
- 
EQpublic static final int EQ- See Also:
 
- 
ANDpublic static final int AND- See Also:
 
 
- 
- 
Constructor Details- 
BinaryExpressionpublic BinaryExpression(int op, ExpressionTerm l, ExpressionTerm r, AddressSpace c) throws SledException - Throws:
- SledException
 
 
- 
- 
Method Details- 
setSpace
- 
length- Specified by:
- lengthin interface- ExpressionValue
- Specified by:
- lengthin interface- OperandValue
- Throws:
- Exception
 
- 
getInfo- Specified by:
- getInfoin interface- OperandValue
- Throws:
- Exception
 
- 
longValue- Specified by:
- longValuein interface- ExpressionValue
- Throws:
- Exception
 
- 
toString- Specified by:
- toStringin interface- OperandValue
- Throws:
- Exception
 
- 
linkRelativeOffsetsMethod linkRelativeOffsets.- Parameters:
- opHash-
 
- 
getHandle- Specified by:
- getHandlein interface- OperandValue
- Parameters:
- position-
- off-
- Returns:
- Handle
- Throws:
- Exception
 
- 
getHandleDescription copied from interface:OperandValueMethod getHandle.- Specified by:
- getHandlein interface- OperandValue
- Parameters:
- pcode-
- position-
- off-
- Returns:
- Handle
- Throws:
- Exception
 
- 
getAllHandles- Specified by:
- getAllHandlesin interface- OperandValue
- Throws:
- Exception
 
- 
toListDescription copied from interface:OperandValueConstruct operand representation as a list of objects- Specified by:
- toListin interface- OperandValue
- Parameters:
- list- the list to fill
- position- the operand position
- off- the offset
- Throws:
- Exception
 
- 
getSizepublic 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 interface- OperandValue
 
 
-