PStack  2.0
Stack trace printer for MSVC and GCC binaries
anonymous_namespace{symbol_file_module.cpp} Namespace Reference

Data local to this compilation unit. More...

Functions

static void print_dos_image_header (IMAGE_DOS_HEADER const &hdr)
 Output details for a DOS executable image to the console. More...
 
template<typename T >
void print_nt_image_header (T const &hdr)
 Output details for an NT executable image to the console. More...
 
template<typename T >
void print_optional_image_header (T const &hdr, bool const is_dll)
 Output "optional" details for an NT executable image to the console. More...
 

Detailed Description

Data local to this compilation unit.

Function Documentation

static void anonymous_namespace{symbol_file_module.cpp}::print_dos_image_header ( IMAGE_DOS_HEADER const &  hdr)
static

Output details for a DOS executable image to the console.

Parameters
[in]hdrThe data-structure to output.
template<typename T >
void anonymous_namespace{symbol_file_module.cpp}::print_nt_image_header ( T const &  hdr)

Output details for an NT executable image to the console.

Template Parameters
TThe type of structure differs based on platform. Specify it here.
Parameters
[in]hdrThe data-structure to output.
template<typename T >
void anonymous_namespace{symbol_file_module.cpp}::print_optional_image_header ( T const &  hdr,
bool const  is_dll 
)

Output "optional" details for an NT executable image to the console.

Template Parameters
TThe type of structure differs based on platform. Specify it here.
Parameters
[in]hdrThe data-structure to output.
[in]is_dllDLL images have a bit more information, so gather that information, and pass it through this parameter.
Todo:
Only for IMAGE_OPTIONAL_HEADER32