LIEF: Library to Instrument Executable Formats Version 1.0.0
|
This class mirrors the DW_TAG_lexical_block DWARF tag. More...
#include <Function.hpp>
Public Member Functions | |
LexicalBlock ()=delete | |
LexicalBlock (std::unique_ptr< details::FunctionLexicalBlock > impl) | |
std::unique_ptr< LexicalBlock > | add_block (uint64_t start, uint64_t end) |
Create a sub-block with the given low/high addresses. | |
std::unique_ptr< LexicalBlock > | add_block (const std::vector< range_t > &range) |
Create a sub-block with the given range of addresses. | |
LexicalBlock & | add_description (const std::string &description) |
Create a DW_AT_description entry with the description provided in parameter. | |
LexicalBlock & | add_name (const std::string &name) |
Create a DW_AT_name entry to associate a name to this entry. | |
~LexicalBlock () |
This class mirrors the DW_TAG_lexical_block DWARF tag.
|
delete |
Referenced by add_description(), and add_name().
LIEF::dwarf::editor::Function::LexicalBlock::LexicalBlock | ( | std::unique_ptr< details::FunctionLexicalBlock > | impl | ) |
LIEF::dwarf::editor::Function::LexicalBlock::~LexicalBlock | ( | ) |
std::unique_ptr< LexicalBlock > LIEF::dwarf::editor::Function::LexicalBlock::add_block | ( | const std::vector< range_t > & | range | ) |
Create a sub-block with the given range of addresses.
std::unique_ptr< LexicalBlock > LIEF::dwarf::editor::Function::LexicalBlock::add_block | ( | uint64_t | start, |
uint64_t | end ) |
Create a sub-block with the given low/high addresses.
LexicalBlock & LIEF::dwarf::editor::Function::LexicalBlock::add_description | ( | const std::string & | description | ) |
Create a DW_AT_description entry with the description provided in parameter.
References LexicalBlock().
LexicalBlock & LIEF::dwarf::editor::Function::LexicalBlock::add_name | ( | const std::string & | name | ) |
Create a DW_AT_name entry to associate a name to this entry.
References LexicalBlock().