|
LIEF: Library to Instrument Executable Formats Version 2.0.0
|
The value is split into several pieces (DW_OP_piece/DW_OP_bit_piece), each one with its own location. More...
#include <Location.hpp>


Classes | |
| struct | Piece |
| A piece of a composite location. More... | |
Public Member Functions | |
| CompositeLocation () | |
| CompositeLocation (const CompositeLocation &)=delete | |
| CompositeLocation & | operator= (const CompositeLocation &)=delete |
| CompositeLocation (CompositeLocation &&) noexcept=default | |
| CompositeLocation & | operator= (CompositeLocation &&) noexcept=default |
| ~CompositeLocation () 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 | |
| std::vector< Piece > | pieces |
| The pieces of this location, ordered by their bit offset. | |
| 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 } |
The value is split into several pieces (DW_OP_piece/DW_OP_bit_piece), each one with its own location.
For instance, a 16-bytes structure passed in the rdi and rsi registers is described with two 8-bytes pieces.
|
inline |
References LIEF::dwarf::Location::Location().
Referenced by CompositeLocation(), CompositeLocation(), operator=(), and operator=().
|
delete |
References CompositeLocation().
|
defaultnoexcept |
References CompositeLocation().
|
override |
|
inlinestatic |
References classof(), LIEF::dwarf::Location::COMPOSITE, and LIEF::dwarf::Location::Location().
Referenced by classof().
|
defaultnoexcept |
References CompositeLocation().
|
delete |
References CompositeLocation().
| std::vector<Piece> LIEF::dwarf::CompositeLocation::pieces |
The pieces of this location, ordered by their bit offset.