LIEF: Library to Instrument Executable Formats Version 0.17.0
Loading...
Searching...
No Matches
LIEF::assembly::aarch64::operands::Immediate Class Reference

This class represents an immediate operand (i.e. a constant). More...

#include <Immediate.hpp>

Inheritance diagram for LIEF::assembly::aarch64::operands::Immediate:
Collaboration diagram for LIEF::assembly::aarch64::operands::Immediate:

Public Member Functions

int64_t value () const
 The constant value wrapped by this operand.
 ~Immediate () override=default
Public Member Functions inherited from LIEF::assembly::aarch64::Operand
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 ()

Static Public Member Functions

static bool classof (const Operand *op)

Detailed Description

This class represents an immediate operand (i.e. a constant).

For instance:

mov x0, #8;
|
+---> Immediate(8)

Constructor & Destructor Documentation

◆ ~Immediate()

LIEF::assembly::aarch64::operands::Immediate::~Immediate ( )
overridedefault

Member Function Documentation

◆ classof()

bool LIEF::assembly::aarch64::operands::Immediate::classof ( const Operand * op)
static

◆ value()

int64_t LIEF::assembly::aarch64::operands::Immediate::value ( ) const

The constant value wrapped by this operand.


The documentation for this class was generated from the following file: