class to load symbols and resolve address pointers
More...
class to load symbols and resolve address pointers
uses binutils to interpret bfds. caches the bfd data to only read them once per run of the application for the use of dladdr see also https://sourceware.org/git/?p=glibc.git;a=blob;f=debug/backtracesyms.c
Definition at line 46 of file callStack.cpp.
◆ ensure_bfd_loaded()
static bool xerus::misc::internal::bfdResolver::ensure_bfd_loaded |
( |
Dl_info & |
_info | ) |
|
|
inlinestatic |
◆ get_range_of_section()
static std::pair<uintptr_t, uintptr_t> xerus::misc::internal::bfdResolver::get_range_of_section |
( |
void * |
_addr, |
|
|
std::string |
_name |
|
) |
| |
|
inlinestatic |
◆ resolve()
static std::string xerus::misc::internal::bfdResolver::resolve |
( |
void * |
address | ) |
|
|
inlinestatic |
◆ bfd_initialized
bool xerus::misc::internal::bfdResolver::bfd_initialized = false |
|
static |
◆ bfds
The documentation for this struct was generated from the following file:
- /home/gitlab-runner/builds/9071116c/0/xerus/xerus/src/xerus/misc/callStack.cpp