PStack
2.0
Stack trace printer for MSVC and GCC binaries
|
Functions that are local to this compilation unit. More...
Functions | |
template<typename SymbolEngine > | |
void | output_stack_frame (SymbolEngine &symbol_eng, psystem::module_address_map const &modules, psystem::stack_frame const &frame) |
Prints a single stack from a stack trace to the console. More... | |
template<typename SymbolEngine > | |
void | output_stack_trace (SymbolEngine &symbol_eng, psystem::process_info *const proc, psystem::thread_info *const thrd) |
Prints one thread's call stack to the screen. More... | |
Functions that are local to this compilation unit.
void anonymous_namespace{pstack.cpp}::output_stack_frame | ( | SymbolEngine & | symbol_eng, |
psystem::module_address_map const & | modules, | ||
psystem::stack_frame const & | frame | ||
) |
Prints a single stack from a stack trace to the console.
SymbolEngine | This method can be configured to use different "engines" for resolving function names. psystem::dbghelp_symbol_engine is one such example. |
[in] | symbol_eng | Used to map addresses to function symbol names. |
[in] | modules | Catalog of loaded modules to search for information. |
[in] | frame | The stack frame that we are examining. |
void anonymous_namespace{pstack.cpp}::output_stack_trace | ( | SymbolEngine & | symbol_eng, |
psystem::process_info *const | proc, | ||
psystem::thread_info *const | thrd | ||
) |
Prints one thread's call stack to the screen.
SymbolEngine | This method can be configured to use different "engines" for resolving function names. psystem::dbghelp_symbol_engine is one such example. |
[in] | symbol_eng | Used to map addresses to function symbol names. |
[in] | proc | The process that we are examining. |
[in] | thrd | The thread that we are examining. |