NCBI C++ ToolKit
Classes | Macros | Typedefs | Functions | Variables
ncbi_stack_win64.cpp File Reference
#include <ncbi_pch.hpp>
#include <corelib/ncbiapp_api.hpp>
#include <corelib/ncbidll.hpp>
#include <corelib/ncbi_safe_static.hpp>
#include <corelib/error_codes.hpp>
#include <windows.h>
#include <winnt.h>
#include <dbghelp.h>
+ Include dependency graph for ncbi_stack_win64.cpp:

Go to the source code of this file.

Go to the SVN repository for this file.

Classes

struct  SModuleEntry
 
struct  _MODULEINFO
 
class  CSymbolGuard
 
class  CStackTraceImpl
 

Macros

#define NCBI_USE_ERRCODE_X   Corelib_Stack
 
#define lenof(a)   (sizeof(a) / sizeof((a)[0]))
 
#define MAXNAMELEN   1024
 
#define IMGSYMLEN   (sizeof IMAGEHLP_SYMBOL64)
 
#define TTBUFLEN   65535
 

Typedefs

typedef vector< SModuleEntryTModules
 
typedef TModules::iterator ModuleListIter
 
typedef struct _MODULEINFO MODULEINFO
 
typedef struct _MODULEINFOLPMODULEINFO
 

Functions

static bool s_FillModuleListPSAPI (TModules &mods, DWORD pid, HANDLE hProcess)
 
static bool s_FillModuleList (TModules &modules, DWORD pid, HANDLE hProcess)
 

Variables

static CSafeStaticPtr< CSymbolGuards_SymbolGuard
 

Macro Definition Documentation

◆ IMGSYMLEN

#define IMGSYMLEN   (sizeof IMAGEHLP_SYMBOL64)

Definition at line 51 of file ncbi_stack_win64.cpp.

◆ lenof

#define lenof (   a)    (sizeof(a) / sizeof((a)[0]))

Definition at line 49 of file ncbi_stack_win64.cpp.

◆ MAXNAMELEN

#define MAXNAMELEN   1024

Definition at line 50 of file ncbi_stack_win64.cpp.

◆ NCBI_USE_ERRCODE_X

#define NCBI_USE_ERRCODE_X   Corelib_Stack

Definition at line 43 of file ncbi_stack_win64.cpp.

◆ TTBUFLEN

#define TTBUFLEN   65535

Definition at line 52 of file ncbi_stack_win64.cpp.

Typedef Documentation

◆ LPMODULEINFO

typedef struct _MODULEINFO * LPMODULEINFO

◆ MODULEINFO

typedef struct _MODULEINFO MODULEINFO

◆ ModuleListIter

typedef TModules::iterator ModuleListIter

Definition at line 64 of file ncbi_stack_win64.cpp.

◆ TModules

typedef vector<SModuleEntry> TModules

Definition at line 63 of file ncbi_stack_win64.cpp.

Function Documentation

◆ s_FillModuleList()

static bool s_FillModuleList ( TModules modules,
DWORD  pid,
HANDLE  hProcess 
)
static

Definition at line 186 of file ncbi_stack_win64.cpp.

References s_FillModuleListPSAPI().

◆ s_FillModuleListPSAPI()

static bool s_FillModuleListPSAPI ( TModules mods,
DWORD  pid,
HANDLE  hProcess 
)
static

Variable Documentation

◆ s_SymbolGuard

CSafeStaticPtr<CSymbolGuard> s_SymbolGuard
static

Definition at line 306 of file ncbi_stack_win64.cpp.

Modified on Sun Feb 25 03:02:03 2024 by modify_doxy.py rev. 669887