Single REIL instruction. More...
Inherits BinNavi::APIHelpers::ApiObject< com.zynamics.reil.ReilInstruction >.
Public Member Functions | |
| Address | getAddress () |
| Address of the instruction. | |
| ReilOperand | getFirstOperand () |
| First operand of the instruction. | |
| Map< String, String > | getMetaData () |
| Metadata of the instruction. | |
| String | getMnemonic () |
| Mnemonic of the instruction. | |
| ReilOperand | getSecondOperand () |
| Second operand of the instruction. | |
| ReilOperand | getThirdOperand () |
| Third operand of the instruction. | |
| ReilInstruction (final Address address, final String mnemonic, final ReilOperand firstOperand, final ReilOperand secondOperand, final ReilOperand thirdOperand) | |
| Creates a new REIL instruction. | |
| void | setMetaData (final String key, final String value) |
| Sets meta-data information of the REIL instruction. | |
| String | toString () |
| Printable representation of the instruction. | |
Static Public Member Functions | |
| static ReilInstruction | createAdd (final Address address, final ReilOperand firstOperand, final ReilOperand secondOperand, final ReilOperand thirdOperand) |
| Creates a new ADD instruction. | |
| static ReilInstruction | createAnd (final Address address, final ReilOperand firstOperand, final ReilOperand secondOperand, final ReilOperand thirdOperand) |
| Creates a new AND instruction. | |
| static ReilInstruction | createBisz (final Address address, final ReilOperand inputValue, final ReilOperand outputValue) |
| Creates a new BISZ instruction. | |
| static ReilInstruction | createBsh (final Address address, final ReilOperand firstOperand, final ReilOperand secondOperand, final ReilOperand thirdOperand) |
| Creates a new BSH instruction. | |
| static ReilInstruction | createDiv (final Address address, final ReilOperand firstOperand, final ReilOperand secondOperand, final ReilOperand thirdOperand) |
| Creates a new DIV instruction. | |
| static ReilInstruction | createJcc (final Address address, final ReilOperand jumpCondition, final ReilOperand jumpTarget) |
| Creates a new JCC instruction. | |
| static ReilInstruction | createLdm (final Address address, final ReilOperand loadSource, final ReilOperand loadTarget) |
| Creates a new LDM instruction. | |
| static ReilInstruction | createMod (final Address address, final ReilOperand firstOperand, final ReilOperand secondOperand, final ReilOperand thirdOperand) |
| Creates a new MOD instruction. | |
| static ReilInstruction | createMul (final Address address, final ReilOperand firstOperand, final ReilOperand secondOperand, final ReilOperand thirdOperand) |
| Creates a new MUL instruction. | |
| static ReilInstruction | createNop (final Address address) |
| Creates a new NOP instruction. | |
| static ReilInstruction | createOr (final Address address, final ReilOperand firstOperand, final ReilOperand secondOperand, final ReilOperand thirdOperand) |
| Creates a new OR instruction. | |
| static ReilInstruction | createStm (final Address address, final ReilOperand storeValue, final ReilOperand storeTarget) |
| Creates a new STM instruction. | |
| static ReilInstruction | createStr (final Address address, final ReilOperand storeValue, final ReilOperand storeTarget) |
| Creates a new STR instruction. | |
| static ReilInstruction | createSub (final Address address, final ReilOperand firstOperand, final ReilOperand secondOperand, final ReilOperand thirdOperand) |
| Creates a new SUB instruction. | |
| static ReilInstruction | createUndef (final Address address) |
| Creates a new UNDEF instruction. | |
| static ReilInstruction | createUnknown (final Address address) |
| Creates a new UNKNOWN instruction. | |
| static ReilInstruction | createXor (final Address address, final ReilOperand firstOperand, final ReilOperand secondOperand, final ReilOperand thirdOperand) |
| Creates a new XOR instruction. | |
Represents a single REIL instruction.
| BinNavi.API.reil.ReilInstruction.ReilInstruction | ( | final Address | address, | |
| final String | mnemonic, | |||
| final ReilOperand | firstOperand, | |||
| final ReilOperand | secondOperand, | |||
| final ReilOperand | thirdOperand | |||
| ) |
Creates a new REIL instruction.
| address | Address of the new REIL instruction. | |
| mnemonic | Mnemonic of the new REIL instruction. In most cases this is one of the constants found in ReilMnemonics. | |
| firstOperand | First operand of the new REIL instruction. | |
| secondOperand | Second operand of the new REIL instruction. | |
| thirdOperand | Third operand of the new REIL instruction. |
| static ReilInstruction BinNavi.API.reil.ReilInstruction.createAdd | ( | final Address | address, | |
| final ReilOperand | firstOperand, | |||
| final ReilOperand | secondOperand, | |||
| final ReilOperand | thirdOperand | |||
| ) | [static] |
Creates a new ADD instruction.
| address | Address of the ADD instruction. | |
| firstOperand | First operand of the ADD instruction. | |
| secondOperand | Second operand of the ADD instruction. | |
| thirdOperand | Third operand of the ADD instruction. |
| static ReilInstruction BinNavi.API.reil.ReilInstruction.createAnd | ( | final Address | address, | |
| final ReilOperand | firstOperand, | |||
| final ReilOperand | secondOperand, | |||
| final ReilOperand | thirdOperand | |||
| ) | [static] |
Creates a new AND instruction.
| address | Address of the AND instruction. | |
| firstOperand | First operand of the AND instruction. | |
| secondOperand | Second operand of the AND instruction. | |
| thirdOperand | Third operand of the AND instruction. |
| static ReilInstruction BinNavi.API.reil.ReilInstruction.createBisz | ( | final Address | address, | |
| final ReilOperand | inputValue, | |||
| final ReilOperand | outputValue | |||
| ) | [static] |
Creates a new BISZ instruction.
| address | Address of the BISZ instruction. | |
| inputValue | The input value of the BISZ instruction. | |
| outputValue | The output value of the BISZ instruction. |
| static ReilInstruction BinNavi.API.reil.ReilInstruction.createBsh | ( | final Address | address, | |
| final ReilOperand | firstOperand, | |||
| final ReilOperand | secondOperand, | |||
| final ReilOperand | thirdOperand | |||
| ) | [static] |
Creates a new BSH instruction.
| address | Address of the BSH instruction. | |
| firstOperand | First operand of the BSH instruction. | |
| secondOperand | Second operand of the BSH instruction. | |
| thirdOperand | Third operand of the BSH instruction. |
| static ReilInstruction BinNavi.API.reil.ReilInstruction.createDiv | ( | final Address | address, | |
| final ReilOperand | firstOperand, | |||
| final ReilOperand | secondOperand, | |||
| final ReilOperand | thirdOperand | |||
| ) | [static] |
Creates a new DIV instruction.
| address | Address of the DIV instruction. | |
| firstOperand | First operand of the DIV instruction. | |
| secondOperand | Second operand of the DIV instruction. | |
| thirdOperand | Third operand of the DIV instruction. |
| static ReilInstruction BinNavi.API.reil.ReilInstruction.createJcc | ( | final Address | address, | |
| final ReilOperand | jumpCondition, | |||
| final ReilOperand | jumpTarget | |||
| ) | [static] |
Creates a new JCC instruction.
| address | Address of the JCC instruction. | |
| jumpCondition | Describes the jump condition of the JCC instruction. | |
| jumpTarget | Describes the jump target of the JCC instruction. |
| static ReilInstruction BinNavi.API.reil.ReilInstruction.createLdm | ( | final Address | address, | |
| final ReilOperand | loadSource, | |||
| final ReilOperand | loadTarget | |||
| ) | [static] |
Creates a new LDM instruction.
| address | Address of the LDM instruction. | |
| loadSource | Describes the memory address from which the LDM instruction reads. | |
| loadTarget | Describes the target register where the loaded value is stored. |
| static ReilInstruction BinNavi.API.reil.ReilInstruction.createMod | ( | final Address | address, | |
| final ReilOperand | firstOperand, | |||
| final ReilOperand | secondOperand, | |||
| final ReilOperand | thirdOperand | |||
| ) | [static] |
Creates a new MOD instruction.
| address | Address of the MOD instruction. | |
| firstOperand | First operand of the MOD instruction. | |
| secondOperand | Second operand of the MOD instruction. | |
| thirdOperand | Third operand of the MOD instruction. |
| static ReilInstruction BinNavi.API.reil.ReilInstruction.createMul | ( | final Address | address, | |
| final ReilOperand | firstOperand, | |||
| final ReilOperand | secondOperand, | |||
| final ReilOperand | thirdOperand | |||
| ) | [static] |
Creates a new MUL instruction.
| address | Address of the MUL instruction. | |
| firstOperand | First operand of the MUL instruction. | |
| secondOperand | Second operand of the MUL instruction. | |
| thirdOperand | Third operand of the MUL instruction. |
| static ReilInstruction BinNavi.API.reil.ReilInstruction.createNop | ( | final Address | address | ) | [static] |
Creates a new NOP instruction.
| address | Address of the NOP instruction. |
| static ReilInstruction BinNavi.API.reil.ReilInstruction.createOr | ( | final Address | address, | |
| final ReilOperand | firstOperand, | |||
| final ReilOperand | secondOperand, | |||
| final ReilOperand | thirdOperand | |||
| ) | [static] |
Creates a new OR instruction.
| address | Address of the OR instruction. | |
| firstOperand | First operand of the OR instruction. | |
| secondOperand | Second operand of the OR instruction. | |
| thirdOperand | Third operand of the OR instruction. |
| static ReilInstruction BinNavi.API.reil.ReilInstruction.createStm | ( | final Address | address, | |
| final ReilOperand | storeValue, | |||
| final ReilOperand | storeTarget | |||
| ) | [static] |
Creates a new STM instruction.
| address | Address of the STM instruction. | |
| storeValue | Describes the value that is stored by the STM instruction. | |
| storeTarget | Describes the memory address where the value is stored. |
| static ReilInstruction BinNavi.API.reil.ReilInstruction.createStr | ( | final Address | address, | |
| final ReilOperand | storeValue, | |||
| final ReilOperand | storeTarget | |||
| ) | [static] |
Creates a new STR instruction.
| address | Address of the STR instruction. | |
| storeValue | Describes the value that is stored by the STR instruction. | |
| storeTarget | Describes the register where the value is stored. |
| static ReilInstruction BinNavi.API.reil.ReilInstruction.createSub | ( | final Address | address, | |
| final ReilOperand | firstOperand, | |||
| final ReilOperand | secondOperand, | |||
| final ReilOperand | thirdOperand | |||
| ) | [static] |
Creates a new SUB instruction.
| address | Address of the SUB instruction. | |
| firstOperand | First operand of the SUB instruction. | |
| secondOperand | Second operand of the SUB instruction. | |
| thirdOperand | Third operand of the SUB instruction. |
| static ReilInstruction BinNavi.API.reil.ReilInstruction.createUndef | ( | final Address | address | ) | [static] |
Creates a new UNDEF instruction.
| address | Address of the UNDEF instruction. |
| static ReilInstruction BinNavi.API.reil.ReilInstruction.createUnknown | ( | final Address | address | ) | [static] |
Creates a new UNKNOWN instruction.
| address | Address of the UNKNOWN instruction. |
| static ReilInstruction BinNavi.API.reil.ReilInstruction.createXor | ( | final Address | address, | |
| final ReilOperand | firstOperand, | |||
| final ReilOperand | secondOperand, | |||
| final ReilOperand | thirdOperand | |||
| ) | [static] |
Creates a new XOR instruction.
| address | Address of the XOR instruction. | |
| firstOperand | First operand of the XOR instruction. | |
| secondOperand | Second operand of the XOR instruction. | |
| thirdOperand | Third operand of the XOR instruction. |
| Address BinNavi.API.reil.ReilInstruction.getAddress | ( | ) |
Returns the address of the REIL instruction.
| ReilOperand BinNavi.API.reil.ReilInstruction.getFirstOperand | ( | ) |
Returns the first operand of the REIL instruction.
| Map<String, String> BinNavi.API.reil.ReilInstruction.getMetaData | ( | ) |
Returns a map that contains all meta-information associated with the instruction.
| String BinNavi.API.reil.ReilInstruction.getMnemonic | ( | ) |
Returns the mnemonic of the REIL instruction.
| ReilOperand BinNavi.API.reil.ReilInstruction.getSecondOperand | ( | ) |
Returns the second operand of the REIL instruction.
| ReilOperand BinNavi.API.reil.ReilInstruction.getThirdOperand | ( | ) |
Returns the third operand of the REIL instruction.
| void BinNavi.API.reil.ReilInstruction.setMetaData | ( | final String | key, | |
| final String | value | |||
| ) |
Sets meta-data information of the REIL instruction.
| key | They key of the piece of meta-data to set. | |
| value | The value of the piece of meta-data. If this value is null, the key is removed from the meta-data set. |
| String BinNavi.API.reil.ReilInstruction.toString | ( | ) |
Returns the string representation of the REIL instruction.
1.7.1