LIEF: Library to Instrument Executable Formats Version 0.16.0
|
This class represents an assembly instruction. More...
#include <Instruction.hpp>
Classes | |
class | Iterator |
Public Member Functions | |
virtual | ~Instruction () |
uint64_t | address () const |
Address of the instruction. | |
size_t | size () const |
Size of the instruction in bytes. | |
const std::vector< uint8_t > & | raw () const |
Raw bytes of the current instruction. | |
std::string | mnemonic () const |
Instruction mnemonic (e.g. br ) | |
std::string | to_string () const |
Representation of the current instruction in a pretty assembly way. | |
This class represents an assembly instruction.
|
virtual |
uint64_t LIEF::assembly::Instruction::address | ( | ) | const |
Address of the instruction.
std::string LIEF::assembly::Instruction::mnemonic | ( | ) | const |
Instruction mnemonic (e.g. br
)
const std::vector< uint8_t > & LIEF::assembly::Instruction::raw | ( | ) | const |
Raw bytes of the current instruction.
size_t LIEF::assembly::Instruction::size | ( | ) | const |
Size of the instruction in bytes.
std::string LIEF::assembly::Instruction::to_string | ( | ) | const |
Representation of the current instruction in a pretty assembly way.
Referenced by operator<<.