xerus
a general purpose tensor library
callStack.cpp File Reference

Implementation of the callstack functionality and respective helper class bfdResolver. More...

#include <xerus/misc/callStack.h>
#include <execinfo.h>
#include <bfd.h>
#include <dlfcn.h>
#include <unistd.h>
#include <iostream>
#include <sstream>
#include <memory>
#include <map>
#include <vector>
#include <xerus/misc/stringFromTo.h>
#include <xerus/misc/stringUtilities.h>

Go to the source code of this file.

Classes

struct  xerus::misc::internal::bfdResolver
 class to load symbols and resolve address pointers More...
 
struct  xerus::misc::internal::bfdResolver::storedBfd
 relevant information belonging to a single bfd More...
 

Namespaces

 xerus
 The main namespace of xerus.
 
 xerus::misc
 Collection of classes and functions that provide elementary functionality that is not special to xerus as a tensor library.
 
 xerus::misc::internal
 Namespace for function and classes designated only for internal use.
 

Functions

std::string xerus::misc::get_call_stack ()
 Returns a string representation of the current call-stack (excluding the function itself). More...
 
std::pair< uintptr_t, uintptr_t > xerus::misc::get_range_of_section (void *_addr, std::string _name)
 Returns the address range of the elf-section names _name as part of the executable / so file that contained _addr. More...
 

Detailed Description

Implementation of the callstack functionality and respective helper class bfdResolver.

Definition in file callStack.cpp.