Inherits com::google::security::zynamics::binnavi::APIHelpers::ApiObject< INaviOperandTreeNode >.
List of all members.
Detailed Description
An operand expression is a single, atomic part of an operand tree. Examples for operand expressions are registers, literal values, arithmetic operator like + and *, or size prefixes.
Member Function Documentation
void com.google.security.zynamics.binnavi.API.disassembly.OperandExpression.addListener |
( |
final IOperandExpressionListener |
listener |
) |
|
Adds an object that is notified about changes in the operand expression.
- Parameters:
-
| listener | The listener object that is notified about changes in the operand expression. |
- Exceptions:
-
| IllegalArgumentException | Thrown if the listener argument is null. |
| IllegalStateException | Thrown if the listener object is already listening on the operand expression. |
This method can be used to add new code or data references to operand expressions.
- Parameters:
-
| address | The target address of the new reference. |
| type | The type of the new reference. |
- Returns:
- The created reference.
- Exceptions:
-
Creates a new operand expression.
- Parameters:
-
| module | The module the operand expression belongs to. |
| value | The value of the operand expression. |
| type | The type of the operand expression. |
- Returns:
- The created operand expression.
Permanently deletes a code or data reference from this operand expression.
- Parameters:
-
| reference | The reference to delete. |
- Exceptions:
-
List<OperandExpression> com.google.security.zynamics.binnavi.API.disassembly.OperandExpression.getChildren |
( |
|
) |
|
Returns the child expressions of the operand expression.
- Returns:
- The child expressions of the operand expression.
OperandExpression com.google.security.zynamics.binnavi.API.disassembly.OperandExpression.getParent |
( |
|
) |
|
Returns the parent expression of the operand expression. If this expression is null, the operand expression is a root node in its operand tree.
- Returns:
- The parent expression of the operand expression or null if the operand expression is a root node.
List<Reference> com.google.security.zynamics.binnavi.API.disassembly.OperandExpression.getReferences |
( |
|
) |
|
Returns the reference objects associated with this operand expression.
- Returns:
- The reference objects associated with the operand expression.
String com.google.security.zynamics.binnavi.API.disassembly.OperandExpression.getReplacement |
( |
|
) |
|
Returns the replacement value of the operand expression. This is the value that is shown in views instead of the original value of the expression. If an operand expression has no replacement, null is returned.
- Returns:
- The replacement of the operand expression or null.
ExpressionType com.google.security.zynamics.binnavi.API.disassembly.OperandExpression.getType |
( |
|
) |
|
Returns the type of the operand expression.
- Returns:
- The type of the operand expression.
String com.google.security.zynamics.binnavi.API.disassembly.OperandExpression.getValue |
( |
|
) |
|
Returns the string value of the operand expression.
- Returns:
- The string value of the operand expression.
void com.google.security.zynamics.binnavi.API.disassembly.OperandExpression.removeListener |
( |
final IOperandExpressionListener |
listener |
) |
|
Removes a listener object from the operand expression.
- Parameters:
-
| listener | The listener object to remove from the operand expression. |
- Exceptions:
-
| IllegalArgumentException | Thrown if the listener argument is null. |
| IllegalStateException | Thrown if the listener object was not listening on the operand expression. |
String com.google.security.zynamics.binnavi.API.disassembly.OperandExpression.toString |
( |
|
) |
|
Returns the string representation of the operand expression.
- Returns:
- The string representation of the operand expression.