LIEF: Library to Instrument Executable Formats Version 2.0.0
Loading...
Searching...
No Matches
LIEF::dwarf::AddressLoc Class Reference

The value is located at a fixed memory address (e.g. DW_OP_addr). More...

#include <Location.hpp>

Inheritance diagram for LIEF::dwarf::AddressLoc:
Collaboration diagram for LIEF::dwarf::AddressLoc:

Public Member Functions

 AddressLoc (uint64_t value)
 ~AddressLoc () override
Public Member Functions inherited from LIEF::dwarf::Location
 Location (Type ty)
 Location (const Location &)=default
Location & operator= (const Location &)=default
 Location (Location &&) noexcept=default
Location & operator= (Location &&) noexcept=default
virtual ~Location ()
template<class T>
const T * as () const
std::string to_string () const
 Human-readable description of this location.

Static Public Member Functions

static bool classof (const Location *loc)

Public Attributes

uint64_t address = 0
 Memory address where the value is located.
Public Attributes inherited from LIEF::dwarf::Location
Type type = Type::UNKNOWN

Additional Inherited Members

Public Types inherited from LIEF::dwarf::Location
enum class  Type : uint8_t {
  UNKNOWN = 0 , REG , ADDRESS , FRAME_BASE ,
  REGISTER_OFFSET , EXPRESSION , UNAVAILABLE , COMPOSITE
}

Detailed Description

The value is located at a fixed memory address (e.g. DW_OP_addr).

Constructor & Destructor Documentation

◆ AddressLoc()

LIEF::dwarf::AddressLoc::AddressLoc ( uint64_t value)
inlineexplicit

◆ ~AddressLoc()

LIEF::dwarf::AddressLoc::~AddressLoc ( )
override

Member Function Documentation

◆ classof()

bool LIEF::dwarf::AddressLoc::classof ( const Location * loc)
inlinestatic

Member Data Documentation

◆ address

uint64_t LIEF::dwarf::AddressLoc::address = 0

Memory address where the value is located.

Referenced by AddressLoc().


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