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

The value is located in memory relative to the (stack) frame base. More...

#include <Location.hpp>

Inheritance diagram for LIEF::dwarf::FrameBaseLoc:
Collaboration diagram for LIEF::dwarf::FrameBaseLoc:

Public Member Functions

 FrameBaseLoc (int64_t value)
 ~FrameBaseLoc () 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

int64_t offset = 0
 Signed byte offset from the frame base.
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 in memory relative to the (stack) frame base.

Constructor & Destructor Documentation

◆ FrameBaseLoc()

LIEF::dwarf::FrameBaseLoc::FrameBaseLoc ( int64_t value)
inlineexplicit

◆ ~FrameBaseLoc()

LIEF::dwarf::FrameBaseLoc::~FrameBaseLoc ( )
override

Member Function Documentation

◆ classof()

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

Member Data Documentation

◆ offset

int64_t LIEF::dwarf::FrameBaseLoc::offset = 0

Signed byte offset from the frame base.

Referenced by FrameBaseLoc().


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