|
LIEF: Library to Instrument Executable Formats Version 2.0.0
|
This class represents a regular function parameter. More...
#include <Parameter.hpp>


Public Member Functions | |
| ~Formal () override=default | |
| Parameter ()=delete | |
| Parameter (Parameter &&other) noexcept | |
| Parameter (const Parameter &)=delete | |
| Public Member Functions inherited from LIEF::dwarf::Parameter | |
| 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 bool | classof (const Parameter *P) |
| Static Public Member Functions inherited from LIEF::dwarf::Parameter | |
| static std::unique_ptr< Parameter > | create (std::unique_ptr< details::Parameter > impl) |
Additional Inherited Members | |
| Public Types inherited from LIEF::dwarf::Parameter | |
| 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). | |
This class represents a regular function parameter.
For instance, given this prototype:
The function main has two parameters::Formal parameters:
|
overridedefault |
|
inlinestatic |
References LIEF::dwarf::Parameter::FORMAL, and Parameter().
|
delete |
Referenced by classof().
|
delete |
|
noexcept |