|
LIEF: Library to Instrument Executable Formats Version 1.0.0
|
This class represents a DWARF lexical block (DW_TAG_lexical_block). More...
#include <LexicalBlock.hpp>
Classes | |
| class | Iterator |
Public Types | |
| using | sub_blocks_it = iterator_range<Iterator> |
Public Member Functions | |
| LexicalBlock (std::unique_ptr< details::LexicalBlock > impl) | |
| LexicalBlock ()=delete | |
| LexicalBlock & | operator= (const LexicalBlock &)=delete |
| LexicalBlock (const LexicalBlock &)=delete | |
| std::string | name () const |
| Return the name associated with this lexical block or an empty string. | |
| std::string | description () const |
| Return the description associated with this lexical block or an empty string. | |
| sub_blocks_it | sub_blocks () const |
| Return an iterator over the sub-LexicalBlock owned by this block. | |
| optional< uint64_t > | addr () const |
| Return the start address of this block. | |
| uint64_t | size () const |
| Return the size of this block as the difference of the highest address and the lowest address. | |
| optional< uint64_t > | low_pc () const |
| Return the lowest virtual address owned by this block. | |
| optional< uint64_t > | high_pc () const |
| Return the highest virtual address owned by this block. | |
| std::vector< range_t > | ranges () const |
| Return a list of address ranges owned by this block. | |
| ~LexicalBlock () | |
Static Public Member Functions | |
| static std::unique_ptr< LexicalBlock > | create (std::unique_ptr< details::LexicalBlock > impl) |
This class represents a DWARF lexical block (DW_TAG_lexical_block).
| LIEF::dwarf::LexicalBlock::LexicalBlock | ( | std::unique_ptr< details::LexicalBlock > | impl | ) |
|
delete |
|
delete |
References LexicalBlock().
| LIEF::dwarf::LexicalBlock::~LexicalBlock | ( | ) |
References LIEF_LOCAL.
| optional< uint64_t > LIEF::dwarf::LexicalBlock::addr | ( | ) | const |
Return the start address of this block.
|
static |
| std::string LIEF::dwarf::LexicalBlock::description | ( | ) | const |
Return the description associated with this lexical block or an empty string.
| optional< uint64_t > LIEF::dwarf::LexicalBlock::high_pc | ( | ) | const |
Return the highest virtual address owned by this block.
| optional< uint64_t > LIEF::dwarf::LexicalBlock::low_pc | ( | ) | const |
Return the lowest virtual address owned by this block.
| std::string LIEF::dwarf::LexicalBlock::name | ( | ) | const |
Return the name associated with this lexical block or an empty string.
|
delete |
References LexicalBlock().
| std::vector< range_t > LIEF::dwarf::LexicalBlock::ranges | ( | ) | const |
Return a list of address ranges owned by this block.
If the lexical block owns a contiguous range, it should return a single range.
| uint64_t LIEF::dwarf::LexicalBlock::size | ( | ) | const |
Return the size of this block as the difference of the highest address and the lowest address.
| sub_blocks_it LIEF::dwarf::LexicalBlock::sub_blocks | ( | ) | const |
Return an iterator over the sub-LexicalBlock owned by this block.