List of all members.
Detailed Description
This class provides a few helper functions which are very useful while working with REIL code.
Member Function Documentation
static boolean com.google.security.zynamics.binnavi.API.reil.ReilHelpers.isFunctionCall |
( |
final ReilInstruction |
instruction |
) |
[static] |
Determines whether a given REIL instruction is a function call.
- Parameters:
-
| instruction | The instruction to check. |
- Returns:
- True, if the instruction is a function call. False, otherwise.
static boolean com.google.security.zynamics.binnavi.API.reil.ReilHelpers.isNativeRegister |
( |
final ReilOperand |
operand |
) |
[static] |
Determines whether a given operand is a native register.
- Parameters:
-
| operand | The value to check. |
- Returns:
- True, if the operand is a native register. False, otherwise.
static boolean com.google.security.zynamics.binnavi.API.reil.ReilHelpers.isRegister |
( |
final ReilOperand |
operand |
) |
[static] |
Determines whether a given REIL operand is a register.
- Parameters:
-
| operand | The REIL operand to check. |
- Returns:
- True, if the operand is a register operand. False, otherwise.
static boolean com.google.security.zynamics.binnavi.API.reil.ReilHelpers.isReilRegister |
( |
final ReilOperand |
operand |
) |
[static] |
Determines whether a given operand is a REIL register.
- Parameters:
-
| operand | The operand to check. |
- Returns:
- True, if the operand is a REIL register. False, otherwise.
static boolean com.google.security.zynamics.binnavi.API.reil.ReilHelpers.isReilRegister |
( |
final String |
value |
) |
[static] |
Determines whether a given string value is a REIL register.
- Parameters:
-
| value | The string value to check. |
- Returns:
- True, if the string value is a REIL register. False, otherwise.
static boolean com.google.security.zynamics.binnavi.API.reil.ReilHelpers.isTernaryInstruction |
( |
final ReilInstruction |
instruction |
) |
[static] |
Determines whether a given REIL instruction is one of the ternary instructions that use all of their operands.
- Parameters:
-
| instruction | The REIL instruction to check. |
- Returns:
- True, if the instruction is a ternary instruction. False, otherwise.
static boolean com.google.security.zynamics.binnavi.API.reil.ReilHelpers.isUnconditionalJump |
( |
final ReilInstruction |
instruction |
) |
[static] |
Determines whether a given REIL instruction is an unconditional jump instruction.
- Parameters:
-
| instruction | The REIL instruction to check. |
- Returns:
- True, if the REIL instruction is an unconditional jump instruction. False, otherwise.
static Address com.google.security.zynamics.binnavi.API.reil.ReilHelpers.toNativeAddress |
( |
final Address |
address |
) |
[static] |
Converts a REIL address to a native address by getting rid of the lowest 8 bits of the REIL input address.
- Parameters:
-
- Returns:
- A native address.
static Address com.google.security.zynamics.binnavi.API.reil.ReilHelpers.toReilAddress |
( |
final Address |
address |
) |
[static] |
Converts a native address to a REIL address by multiplying the native address by 0x100.
- Parameters:
-
| address | A native address. |
- Returns:
- A REIL address.