|
LIEF: Library to Instrument Executable Formats Version 2.0.0
|
This class represents where the value of a variable or a parameter lives. It interfaces the DWARF location expression (DW_AT_location). More...
#include <Location.hpp>

Public Types | |
| enum class | Type : uint8_t { UNKNOWN = 0 , REG , ADDRESS , FRAME_BASE , REGISTER_OFFSET , EXPRESSION , UNAVAILABLE , COMPOSITE } |
Public Member Functions | |
| 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. | |
Public Attributes | |
| Type | type = Type::UNKNOWN |
This class represents where the value of a variable or a parameter lives. It interfaces the DWARF location expression (DW_AT_location).
|
strong |
|
inlineexplicit |
References type.
Referenced by LIEF::dwarf::AddressLoc::AddressLoc(), LIEF::dwarf::AddressLoc::classof(), LIEF::dwarf::CompositeLocation::classof(), LIEF::dwarf::ExpressionLoc::classof(), LIEF::dwarf::FrameBaseLoc::classof(), LIEF::dwarf::RegisterLoc::classof(), LIEF::dwarf::RegisterOffsetLoc::classof(), LIEF::dwarf::UnavailableLoc::classof(), LIEF::dwarf::CompositeLocation::CompositeLocation(), LIEF::dwarf::ExpressionLoc::ExpressionLoc(), LIEF::dwarf::FrameBaseLoc::FrameBaseLoc(), Location(), Location(), operator<<, operator=(), operator=(), LIEF::dwarf::RegisterLoc::RegisterLoc(), LIEF::dwarf::RegisterOffsetLoc::RegisterOffsetLoc(), LIEF::dwarf::UnavailableLoc::UnavailableLoc(), and ~Location().
|
default |
References Location().
|
defaultnoexcept |
References Location().
|
virtual |
References Location().
|
inline |
References as(), and LIEF_LIFETIMEBOUND.
Referenced by as().
References Location().
References Location().
| std::string LIEF::dwarf::Location::to_string | ( | ) | const |
Human-readable description of this location.
Referenced by operator<<.
| Type LIEF::dwarf::Location::type = Type::UNKNOWN |