This class represents an operand for an AArch64 instruction.
More...
#include <Operand.hpp>
|
std::string | to_string () const |
| Pretty representation of the operand.
|
|
template<class T > |
const T * | as () const |
| This function can be used to down cast an Operand instance:
|
|
virtual | ~Operand () |
|
This class represents an operand for an AArch64 instruction.
◆ ~Operand()
virtual LIEF::assembly::aarch64::Operand::~Operand |
( |
| ) |
|
|
virtual |
◆ as()
template<class T >
const T * LIEF::assembly::aarch64::Operand::as |
( |
| ) |
const |
|
inline |
This function can be used to down cast an Operand instance:
std::unique_ptr<assembly::aarch64::Operand> op = ...;
if (const auto* imm = inst->as<assembly::aarch64::operands::Immediate>()) {
const int64_t value = imm->value();
}
◆ to_string()
std::string LIEF::assembly::aarch64::Operand::to_string |
( |
| ) |
const |
Pretty representation of the operand.
Referenced by operator<<.
The documentation for this class was generated from the following file: