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

This class represents a register operand. More...

#include <Register.hpp>

Inheritance diagram for LIEF::assembly::x86::operands::Register:
Collaboration diagram for LIEF::assembly::x86::operands::Register:

Public Member Functions

REG value () const
 The effective REG wrapped by this operand.
 
 ~Register () override=default
 
- Public Member Functions inherited from LIEF::assembly::x86::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 a register operand.

For instance:

mov r15d, edi
| |
| +---------> Register(EDI)
|
+---------------> Register(R15D)

Constructor & Destructor Documentation

◆ ~Register()

LIEF::assembly::x86::operands::Register::~Register ( )
overridedefault

Member Function Documentation

◆ classof()

static bool LIEF::assembly::x86::operands::Register::classof ( const Operand * op)
static

◆ value()

REG LIEF::assembly::x86::operands::Register::value ( ) const

The effective REG wrapped by this operand.


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