#include <DebugInfo.hpp>
◆ FORMAT
Enumerator |
---|
UNKNOWN | |
DWARF | |
PDB | |
◆ DebugInfo()
LIEF::DebugInfo::DebugInfo |
( |
std::unique_ptr< details::DebugInfo > | impl | ) |
|
◆ ~DebugInfo()
virtual LIEF::DebugInfo::~DebugInfo |
( |
| ) |
|
|
virtual |
◆ as()
template<class T >
const T * LIEF::DebugInfo::as |
( |
| ) |
const |
|
inline |
This function can be used to down cast a DebugInfo instance:
std::unique_ptr<LIEF::Instruction> dbg = bin->debug_info();
if (const auto* dwarf = inst->as<LIEF::dwarf::DebugInfo>()) {
dwarf->find_function("main");
}
◆ format()
virtual FORMAT LIEF::DebugInfo::format |
( |
| ) |
const |
|
inlinevirtual |
The documentation for this class was generated from the following file: