|
LIEF: Library to Instrument Executable Formats Version 2.0.0
|
This class represents a DWARF parameter which can be either: More...
#include <Parameter.hpp>

Public Types | |
| enum class | KIND { UNKNOWN = 0 , TEMPLATE_TYPE , TEMPLATE_VALUE , FORMAL } |
| using | Location = dwarf::Location |
| Location of a parameter (see: dwarf::Location). | |
| using | RegisterLoc = dwarf::RegisterLoc |
| Register location of a parameter (see: dwarf::RegisterLoc). | |
| using | CompositeLocation = dwarf::CompositeLocation |
| Location of a parameter split across several pieces (see: dwarf::CompositeLocation). | |
Public Member Functions | |
| Parameter ()=delete | |
| Parameter (Parameter &&other) noexcept | |
| Parameter & | operator= (Parameter &&other) noexcept |
| Parameter & | operator= (const Parameter &)=delete |
| Parameter (const Parameter &)=delete | |
| KIND | kind () const |
| std::string_view | name () const |
| Name of the parameter. | |
| std::unique_ptr< Type > | type () const |
| Type of this parameter. | |
| std::unique_ptr< Location > | location () const |
| Location of this parameter. For instance it can be a specific register that is not following the calling convention. | |
| std::unique_ptr< Location > | location (uint64_t pc) const |
| Location of this parameter when the program counter is at the given address. | |
| std::vector< LocationEntry > | locations () const |
| All the location entries of this parameter. | |
| template<class T> | |
| const T * | as () const |
| virtual | ~Parameter () |
Static Public Member Functions | |
| static std::unique_ptr< Parameter > | create (std::unique_ptr< details::Parameter > impl) |
This class represents a DWARF parameter which can be either:
Location of a parameter split across several pieces (see: dwarf::CompositeLocation).
Location of a parameter (see: dwarf::Location).
Register location of a parameter (see: dwarf::RegisterLoc).
|
strong |
|
delete |
Referenced by create(), operator=(), operator=(), Parameter(), and Parameter().
|
noexcept |
References Parameter().
|
delete |
References Parameter().
|
virtual |
References LIEF_LOCAL.
|
inline |
|
static |
References Parameter().
| KIND LIEF::dwarf::Parameter::kind | ( | ) | const |
| std::unique_ptr< Location > LIEF::dwarf::Parameter::location | ( | ) | const |
Location of this parameter. For instance it can be a specific register that is not following the calling convention.
References location().
Referenced by location(), and location().
| std::unique_ptr< Location > LIEF::dwarf::Parameter::location | ( | uint64_t | pc | ) | const |
Location of this parameter when the program counter is at the given address.
References location().
| std::vector< LocationEntry > LIEF::dwarf::Parameter::locations | ( | ) | const |
| std::string_view LIEF::dwarf::Parameter::name | ( | ) | const |
Name of the parameter.
References LIEF_LIFETIMEBOUND.
References Parameter().
References Parameter().
| std::unique_ptr< Type > LIEF::dwarf::Parameter::type | ( | ) | const |