Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
f6d80847
Commit
f6d80847
authored
Nov 03, 2023
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
include: Use proper dllimports for dbghelp functions.
parent
7999f40b
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
359 additions
and
740 deletions
+359
-740
dbghelp.h
include/dbghelp.h
+181
-187
imagehlp.h
include/imagehlp.h
+178
-553
No files found.
include/dbghelp.h
View file @
f6d80847
...
@@ -33,7 +33,12 @@ extern "C" {
...
@@ -33,7 +33,12 @@ extern "C" {
#endif
#endif
#endif
#endif
#ifdef _IMAGEHLP_SOURCE_
#define IMAGEAPI WINAPI
#define IMAGEAPI WINAPI
#else
#define IMAGEAPI DECLSPEC_IMPORT WINAPI
#endif
#define DBHLPAPI IMAGEAPI
#define DBHLPAPI IMAGEAPI
typedef
struct
_LOADED_IMAGE
typedef
struct
_LOADED_IMAGE
...
@@ -494,25 +499,23 @@ typedef struct _DBGHELP_MODLOAD_DATA
...
@@ -494,25 +499,23 @@ typedef struct _DBGHELP_MODLOAD_DATA
#define SLMFLAG_NO_SYMBOLS 0x4
#define SLMFLAG_NO_SYMBOLS 0x4
typedef
BOOL
(
CALLBACK
*
PENUMLOADED_MODULES_CALLBACK64
)(
PCSTR
,
DWORD64
,
ULONG
,
PVOID
);
typedef
BOOL
(
CALLBACK
*
PENUMLOADED_MODULES_CALLBACK64
)(
PCSTR
,
DWORD64
,
ULONG
,
PVOID
);
BOOL
WIN
API
EnumerateLoadedModules64
(
HANDLE
,
PENUMLOADED_MODULES_CALLBACK64
,
PVOID
);
BOOL
IMAGE
API
EnumerateLoadedModules64
(
HANDLE
,
PENUMLOADED_MODULES_CALLBACK64
,
PVOID
);
typedef
BOOL
(
CALLBACK
*
PENUMLOADED_MODULES_CALLBACKW64
)(
PCWSTR
,
DWORD64
,
ULONG
,
PVOID
);
typedef
BOOL
(
CALLBACK
*
PENUMLOADED_MODULES_CALLBACKW64
)(
PCWSTR
,
DWORD64
,
ULONG
,
PVOID
);
BOOL
WIN
API
EnumerateLoadedModulesW64
(
HANDLE
,
PENUMLOADED_MODULES_CALLBACKW64
,
PVOID
);
BOOL
IMAGE
API
EnumerateLoadedModulesW64
(
HANDLE
,
PENUMLOADED_MODULES_CALLBACKW64
,
PVOID
);
BOOL
WIN
API
EnumerateLoadedModulesEx
(
HANDLE
,
PENUMLOADED_MODULES_CALLBACK64
,
PVOID
);
BOOL
IMAGE
API
EnumerateLoadedModulesEx
(
HANDLE
,
PENUMLOADED_MODULES_CALLBACK64
,
PVOID
);
BOOL
WIN
API
EnumerateLoadedModulesExW
(
HANDLE
,
PENUMLOADED_MODULES_CALLBACKW64
,
PVOID
);
BOOL
IMAGE
API
EnumerateLoadedModulesExW
(
HANDLE
,
PENUMLOADED_MODULES_CALLBACKW64
,
PVOID
);
typedef
BOOL
(
CALLBACK
*
PSYM_ENUMMODULES_CALLBACK64
)(
PCSTR
,
DWORD64
,
PVOID
);
typedef
BOOL
(
CALLBACK
*
PSYM_ENUMMODULES_CALLBACK64
)(
PCSTR
,
DWORD64
,
PVOID
);
BOOL
WIN
API
SymEnumerateModules64
(
HANDLE
,
PSYM_ENUMMODULES_CALLBACK64
,
PVOID
);
BOOL
IMAGE
API
SymEnumerateModules64
(
HANDLE
,
PSYM_ENUMMODULES_CALLBACK64
,
PVOID
);
typedef
BOOL
(
CALLBACK
*
PSYM_ENUMMODULES_CALLBACKW64
)(
PCWSTR
,
DWORD64
,
PVOID
);
typedef
BOOL
(
CALLBACK
*
PSYM_ENUMMODULES_CALLBACKW64
)(
PCWSTR
,
DWORD64
,
PVOID
);
BOOL
WINAPI
SymEnumerateModulesW64
(
HANDLE
,
PSYM_ENUMMODULES_CALLBACKW64
,
PVOID
);
BOOL
IMAGEAPI
SymEnumerateModulesW64
(
HANDLE
,
PSYM_ENUMMODULES_CALLBACKW64
,
PVOID
);
BOOL
WINAPI
SymGetModuleInfo64
(
HANDLE
,
DWORD64
,
PIMAGEHLP_MODULE64
);
BOOL
IMAGEAPI
SymGetModuleInfo64
(
HANDLE
,
DWORD64
,
PIMAGEHLP_MODULE64
);
BOOL
WINAPI
SymGetModuleInfoW64
(
HANDLE
,
DWORD64
,
PIMAGEHLP_MODULEW64
);
BOOL
IMAGEAPI
SymGetModuleInfoW64
(
HANDLE
,
DWORD64
,
PIMAGEHLP_MODULEW64
);
DWORD64
WINAPI
SymGetModuleBase64
(
HANDLE
,
DWORD64
);
DWORD64
IMAGEAPI
SymGetModuleBase64
(
HANDLE
,
DWORD64
);
DWORD64
WINAPI
SymLoadModule64
(
HANDLE
,
HANDLE
,
PCSTR
,
PCSTR
,
DWORD64
,
DWORD
);
DWORD64
IMAGEAPI
SymLoadModule64
(
HANDLE
,
HANDLE
,
PCSTR
,
PCSTR
,
DWORD64
,
DWORD
);
DWORD64
WINAPI
SymLoadModuleEx
(
HANDLE
,
HANDLE
,
PCSTR
,
PCSTR
,
DWORD64
,
DWORD
,
DWORD64
IMAGEAPI
SymLoadModuleEx
(
HANDLE
,
HANDLE
,
PCSTR
,
PCSTR
,
DWORD64
,
DWORD
,
PMODLOAD_DATA
,
DWORD
);
PMODLOAD_DATA
,
DWORD
);
DWORD64
IMAGEAPI
SymLoadModuleExW
(
HANDLE
,
HANDLE
,
PCWSTR
,
PCWSTR
,
DWORD64
,
DWORD
,
PMODLOAD_DATA
,
DWORD
);
DWORD64
WINAPI
SymLoadModuleExW
(
HANDLE
,
HANDLE
,
PCWSTR
,
PCWSTR
,
DWORD64
,
DWORD
,
BOOL
IMAGEAPI
SymUnloadModule64
(
HANDLE
,
DWORD64
);
PMODLOAD_DATA
,
DWORD
);
BOOL
IMAGEAPI
SymRefreshModuleList
(
HANDLE
);
BOOL
WINAPI
SymUnloadModule64
(
HANDLE
,
DWORD64
);
BOOL
WINAPI
SymRefreshModuleList
(
HANDLE
);
/*************************
/*************************
* Symbol Handling *
* Symbol Handling *
...
@@ -722,60 +725,58 @@ typedef struct _TI_FINDCHILDREN_PARAMS
...
@@ -722,60 +725,58 @@ typedef struct _TI_FINDCHILDREN_PARAMS
#define SYMSEARCH_RECURSE 0x02
#define SYMSEARCH_RECURSE 0x02
#define SYMSEARCH_GLOBALSONLY 0x04
#define SYMSEARCH_GLOBALSONLY 0x04
BOOL
WIN
API
SymGetTypeInfo
(
HANDLE
,
DWORD64
,
ULONG
,
IMAGEHLP_SYMBOL_TYPE_INFO
,
PVOID
);
BOOL
IMAGE
API
SymGetTypeInfo
(
HANDLE
,
DWORD64
,
ULONG
,
IMAGEHLP_SYMBOL_TYPE_INFO
,
PVOID
);
BOOL
WIN
API
SymGetTypeInfoEx
(
HANDLE
,
DWORD64
,
PIMAGEHLP_GET_TYPE_INFO_PARAMS
);
BOOL
IMAGE
API
SymGetTypeInfoEx
(
HANDLE
,
DWORD64
,
PIMAGEHLP_GET_TYPE_INFO_PARAMS
);
typedef
BOOL
(
CALLBACK
*
PSYM_ENUMERATESYMBOLS_CALLBACK
)(
PSYMBOL_INFO
,
ULONG
,
PVOID
);
typedef
BOOL
(
CALLBACK
*
PSYM_ENUMERATESYMBOLS_CALLBACK
)(
PSYMBOL_INFO
,
ULONG
,
PVOID
);
typedef
BOOL
(
CALLBACK
*
PSYM_ENUMERATESYMBOLS_CALLBACKW
)(
PSYMBOL_INFOW
,
ULONG
,
PVOID
);
typedef
BOOL
(
CALLBACK
*
PSYM_ENUMERATESYMBOLS_CALLBACKW
)(
PSYMBOL_INFOW
,
ULONG
,
PVOID
);
BOOL
WINAPI
SymEnumTypes
(
HANDLE
,
ULONG64
,
PSYM_ENUMERATESYMBOLS_CALLBACK
,
PVOID
);
BOOL
IMAGEAPI
SymEnumTypes
(
HANDLE
,
ULONG64
,
PSYM_ENUMERATESYMBOLS_CALLBACK
,
PVOID
);
BOOL
WINAPI
SymEnumTypesW
(
HANDLE
,
ULONG64
,
PSYM_ENUMERATESYMBOLS_CALLBACKW
,
PVOID
);
BOOL
IMAGEAPI
SymEnumTypesW
(
HANDLE
,
ULONG64
,
PSYM_ENUMERATESYMBOLS_CALLBACKW
,
PVOID
);
BOOL
WINAPI
SymEnumTypesByName
(
HANDLE
,
ULONG64
,
PCSTR
,
PSYM_ENUMERATESYMBOLS_CALLBACK
,
PVOID
);
BOOL
IMAGEAPI
SymEnumTypesByName
(
HANDLE
,
ULONG64
,
PCSTR
,
PSYM_ENUMERATESYMBOLS_CALLBACK
,
PVOID
);
BOOL
WINAPI
SymEnumTypesByNameW
(
HANDLE
,
ULONG64
,
PCWSTR
,
PSYM_ENUMERATESYMBOLS_CALLBACKW
,
PVOID
);
BOOL
IMAGEAPI
SymEnumTypesByNameW
(
HANDLE
,
ULONG64
,
PCWSTR
,
PSYM_ENUMERATESYMBOLS_CALLBACKW
,
PVOID
);
BOOL
WINAPI
SymFromAddr
(
HANDLE
,
DWORD64
,
DWORD64
*
,
SYMBOL_INFO
*
);
BOOL
IMAGEAPI
SymFromAddr
(
HANDLE
,
DWORD64
,
DWORD64
*
,
SYMBOL_INFO
*
);
BOOL
WINAPI
SymFromAddrW
(
HANDLE
,
DWORD64
,
DWORD64
*
,
SYMBOL_INFOW
*
);
BOOL
IMAGEAPI
SymFromAddrW
(
HANDLE
,
DWORD64
,
DWORD64
*
,
SYMBOL_INFOW
*
);
BOOL
WINAPI
SymFromInlineContext
(
HANDLE
,
DWORD64
,
ULONG
,
PDWORD64
,
PSYMBOL_INFO
);
BOOL
IMAGEAPI
SymFromInlineContext
(
HANDLE
,
DWORD64
,
ULONG
,
PDWORD64
,
PSYMBOL_INFO
);
BOOL
WINAPI
SymFromInlineContextW
(
HANDLE
,
DWORD64
,
ULONG
,
PDWORD64
,
PSYMBOL_INFOW
);
BOOL
IMAGEAPI
SymFromInlineContextW
(
HANDLE
,
DWORD64
,
ULONG
,
PDWORD64
,
PSYMBOL_INFOW
);
BOOL
WINAPI
SymFromToken
(
HANDLE
,
DWORD64
,
DWORD
,
PSYMBOL_INFO
);
BOOL
IMAGEAPI
SymFromToken
(
HANDLE
,
DWORD64
,
DWORD
,
PSYMBOL_INFO
);
BOOL
WINAPI
SymFromTokenW
(
HANDLE
,
DWORD64
,
DWORD
,
PSYMBOL_INFOW
);
BOOL
IMAGEAPI
SymFromTokenW
(
HANDLE
,
DWORD64
,
DWORD
,
PSYMBOL_INFOW
);
BOOL
WINAPI
SymFromName
(
HANDLE
,
PCSTR
,
PSYMBOL_INFO
);
BOOL
IMAGEAPI
SymFromName
(
HANDLE
,
PCSTR
,
PSYMBOL_INFO
);
BOOL
WINAPI
SymFromNameW
(
HANDLE
,
PCWSTR
,
PSYMBOL_INFOW
);
BOOL
IMAGEAPI
SymFromNameW
(
HANDLE
,
PCWSTR
,
PSYMBOL_INFOW
);
BOOL
WINAPI
SymGetSymFromAddr64
(
HANDLE
,
DWORD64
,
PDWORD64
,
PIMAGEHLP_SYMBOL64
);
BOOL
IMAGEAPI
SymGetSymFromAddr64
(
HANDLE
,
DWORD64
,
PDWORD64
,
PIMAGEHLP_SYMBOL64
);
BOOL
WINAPI
SymGetSymFromName64
(
HANDLE
,
PCSTR
,
PIMAGEHLP_SYMBOL64
);
BOOL
IMAGEAPI
SymGetSymFromName64
(
HANDLE
,
PCSTR
,
PIMAGEHLP_SYMBOL64
);
BOOL
WINAPI
SymGetTypeFromName
(
HANDLE
,
ULONG64
,
PCSTR
,
PSYMBOL_INFO
);
BOOL
IMAGEAPI
SymGetTypeFromName
(
HANDLE
,
ULONG64
,
PCSTR
,
PSYMBOL_INFO
);
BOOL
WINAPI
SymGetTypeFromNameW
(
HANDLE
,
ULONG64
,
PCWSTR
,
PSYMBOL_INFOW
);
BOOL
IMAGEAPI
SymGetTypeFromNameW
(
HANDLE
,
ULONG64
,
PCWSTR
,
PSYMBOL_INFOW
);
BOOL
WINAPI
SymGetSymNext64
(
HANDLE
,
PIMAGEHLP_SYMBOL64
);
BOOL
IMAGEAPI
SymGetSymNext64
(
HANDLE
,
PIMAGEHLP_SYMBOL64
);
BOOL
WINAPI
SymGetSymNextW64
(
HANDLE
,
PIMAGEHLP_SYMBOLW64
);
BOOL
IMAGEAPI
SymGetSymNextW64
(
HANDLE
,
PIMAGEHLP_SYMBOLW64
);
BOOL
WINAPI
SymGetSymPrev64
(
HANDLE
,
PIMAGEHLP_SYMBOL64
);
BOOL
IMAGEAPI
SymGetSymPrev64
(
HANDLE
,
PIMAGEHLP_SYMBOL64
);
BOOL
WINAPI
SymGetSymPrevW64
(
HANDLE
,
PIMAGEHLP_SYMBOLW64
);
BOOL
IMAGEAPI
SymGetSymPrevW64
(
HANDLE
,
PIMAGEHLP_SYMBOLW64
);
BOOL
WINAPI
SymEnumSym
(
HANDLE
,
ULONG64
,
PSYM_ENUMERATESYMBOLS_CALLBACK
,
PVOID
);
BOOL
IMAGEAPI
SymEnumSym
(
HANDLE
,
ULONG64
,
PSYM_ENUMERATESYMBOLS_CALLBACK
,
PVOID
);
BOOL
WINAPI
SymEnumSymbols
(
HANDLE
,
ULONG64
,
PCSTR
,
PSYM_ENUMERATESYMBOLS_CALLBACK
,
BOOL
IMAGEAPI
SymEnumSymbols
(
HANDLE
,
ULONG64
,
PCSTR
,
PSYM_ENUMERATESYMBOLS_CALLBACK
,
PVOID
);
PVOID
);
BOOL
IMAGEAPI
SymEnumSymbolsW
(
HANDLE
,
ULONG64
,
PCWSTR
,
PSYM_ENUMERATESYMBOLS_CALLBACKW
,
PVOID
);
BOOL
WINAPI
SymEnumSymbolsW
(
HANDLE
,
ULONG64
,
PCWSTR
,
PSYM_ENUMERATESYMBOLS_CALLBACKW
,
PVOID
);
typedef
BOOL
(
CALLBACK
*
PSYM_ENUMSYMBOLS_CALLBACK64
)(
PCSTR
,
DWORD64
,
ULONG
,
PVOID
);
typedef
BOOL
(
CALLBACK
*
PSYM_ENUMSYMBOLS_CALLBACK64
)(
PCSTR
,
DWORD64
,
ULONG
,
PVOID
);
typedef
BOOL
(
CALLBACK
*
PSYM_ENUMSYMBOLS_CALLBACK64W
)(
PCWSTR
,
DWORD64
,
ULONG
,
PVOID
);
typedef
BOOL
(
CALLBACK
*
PSYM_ENUMSYMBOLS_CALLBACK64W
)(
PCWSTR
,
DWORD64
,
ULONG
,
PVOID
);
BOOL
WIN
API
SymEnumerateSymbols64
(
HANDLE
,
ULONG64
,
PSYM_ENUMSYMBOLS_CALLBACK64
,
PVOID
);
BOOL
IMAGE
API
SymEnumerateSymbols64
(
HANDLE
,
ULONG64
,
PSYM_ENUMSYMBOLS_CALLBACK64
,
PVOID
);
BOOL
WIN
API
SymEnumerateSymbolsW64
(
HANDLE
,
ULONG64
,
PSYM_ENUMSYMBOLS_CALLBACK64W
,
PVOID
);
BOOL
IMAGE
API
SymEnumerateSymbolsW64
(
HANDLE
,
ULONG64
,
PSYM_ENUMSYMBOLS_CALLBACK64W
,
PVOID
);
BOOL
WIN
API
SymEnumSymbolsForAddr
(
HANDLE
,
DWORD64
,
PSYM_ENUMERATESYMBOLS_CALLBACK
,
PVOID
);
BOOL
IMAGE
API
SymEnumSymbolsForAddr
(
HANDLE
,
DWORD64
,
PSYM_ENUMERATESYMBOLS_CALLBACK
,
PVOID
);
BOOL
WIN
API
SymEnumSymbolsForAddrW
(
HANDLE
,
DWORD64
,
PSYM_ENUMERATESYMBOLS_CALLBACKW
,
PVOID
);
BOOL
IMAGE
API
SymEnumSymbolsForAddrW
(
HANDLE
,
DWORD64
,
PSYM_ENUMERATESYMBOLS_CALLBACKW
,
PVOID
);
typedef
BOOL
(
CALLBACK
*
PSYMBOL_REGISTERED_CALLBACK64
)(
HANDLE
,
ULONG
,
ULONG64
,
ULONG64
);
typedef
BOOL
(
CALLBACK
*
PSYMBOL_REGISTERED_CALLBACK64
)(
HANDLE
,
ULONG
,
ULONG64
,
ULONG64
);
BOOL
WIN
API
SymRegisterCallback64
(
HANDLE
,
PSYMBOL_REGISTERED_CALLBACK64
,
ULONG64
);
BOOL
IMAGE
API
SymRegisterCallback64
(
HANDLE
,
PSYMBOL_REGISTERED_CALLBACK64
,
ULONG64
);
BOOL
WIN
API
SymRegisterCallbackW64
(
HANDLE
,
PSYMBOL_REGISTERED_CALLBACK64
,
ULONG64
);
BOOL
IMAGE
API
SymRegisterCallbackW64
(
HANDLE
,
PSYMBOL_REGISTERED_CALLBACK64
,
ULONG64
);
BOOL
WIN
API
SymUnDName64
(
PIMAGEHLP_SYMBOL64
,
PSTR
,
DWORD
);
BOOL
IMAGE
API
SymUnDName64
(
PIMAGEHLP_SYMBOL64
,
PSTR
,
DWORD
);
BOOL
WIN
API
SymMatchString
(
PCSTR
,
PCSTR
,
BOOL
);
BOOL
IMAGE
API
SymMatchString
(
PCSTR
,
PCSTR
,
BOOL
);
BOOL
WIN
API
SymMatchStringA
(
PCSTR
,
PCSTR
,
BOOL
);
BOOL
IMAGE
API
SymMatchStringA
(
PCSTR
,
PCSTR
,
BOOL
);
BOOL
WIN
API
SymMatchStringW
(
PCWSTR
,
PCWSTR
,
BOOL
);
BOOL
IMAGE
API
SymMatchStringW
(
PCWSTR
,
PCWSTR
,
BOOL
);
BOOL
WIN
API
SymSearch
(
HANDLE
,
ULONG64
,
DWORD
,
DWORD
,
PCSTR
,
DWORD64
,
PSYM_ENUMERATESYMBOLS_CALLBACK
,
PVOID
,
DWORD
);
BOOL
IMAGE
API
SymSearch
(
HANDLE
,
ULONG64
,
DWORD
,
DWORD
,
PCSTR
,
DWORD64
,
PSYM_ENUMERATESYMBOLS_CALLBACK
,
PVOID
,
DWORD
);
BOOL
WIN
API
SymSearchW
(
HANDLE
,
ULONG64
,
DWORD
,
DWORD
,
PCWSTR
,
DWORD64
,
PSYM_ENUMERATESYMBOLS_CALLBACKW
,
PVOID
,
DWORD
);
BOOL
IMAGE
API
SymSearchW
(
HANDLE
,
ULONG64
,
DWORD
,
DWORD
,
PCWSTR
,
DWORD64
,
PSYM_ENUMERATESYMBOLS_CALLBACKW
,
PVOID
,
DWORD
);
DWORD
WIN
API
UnDecorateSymbolName
(
PCSTR
,
PSTR
,
DWORD
,
DWORD
);
DWORD
IMAGE
API
UnDecorateSymbolName
(
PCSTR
,
PSTR
,
DWORD
,
DWORD
);
DWORD
WIN
API
UnDecorateSymbolNameW
(
PCWSTR
,
PWSTR
,
DWORD
,
DWORD
);
DWORD
IMAGE
API
UnDecorateSymbolNameW
(
PCWSTR
,
PWSTR
,
DWORD
,
DWORD
);
BOOL
WIN
API
SymGetScope
(
HANDLE
,
ULONG64
,
DWORD
,
PSYMBOL_INFO
);
BOOL
IMAGE
API
SymGetScope
(
HANDLE
,
ULONG64
,
DWORD
,
PSYMBOL_INFO
);
BOOL
WIN
API
SymGetScopeW
(
HANDLE
,
ULONG64
,
DWORD
,
PSYMBOL_INFOW
);
BOOL
IMAGE
API
SymGetScopeW
(
HANDLE
,
ULONG64
,
DWORD
,
PSYMBOL_INFOW
);
BOOL
WIN
API
SymFromIndex
(
HANDLE
,
ULONG64
,
DWORD
,
PSYMBOL_INFO
);
BOOL
IMAGE
API
SymFromIndex
(
HANDLE
,
ULONG64
,
DWORD
,
PSYMBOL_INFO
);
BOOL
WIN
API
SymFromIndexW
(
HANDLE
,
ULONG64
,
DWORD
,
PSYMBOL_INFOW
);
BOOL
IMAGE
API
SymFromIndexW
(
HANDLE
,
ULONG64
,
DWORD
,
PSYMBOL_INFOW
);
BOOL
WIN
API
SymAddSymbol
(
HANDLE
,
ULONG64
,
PCSTR
,
DWORD64
,
DWORD
,
DWORD
);
BOOL
IMAGE
API
SymAddSymbol
(
HANDLE
,
ULONG64
,
PCSTR
,
DWORD64
,
DWORD
,
DWORD
);
BOOL
WIN
API
SymAddSymbolW
(
HANDLE
,
ULONG64
,
PCWSTR
,
DWORD64
,
DWORD
,
DWORD
);
BOOL
IMAGE
API
SymAddSymbolW
(
HANDLE
,
ULONG64
,
PCWSTR
,
DWORD64
,
DWORD
,
DWORD
);
BOOL
WIN
API
SymDeleteSymbol
(
HANDLE
,
ULONG64
,
PCSTR
,
DWORD64
,
DWORD
);
BOOL
IMAGE
API
SymDeleteSymbol
(
HANDLE
,
ULONG64
,
PCSTR
,
DWORD64
,
DWORD
);
BOOL
WIN
API
SymDeleteSymbolW
(
HANDLE
,
ULONG64
,
PCWSTR
,
DWORD64
,
DWORD
);
BOOL
IMAGE
API
SymDeleteSymbolW
(
HANDLE
,
ULONG64
,
PCWSTR
,
DWORD64
,
DWORD
);
typedef
struct
_OMAP
typedef
struct
_OMAP
{
{
...
@@ -783,7 +784,7 @@ typedef struct _OMAP
...
@@ -783,7 +784,7 @@ typedef struct _OMAP
ULONG
rvaTo
;
ULONG
rvaTo
;
}
OMAP
,
*
POMAP
;
}
OMAP
,
*
POMAP
;
BOOL
WIN
API
SymGetOmaps
(
HANDLE
,
DWORD64
,
POMAP
*
,
PDWORD64
,
POMAP
*
,
PDWORD64
);
BOOL
IMAGE
API
SymGetOmaps
(
HANDLE
,
DWORD64
,
POMAP
*
,
PDWORD64
,
POMAP
*
,
PDWORD64
);
/*************************
/*************************
* Source Files *
* Source Files *
...
@@ -791,28 +792,27 @@ BOOL WINAPI SymGetOmaps(HANDLE, DWORD64, POMAP*, PDWORD64, POMAP*, PDWORD64);
...
@@ -791,28 +792,27 @@ BOOL WINAPI SymGetOmaps(HANDLE, DWORD64, POMAP*, PDWORD64, POMAP*, PDWORD64);
typedef
BOOL
(
CALLBACK
*
PSYM_ENUMSOURCEFILES_CALLBACK
)(
PSOURCEFILE
,
PVOID
);
typedef
BOOL
(
CALLBACK
*
PSYM_ENUMSOURCEFILES_CALLBACK
)(
PSOURCEFILE
,
PVOID
);
typedef
BOOL
(
CALLBACK
*
PSYM_ENUMSOURCEFILES_CALLBACKW
)(
PSOURCEFILEW
,
PVOID
);
typedef
BOOL
(
CALLBACK
*
PSYM_ENUMSOURCEFILES_CALLBACKW
)(
PSOURCEFILEW
,
PVOID
);
BOOL
WINAPI
SymEnumSourceFiles
(
HANDLE
,
ULONG64
,
PCSTR
,
PSYM_ENUMSOURCEFILES_CALLBACK
,
BOOL
IMAGEAPI
SymEnumSourceFiles
(
HANDLE
,
ULONG64
,
PCSTR
,
PSYM_ENUMSOURCEFILES_CALLBACK
,
PVOID
);
PVOID
);
BOOL
IMAGEAPI
SymEnumSourceFilesW
(
HANDLE
,
ULONG64
,
PCWSTR
,
PSYM_ENUMSOURCEFILES_CALLBACKW
,
PVOID
);
BOOL
WINAPI
SymEnumSourceFilesW
(
HANDLE
,
ULONG64
,
PCWSTR
,
PSYM_ENUMSOURCEFILES_CALLBACKW
,
PVOID
);
BOOL
IMAGEAPI
SymGetLineFromAddr64
(
HANDLE
,
DWORD64
,
PDWORD
,
PIMAGEHLP_LINE64
);
BOOL
WINAPI
SymGetLineFromAddr64
(
HANDLE
,
DWORD64
,
PDWORD
,
PIMAGEHLP_LINE64
);
BOOL
IMAGEAPI
SymGetLineFromAddrW64
(
HANDLE
,
DWORD64
,
PDWORD
,
PIMAGEHLP_LINEW64
);
BOOL
WINAPI
SymGetLineFromAddrW64
(
HANDLE
,
DWORD64
,
PDWORD
,
PIMAGEHLP_LINEW64
);
BOOL
IMAGEAPI
SymGetLineFromInlineContext
(
HANDLE
,
DWORD64
,
ULONG
,
DWORD64
,
PDWORD
,
PIMAGEHLP_LINE64
);
BOOL
WINAPI
SymGetLineFromInlineContext
(
HANDLE
,
DWORD64
,
ULONG
,
DWORD64
,
PDWORD
,
PIMAGEHLP_LINE64
);
BOOL
IMAGEAPI
SymGetLineFromInlineContextW
(
HANDLE
,
DWORD64
,
ULONG
,
DWORD64
,
PDWORD
,
PIMAGEHLP_LINEW64
);
BOOL
WINAPI
SymGetLineFromInlineContextW
(
HANDLE
,
DWORD64
,
ULONG
,
DWORD64
,
PDWORD
,
PIMAGEHLP_LINEW64
);
BOOL
IMAGEAPI
SymGetLinePrev64
(
HANDLE
,
PIMAGEHLP_LINE64
);
BOOL
WINAPI
SymGetLinePrev64
(
HANDLE
,
PIMAGEHLP_LINE64
);
BOOL
IMAGEAPI
SymGetLinePrevW64
(
HANDLE
,
PIMAGEHLP_LINEW64
);
BOOL
WINAPI
SymGetLinePrevW64
(
HANDLE
,
PIMAGEHLP_LINEW64
);
BOOL
IMAGEAPI
SymGetLineNext64
(
HANDLE
,
PIMAGEHLP_LINE64
);
BOOL
WINAPI
SymGetLineNext64
(
HANDLE
,
PIMAGEHLP_LINE64
);
BOOL
IMAGEAPI
SymGetLineNextW64
(
HANDLE
,
PIMAGEHLP_LINEW64
);
BOOL
WINAPI
SymGetLineNextW64
(
HANDLE
,
PIMAGEHLP_LINEW64
);
BOOL
IMAGEAPI
SymGetLineFromName64
(
HANDLE
,
PCSTR
,
PCSTR
,
DWORD
,
PLONG
,
PIMAGEHLP_LINE64
);
BOOL
WINAPI
SymGetLineFromName64
(
HANDLE
,
PCSTR
,
PCSTR
,
DWORD
,
PLONG
,
PIMAGEHLP_LINE64
);
BOOL
IMAGEAPI
SymGetLineFromNameW64
(
HANDLE
,
PCWSTR
,
PCWSTR
,
DWORD
,
PLONG
,
PIMAGEHLP_LINEW64
);
BOOL
WINAPI
SymGetLineFromNameW64
(
HANDLE
,
PCWSTR
,
PCWSTR
,
DWORD
,
PLONG
,
PIMAGEHLP_LINEW64
);
ULONG
IMAGEAPI
SymGetFileLineOffsets64
(
HANDLE
,
PCSTR
,
PCSTR
,
PDWORD64
,
ULONG
);
ULONG
WINAPI
SymGetFileLineOffsets64
(
HANDLE
,
PCSTR
,
PCSTR
,
PDWORD64
,
ULONG
);
BOOL
IMAGEAPI
SymGetSourceFile
(
HANDLE
,
ULONG64
,
PCSTR
,
PCSTR
,
PSTR
,
DWORD
);
BOOL
WINAPI
SymGetSourceFile
(
HANDLE
,
ULONG64
,
PCSTR
,
PCSTR
,
PSTR
,
DWORD
);
BOOL
IMAGEAPI
SymGetSourceFileW
(
HANDLE
,
ULONG64
,
PCWSTR
,
PCWSTR
,
PWSTR
,
DWORD
);
BOOL
WINAPI
SymGetSourceFileW
(
HANDLE
,
ULONG64
,
PCWSTR
,
PCWSTR
,
PWSTR
,
DWORD
);
BOOL
IMAGEAPI
SymGetSourceFileToken
(
HANDLE
,
ULONG64
,
PCSTR
,
PVOID
*
,
DWORD
*
);
BOOL
WINAPI
SymGetSourceFileToken
(
HANDLE
,
ULONG64
,
PCSTR
,
PVOID
*
,
DWORD
*
);
BOOL
IMAGEAPI
SymGetSourceFileTokenW
(
HANDLE
,
ULONG64
,
PCWSTR
,
PVOID
*
,
DWORD
*
);
BOOL
WINAPI
SymGetSourceFileTokenW
(
HANDLE
,
ULONG64
,
PCWSTR
,
PVOID
*
,
DWORD
*
);
BOOL
IMAGEAPI
SymGetSourceFileFromToken
(
HANDLE
,
PVOID
,
PCSTR
,
PSTR
,
DWORD
);
BOOL
WINAPI
SymGetSourceFileFromToken
(
HANDLE
,
PVOID
,
PCSTR
,
PSTR
,
DWORD
);
BOOL
IMAGEAPI
SymGetSourceFileFromTokenW
(
HANDLE
,
PVOID
,
PCWSTR
,
PWSTR
,
DWORD
);
BOOL
WINAPI
SymGetSourceFileFromTokenW
(
HANDLE
,
PVOID
,
PCWSTR
,
PWSTR
,
DWORD
);
BOOL
IMAGEAPI
SymGetSourceVarFromToken
(
HANDLE
,
PVOID
,
PCSTR
,
PCSTR
,
PSTR
,
DWORD
);
BOOL
WINAPI
SymGetSourceVarFromToken
(
HANDLE
,
PVOID
,
PCSTR
,
PCSTR
,
PSTR
,
DWORD
);
BOOL
IMAGEAPI
SymGetSourceVarFromTokenW
(
HANDLE
,
PVOID
,
PCWSTR
,
PCWSTR
,
PWSTR
,
DWORD
);
BOOL
WINAPI
SymGetSourceVarFromTokenW
(
HANDLE
,
PVOID
,
PCWSTR
,
PCWSTR
,
PWSTR
,
DWORD
);
typedef
struct
_SRCCODEINFO
typedef
struct
_SRCCODEINFO
{
{
...
@@ -838,64 +838,60 @@ typedef struct _SRCCODEINFOW
...
@@ -838,64 +838,60 @@ typedef struct _SRCCODEINFOW
typedef
BOOL
(
CALLBACK
*
PSYM_ENUMLINES_CALLBACK
)(
PSRCCODEINFO
,
PVOID
);
typedef
BOOL
(
CALLBACK
*
PSYM_ENUMLINES_CALLBACK
)(
PSRCCODEINFO
,
PVOID
);
typedef
BOOL
(
CALLBACK
*
PSYM_ENUMLINES_CALLBACKW
)(
PSRCCODEINFOW
,
PVOID
);
typedef
BOOL
(
CALLBACK
*
PSYM_ENUMLINES_CALLBACKW
)(
PSRCCODEINFOW
,
PVOID
);
BOOL
WIN
API
SymEnumLines
(
HANDLE
,
ULONG64
,
PCSTR
,
PCSTR
,
PSYM_ENUMLINES_CALLBACK
,
PVOID
);
BOOL
IMAGE
API
SymEnumLines
(
HANDLE
,
ULONG64
,
PCSTR
,
PCSTR
,
PSYM_ENUMLINES_CALLBACK
,
PVOID
);
BOOL
WIN
API
SymEnumLinesW
(
HANDLE
,
ULONG64
,
PCWSTR
,
PCWSTR
,
PSYM_ENUMLINES_CALLBACKW
,
PVOID
);
BOOL
IMAGE
API
SymEnumLinesW
(
HANDLE
,
ULONG64
,
PCWSTR
,
PCWSTR
,
PSYM_ENUMLINES_CALLBACKW
,
PVOID
);
BOOL
WIN
API
SymEnumSourceLines
(
HANDLE
,
ULONG64
,
PCSTR
,
PCSTR
,
DWORD
,
DWORD
,
PSYM_ENUMLINES_CALLBACK
,
PVOID
);
BOOL
IMAGE
API
SymEnumSourceLines
(
HANDLE
,
ULONG64
,
PCSTR
,
PCSTR
,
DWORD
,
DWORD
,
PSYM_ENUMLINES_CALLBACK
,
PVOID
);
BOOL
WIN
API
SymEnumSourceLinesW
(
HANDLE
,
ULONG64
,
PCWSTR
,
PCWSTR
,
DWORD
,
DWORD
,
PSYM_ENUMLINES_CALLBACKW
,
PVOID
);
BOOL
IMAGE
API
SymEnumSourceLinesW
(
HANDLE
,
ULONG64
,
PCWSTR
,
PCWSTR
,
DWORD
,
DWORD
,
PSYM_ENUMLINES_CALLBACKW
,
PVOID
);
/*************************
/*************************
* File & image handling *
* File & image handling *
*************************/
*************************/
BOOL
WIN
API
SymInitialize
(
HANDLE
,
PCSTR
,
BOOL
);
BOOL
IMAGE
API
SymInitialize
(
HANDLE
,
PCSTR
,
BOOL
);
BOOL
WIN
API
SymInitializeW
(
HANDLE
,
PCWSTR
,
BOOL
);
BOOL
IMAGE
API
SymInitializeW
(
HANDLE
,
PCWSTR
,
BOOL
);
BOOL
WIN
API
SymCleanup
(
HANDLE
);
BOOL
IMAGE
API
SymCleanup
(
HANDLE
);
HANDLE
WIN
API
FindDebugInfoFile
(
PCSTR
,
PCSTR
,
PSTR
);
HANDLE
IMAGE
API
FindDebugInfoFile
(
PCSTR
,
PCSTR
,
PSTR
);
typedef
BOOL
(
CALLBACK
*
PFIND_DEBUG_FILE_CALLBACK
)(
HANDLE
,
PCSTR
,
PVOID
);
typedef
BOOL
(
CALLBACK
*
PFIND_DEBUG_FILE_CALLBACK
)(
HANDLE
,
PCSTR
,
PVOID
);
typedef
BOOL
(
CALLBACK
*
PFIND_DEBUG_FILE_CALLBACKW
)(
HANDLE
,
PCWSTR
,
PVOID
);
typedef
BOOL
(
CALLBACK
*
PFIND_DEBUG_FILE_CALLBACKW
)(
HANDLE
,
PCWSTR
,
PVOID
);
HANDLE
WIN
API
FindDebugInfoFileEx
(
PCSTR
,
PCSTR
,
PSTR
,
PFIND_DEBUG_FILE_CALLBACK
,
PVOID
);
HANDLE
IMAGE
API
FindDebugInfoFileEx
(
PCSTR
,
PCSTR
,
PSTR
,
PFIND_DEBUG_FILE_CALLBACK
,
PVOID
);
HANDLE
WIN
API
FindDebugInfoFileExW
(
PCWSTR
,
PCWSTR
,
PWSTR
,
PFIND_DEBUG_FILE_CALLBACKW
,
PVOID
);
HANDLE
IMAGE
API
FindDebugInfoFileExW
(
PCWSTR
,
PCWSTR
,
PWSTR
,
PFIND_DEBUG_FILE_CALLBACKW
,
PVOID
);
HANDLE
WIN
API
SymFindDebugInfoFile
(
HANDLE
,
PCSTR
,
PSTR
,
PFIND_DEBUG_FILE_CALLBACK
,
PVOID
);
HANDLE
IMAGE
API
SymFindDebugInfoFile
(
HANDLE
,
PCSTR
,
PSTR
,
PFIND_DEBUG_FILE_CALLBACK
,
PVOID
);
HANDLE
WIN
API
SymFindDebugInfoFileW
(
HANDLE
,
PCWSTR
,
PWSTR
,
PFIND_DEBUG_FILE_CALLBACKW
,
PVOID
);
HANDLE
IMAGE
API
SymFindDebugInfoFileW
(
HANDLE
,
PCWSTR
,
PWSTR
,
PFIND_DEBUG_FILE_CALLBACKW
,
PVOID
);
typedef
BOOL
(
CALLBACK
*
PFINDFILEINPATHCALLBACK
)(
PCSTR
,
PVOID
);
typedef
BOOL
(
CALLBACK
*
PFINDFILEINPATHCALLBACK
)(
PCSTR
,
PVOID
);
typedef
BOOL
(
CALLBACK
*
PFINDFILEINPATHCALLBACKW
)(
PCWSTR
,
PVOID
);
typedef
BOOL
(
CALLBACK
*
PFINDFILEINPATHCALLBACKW
)(
PCWSTR
,
PVOID
);
BOOL
WINAPI
FindFileInPath
(
HANDLE
,
PCSTR
,
PCSTR
,
PVOID
,
DWORD
,
DWORD
,
DWORD
,
BOOL
IMAGEAPI
FindFileInPath
(
HANDLE
,
PCSTR
,
PCSTR
,
PVOID
,
DWORD
,
DWORD
,
DWORD
,
PSTR
,
PFINDFILEINPATHCALLBACK
,
PVOID
);
PSTR
,
PFINDFILEINPATHCALLBACK
,
PVOID
);
BOOL
IMAGEAPI
SymFindFileInPath
(
HANDLE
,
PCSTR
,
PCSTR
,
PVOID
,
DWORD
,
DWORD
,
DWORD
,
PSTR
,
PFINDFILEINPATHCALLBACK
,
PVOID
);
BOOL
WINAPI
SymFindFileInPath
(
HANDLE
,
PCSTR
,
PCSTR
,
PVOID
,
DWORD
,
DWORD
,
DWORD
,
BOOL
IMAGEAPI
SymFindFileInPathW
(
HANDLE
,
PCWSTR
,
PCWSTR
,
PVOID
,
DWORD
,
DWORD
,
DWORD
,
PWSTR
,
PFINDFILEINPATHCALLBACKW
,
PVOID
);
PSTR
,
PFINDFILEINPATHCALLBACK
,
PVOID
);
HANDLE
IMAGEAPI
FindExecutableImage
(
PCSTR
,
PCSTR
,
PSTR
);
BOOL
WINAPI
SymFindFileInPathW
(
HANDLE
,
PCWSTR
,
PCWSTR
,
PVOID
,
DWORD
,
DWORD
,
DWORD
,
PWSTR
,
PFINDFILEINPATHCALLBACKW
,
PVOID
);
HANDLE
WINAPI
FindExecutableImage
(
PCSTR
,
PCSTR
,
PSTR
);
typedef
BOOL
(
CALLBACK
*
PFIND_EXE_FILE_CALLBACK
)(
HANDLE
,
PCSTR
,
PVOID
);
typedef
BOOL
(
CALLBACK
*
PFIND_EXE_FILE_CALLBACK
)(
HANDLE
,
PCSTR
,
PVOID
);
typedef
BOOL
(
CALLBACK
*
PFIND_EXE_FILE_CALLBACKW
)(
HANDLE
,
PCWSTR
,
PVOID
);
typedef
BOOL
(
CALLBACK
*
PFIND_EXE_FILE_CALLBACKW
)(
HANDLE
,
PCWSTR
,
PVOID
);
HANDLE
WINAPI
FindExecutableImageEx
(
PCSTR
,
PCSTR
,
PSTR
,
PFIND_EXE_FILE_CALLBACK
,
PVOID
);
HANDLE
IMAGEAPI
FindExecutableImageEx
(
PCSTR
,
PCSTR
,
PSTR
,
PFIND_EXE_FILE_CALLBACK
,
PVOID
);
HANDLE
WINAPI
FindExecutableImageExW
(
PCWSTR
,
PCWSTR
,
PWSTR
,
PFIND_EXE_FILE_CALLBACKW
,
PVOID
);
HANDLE
IMAGEAPI
FindExecutableImageExW
(
PCWSTR
,
PCWSTR
,
PWSTR
,
PFIND_EXE_FILE_CALLBACKW
,
PVOID
);
HANDLE
WINAPI
SymFindExecutableImage
(
HANDLE
,
PCSTR
,
PSTR
,
PFIND_EXE_FILE_CALLBACK
,
PVOID
);
HANDLE
IMAGEAPI
SymFindExecutableImage
(
HANDLE
,
PCSTR
,
PSTR
,
PFIND_EXE_FILE_CALLBACK
,
PVOID
);
HANDLE
WINAPI
SymFindExecutableImageW
(
HANDLE
,
PCWSTR
,
PWSTR
,
PFIND_EXE_FILE_CALLBACKW
,
PVOID
);
HANDLE
IMAGEAPI
SymFindExecutableImageW
(
HANDLE
,
PCWSTR
,
PWSTR
,
PFIND_EXE_FILE_CALLBACKW
,
PVOID
);
PIMAGE_NT_HEADERS
WINAPI
ImageNtHeader
(
PVOID
);
PIMAGE_NT_HEADERS
IMAGEAPI
ImageNtHeader
(
PVOID
);
PVOID
WINAPI
ImageDirectoryEntryToDataEx
(
PVOID
,
BOOLEAN
,
USHORT
,
PULONG
,
PVOID
IMAGEAPI
ImageDirectoryEntryToDataEx
(
PVOID
,
BOOLEAN
,
USHORT
,
PULONG
,
PIMAGE_SECTION_HEADER
*
);
PIMAGE_SECTION_HEADER
*
);
PVOID
IMAGEAPI
ImageDirectoryEntryToData
(
PVOID
,
BOOLEAN
,
USHORT
,
PULONG
);
PVOID
WINAPI
ImageDirectoryEntryToData
(
PVOID
,
BOOLEAN
,
USHORT
,
PULONG
);
PIMAGE_SECTION_HEADER
IMAGEAPI
ImageRvaToSection
(
PIMAGE_NT_HEADERS
,
PVOID
,
ULONG
);
PIMAGE_SECTION_HEADER
WINAPI
ImageRvaToSection
(
PIMAGE_NT_HEADERS
,
PVOID
,
ULONG
);
PVOID
IMAGEAPI
ImageRvaToVa
(
PIMAGE_NT_HEADERS
,
PVOID
,
ULONG
,
PIMAGE_SECTION_HEADER
*
);
PVOID
WINAPI
ImageRvaToVa
(
PIMAGE_NT_HEADERS
,
PVOID
,
ULONG
,
PIMAGE_SECTION_HEADER
*
);
BOOL
IMAGEAPI
SymGetSearchPath
(
HANDLE
,
PSTR
,
DWORD
);
BOOL
WINAPI
SymGetSearchPath
(
HANDLE
,
PSTR
,
DWORD
);
BOOL
IMAGEAPI
SymGetSearchPathW
(
HANDLE
,
PWSTR
,
DWORD
);
BOOL
WINAPI
SymGetSearchPathW
(
HANDLE
,
PWSTR
,
DWORD
);
BOOL
IMAGEAPI
SymSetSearchPath
(
HANDLE
,
PCSTR
);
BOOL
WINAPI
SymSetSearchPath
(
HANDLE
,
PCSTR
);
BOOL
IMAGEAPI
SymSetSearchPathW
(
HANDLE
,
PCWSTR
);
BOOL
WINAPI
SymSetSearchPathW
(
HANDLE
,
PCWSTR
);
DWORD
IMAGEAPI
GetTimestampForLoadedLibrary
(
HMODULE
);
DWORD
WINAPI
GetTimestampForLoadedLibrary
(
HMODULE
);
BOOL
IMAGEAPI
MakeSureDirectoryPathExists
(
PCSTR
);
BOOL
WINAPI
MakeSureDirectoryPathExists
(
PCSTR
);
BOOL
IMAGEAPI
SearchTreeForFile
(
PCSTR
,
PCSTR
,
PSTR
);
BOOL
WINAPI
SearchTreeForFile
(
PCSTR
,
PCSTR
,
PSTR
);
BOOL
IMAGEAPI
SearchTreeForFileW
(
PCWSTR
,
PCWSTR
,
PWSTR
);
BOOL
WINAPI
SearchTreeForFileW
(
PCWSTR
,
PCWSTR
,
PWSTR
);
typedef
BOOL
(
CALLBACK
*
PENUMDIRTREE_CALLBACK
)(
PCSTR
,
PVOID
);
typedef
BOOL
(
CALLBACK
*
PENUMDIRTREE_CALLBACK
)(
PCSTR
,
PVOID
);
typedef
BOOL
(
CALLBACK
*
PENUMDIRTREE_CALLBACKW
)(
PCWSTR
,
PVOID
);
typedef
BOOL
(
CALLBACK
*
PENUMDIRTREE_CALLBACKW
)(
PCWSTR
,
PVOID
);
BOOL
WIN
API
EnumDirTree
(
HANDLE
,
PCSTR
,
PCSTR
,
PSTR
,
PENUMDIRTREE_CALLBACK
,
PVOID
);
BOOL
IMAGE
API
EnumDirTree
(
HANDLE
,
PCSTR
,
PCSTR
,
PSTR
,
PENUMDIRTREE_CALLBACK
,
PVOID
);
BOOL
WIN
API
EnumDirTreeW
(
HANDLE
,
PCWSTR
,
PCWSTR
,
PWSTR
,
PENUMDIRTREE_CALLBACKW
,
PVOID
);
BOOL
IMAGE
API
EnumDirTreeW
(
HANDLE
,
PCWSTR
,
PCWSTR
,
PWSTR
,
PENUMDIRTREE_CALLBACKW
,
PVOID
);
BOOL
WIN
API
SymMatchFileName
(
PCSTR
,
PCSTR
,
PSTR
*
,
PSTR
*
);
BOOL
IMAGE
API
SymMatchFileName
(
PCSTR
,
PCSTR
,
PSTR
*
,
PSTR
*
);
BOOL
WIN
API
SymMatchFileNameW
(
PCWSTR
,
PCWSTR
,
PWSTR
*
,
PWSTR
*
);
BOOL
IMAGE
API
SymMatchFileNameW
(
PCWSTR
,
PCWSTR
,
PWSTR
*
,
PWSTR
*
);
PCHAR
WIN
API
SymSetHomeDirectory
(
HANDLE
,
PCSTR
);
PCHAR
IMAGE
API
SymSetHomeDirectory
(
HANDLE
,
PCSTR
);
PWSTR
WIN
API
SymSetHomeDirectoryW
(
HANDLE
,
PCWSTR
);
PWSTR
IMAGE
API
SymSetHomeDirectoryW
(
HANDLE
,
PCWSTR
);
PCHAR
WIN
API
SymGetHomeDirectory
(
DWORD
,
PSTR
,
size_t
);
PCHAR
IMAGE
API
SymGetHomeDirectory
(
DWORD
,
PSTR
,
size_t
);
PWSTR
WIN
API
SymGetHomeDirectoryW
(
DWORD
,
PWSTR
,
size_t
);
PWSTR
IMAGE
API
SymGetHomeDirectoryW
(
DWORD
,
PWSTR
,
size_t
);
#define hdBase 0
#define hdBase 0
#define hdSym 1
#define hdSym 1
#define hdSrc 2
#define hdSrc 2
...
@@ -904,10 +900,10 @@ PWSTR WINAPI SymGetHomeDirectoryW(DWORD, PWSTR, size_t);
...
@@ -904,10 +900,10 @@ PWSTR WINAPI SymGetHomeDirectoryW(DWORD, PWSTR, size_t);
/*************************
/*************************
* Context management *
* Context management *
*************************/
*************************/
BOOL
WIN
API
SymSetContext
(
HANDLE
,
PIMAGEHLP_STACK_FRAME
,
PIMAGEHLP_CONTEXT
);
BOOL
IMAGE
API
SymSetContext
(
HANDLE
,
PIMAGEHLP_STACK_FRAME
,
PIMAGEHLP_CONTEXT
);
BOOL
WIN
API
SymSetScopeFromIndex
(
HANDLE
,
ULONG64
,
ULONG
);
BOOL
IMAGE
API
SymSetScopeFromIndex
(
HANDLE
,
ULONG64
,
ULONG
);
BOOL
WIN
API
SymSetScopeFromAddr
(
HANDLE
,
ULONG64
);
BOOL
IMAGE
API
SymSetScopeFromAddr
(
HANDLE
,
ULONG64
);
BOOL
WIN
API
SymSetScopeFromInlineContext
(
HANDLE
,
ULONG64
,
ULONG
);
BOOL
IMAGE
API
SymSetScopeFromInlineContext
(
HANDLE
,
ULONG64
,
ULONG
);
/*************************
/*************************
* Stack management *
* Stack management *
...
@@ -1004,28 +1000,28 @@ typedef BOOL (CALLBACK *PREAD_PROCESS_MEMORY_ROUTINE64)
...
@@ -1004,28 +1000,28 @@ typedef BOOL (CALLBACK *PREAD_PROCESS_MEMORY_ROUTINE64)
typedef
PVOID
(
CALLBACK
*
PFUNCTION_TABLE_ACCESS_ROUTINE64
)(
HANDLE
,
DWORD64
);
typedef
PVOID
(
CALLBACK
*
PFUNCTION_TABLE_ACCESS_ROUTINE64
)(
HANDLE
,
DWORD64
);
typedef
DWORD64
(
CALLBACK
*
PGET_MODULE_BASE_ROUTINE64
)(
HANDLE
,
DWORD64
);
typedef
DWORD64
(
CALLBACK
*
PGET_MODULE_BASE_ROUTINE64
)(
HANDLE
,
DWORD64
);
typedef
DWORD64
(
CALLBACK
*
PTRANSLATE_ADDRESS_ROUTINE64
)(
HANDLE
,
HANDLE
,
LPADDRESS64
);
typedef
DWORD64
(
CALLBACK
*
PTRANSLATE_ADDRESS_ROUTINE64
)(
HANDLE
,
HANDLE
,
LPADDRESS64
);
BOOL
WIN
API
StackWalk64
(
DWORD
,
HANDLE
,
HANDLE
,
LPSTACKFRAME64
,
PVOID
,
BOOL
IMAGE
API
StackWalk64
(
DWORD
,
HANDLE
,
HANDLE
,
LPSTACKFRAME64
,
PVOID
,
PREAD_PROCESS_MEMORY_ROUTINE64
,
PREAD_PROCESS_MEMORY_ROUTINE64
,
PFUNCTION_TABLE_ACCESS_ROUTINE64
,
PFUNCTION_TABLE_ACCESS_ROUTINE64
,
PGET_MODULE_BASE_ROUTINE64
,
PGET_MODULE_BASE_ROUTINE64
,
PTRANSLATE_ADDRESS_ROUTINE64
);
PTRANSLATE_ADDRESS_ROUTINE64
);
#define SYM_STKWALK_DEFAULT 0x00000000
#define SYM_STKWALK_DEFAULT 0x00000000
#define SYM_STKWALK_FORCE_FRAMEPTR 0x00000001
#define SYM_STKWALK_FORCE_FRAMEPTR 0x00000001
BOOL
WIN
API
StackWalkEx
(
DWORD
,
HANDLE
,
HANDLE
,
LPSTACKFRAME_EX
,
PVOID
,
BOOL
IMAGE
API
StackWalkEx
(
DWORD
,
HANDLE
,
HANDLE
,
LPSTACKFRAME_EX
,
PVOID
,
PREAD_PROCESS_MEMORY_ROUTINE64
,
PREAD_PROCESS_MEMORY_ROUTINE64
,
PFUNCTION_TABLE_ACCESS_ROUTINE64
,
PFUNCTION_TABLE_ACCESS_ROUTINE64
,
PGET_MODULE_BASE_ROUTINE64
,
PGET_MODULE_BASE_ROUTINE64
,
PTRANSLATE_ADDRESS_ROUTINE64
,
PTRANSLATE_ADDRESS_ROUTINE64
,
DWORD
);
DWORD
);
PVOID
WIN
API
SymFunctionTableAccess64
(
HANDLE
,
DWORD64
);
PVOID
IMAGE
API
SymFunctionTableAccess64
(
HANDLE
,
DWORD64
);
typedef
PVOID
(
CALLBACK
*
PSYMBOL_FUNCENTRY_CALLBACK64
)(
HANDLE
,
ULONG64
,
ULONG64
);
typedef
PVOID
(
CALLBACK
*
PSYMBOL_FUNCENTRY_CALLBACK64
)(
HANDLE
,
ULONG64
,
ULONG64
);
BOOL
WIN
API
SymRegisterFunctionEntryCallback64
(
HANDLE
,
PSYMBOL_FUNCENTRY_CALLBACK64
,
ULONG64
);
BOOL
IMAGE
API
SymRegisterFunctionEntryCallback64
(
HANDLE
,
PSYMBOL_FUNCENTRY_CALLBACK64
,
ULONG64
);
BOOL
WIN
API
SymGetUnwindInfo
(
HANDLE
,
DWORD64
,
PVOID
,
PULONG
);
BOOL
IMAGE
API
SymGetUnwindInfo
(
HANDLE
,
DWORD64
,
PVOID
,
PULONG
);
/* Inline context related APIs */
/* Inline context related APIs */
DWORD
WIN
API
SymAddrIncludeInlineTrace
(
HANDLE
,
DWORD64
);
DWORD
IMAGE
API
SymAddrIncludeInlineTrace
(
HANDLE
,
DWORD64
);
#define SYM_INLINE_COMP_ERROR 0
#define SYM_INLINE_COMP_ERROR 0
#define SYM_INLINE_COMP_IDENTICAL 1
#define SYM_INLINE_COMP_IDENTICAL 1
...
@@ -1034,8 +1030,8 @@ DWORD WINAPI SymAddrIncludeInlineTrace(HANDLE, DWORD64);
...
@@ -1034,8 +1030,8 @@ DWORD WINAPI SymAddrIncludeInlineTrace(HANDLE, DWORD64);
#define SYM_INLINE_COMP_STEPOVER 4
#define SYM_INLINE_COMP_STEPOVER 4
#define SYM_INLINE_COMP_DIFFERENT 5
#define SYM_INLINE_COMP_DIFFERENT 5
DWORD
WIN
API
SymCompareInlineTrace
(
HANDLE
,
DWORD64
,
DWORD
,
DWORD64
,
DWORD64
,
DWORD64
);
DWORD
IMAGE
API
SymCompareInlineTrace
(
HANDLE
,
DWORD64
,
DWORD
,
DWORD64
,
DWORD64
,
DWORD64
);
BOOL
WIN
API
SymQueryInlineTrace
(
HANDLE
,
DWORD64
,
DWORD
,
DWORD64
,
DWORD64
,
LPDWORD
,
LPDWORD
);
BOOL
IMAGE
API
SymQueryInlineTrace
(
HANDLE
,
DWORD64
,
DWORD
,
DWORD64
,
DWORD64
,
LPDWORD
,
LPDWORD
);
/*************************
/*************************
* Version, global stuff *
* Version, global stuff *
...
@@ -1051,8 +1047,8 @@ typedef struct API_VERSION
...
@@ -1051,8 +1047,8 @@ typedef struct API_VERSION
USHORT
Reserved
;
USHORT
Reserved
;
}
API_VERSION
,
*
LPAPI_VERSION
;
}
API_VERSION
,
*
LPAPI_VERSION
;
LPAPI_VERSION
WIN
API
ImagehlpApiVersion
(
void
);
LPAPI_VERSION
IMAGE
API
ImagehlpApiVersion
(
void
);
LPAPI_VERSION
WIN
API
ImagehlpApiVersionEx
(
LPAPI_VERSION
);
LPAPI_VERSION
IMAGE
API
ImagehlpApiVersionEx
(
LPAPI_VERSION
);
#ifndef _WIN64
#ifndef _WIN64
typedef
struct
_IMAGE_DEBUG_INFORMATION
typedef
struct
_IMAGE_DEBUG_INFORMATION
...
@@ -1090,8 +1086,8 @@ typedef struct _IMAGE_DEBUG_INFORMATION
...
@@ -1090,8 +1086,8 @@ typedef struct _IMAGE_DEBUG_INFORMATION
DWORD
Reserved
[
2
];
DWORD
Reserved
[
2
];
}
IMAGE_DEBUG_INFORMATION
,
*
PIMAGE_DEBUG_INFORMATION
;
}
IMAGE_DEBUG_INFORMATION
,
*
PIMAGE_DEBUG_INFORMATION
;
PIMAGE_DEBUG_INFORMATION
WIN
API
MapDebugInformation
(
HANDLE
,
PCSTR
,
PCSTR
,
ULONG
);
PIMAGE_DEBUG_INFORMATION
IMAGE
API
MapDebugInformation
(
HANDLE
,
PCSTR
,
PCSTR
,
ULONG
);
BOOL
WIN
API
UnmapDebugInformation
(
PIMAGE_DEBUG_INFORMATION
);
BOOL
IMAGE
API
UnmapDebugInformation
(
PIMAGE_DEBUG_INFORMATION
);
#endif
#endif
typedef
enum
typedef
enum
...
@@ -1109,21 +1105,19 @@ typedef enum
...
@@ -1109,21 +1105,19 @@ typedef enum
#endif
#endif
}
IMAGEHLP_EXTENDED_OPTIONS
;
}
IMAGEHLP_EXTENDED_OPTIONS
;
DWORD
WINAPI
SymGetOptions
(
void
);
DWORD
IMAGEAPI
SymGetOptions
(
void
);
DWORD
WINAPI
SymSetOptions
(
DWORD
);
DWORD
IMAGEAPI
SymSetOptions
(
DWORD
);
BOOL
IMAGEAPI
SymGetExtendedOption
(
IMAGEHLP_EXTENDED_OPTIONS
option
);
BOOL
WINAPI
SymGetExtendedOption
(
IMAGEHLP_EXTENDED_OPTIONS
option
);
BOOL
IMAGEAPI
SymSetExtendedOption
(
IMAGEHLP_EXTENDED_OPTIONS
option
,
BOOL
value
);
BOOL
WINAPI
SymSetExtendedOption
(
IMAGEHLP_EXTENDED_OPTIONS
option
,
BOOL
value
);
BOOL
IMAGEAPI
SymSetParentWindow
(
HWND
);
BOOL
WINAPI
SymSetParentWindow
(
HWND
);
/***************************
/***************************
* Symbol servers & stores *
* Symbol servers & stores *
***************************/
***************************/
BOOL
WIN
API
SymSrvGetFileIndexes
(
PCSTR
,
GUID
*
,
PDWORD
,
PDWORD
,
DWORD
);
BOOL
IMAGE
API
SymSrvGetFileIndexes
(
PCSTR
,
GUID
*
,
PDWORD
,
PDWORD
,
DWORD
);
BOOL
WIN
API
SymSrvGetFileIndexesW
(
PCWSTR
,
GUID
*
,
PDWORD
,
PDWORD
,
DWORD
);
BOOL
IMAGE
API
SymSrvGetFileIndexesW
(
PCWSTR
,
GUID
*
,
PDWORD
,
PDWORD
,
DWORD
);
BOOL
WIN
API
SymSrvGetFileIndexInfo
(
PCSTR
,
PSYMSRV_INDEX_INFO
,
DWORD
);
BOOL
IMAGE
API
SymSrvGetFileIndexInfo
(
PCSTR
,
PSYMSRV_INDEX_INFO
,
DWORD
);
BOOL
WIN
API
SymSrvGetFileIndexInfoW
(
PCWSTR
,
PSYMSRV_INDEX_INFOW
,
DWORD
);
BOOL
IMAGE
API
SymSrvGetFileIndexInfoW
(
PCWSTR
,
PSYMSRV_INDEX_INFOW
,
DWORD
);
typedef
BOOL
(
WINAPI
*
PSYMBOLSERVERPROC
)(
PCSTR
,
PCSTR
,
PVOID
,
DWORD
,
DWORD
,
PSTR
);
typedef
BOOL
(
WINAPI
*
PSYMBOLSERVERPROC
)(
PCSTR
,
PCSTR
,
PVOID
,
DWORD
,
DWORD
,
PSTR
);
typedef
BOOL
(
WINAPI
*
PSYMBOLSERVERPROCA
)(
PCSTR
,
PCSTR
,
PVOID
,
DWORD
,
DWORD
,
PSTR
);
typedef
BOOL
(
WINAPI
*
PSYMBOLSERVERPROCA
)(
PCSTR
,
PCSTR
,
PVOID
,
DWORD
,
DWORD
,
PSTR
);
...
@@ -1216,33 +1210,33 @@ typedef BOOL (CALLBACK *PSYMBOL_REGISTERED_CALLBACK)(HANDLE, ULONG, PVOID, PVOI
...
@@ -1216,33 +1210,33 @@ typedef BOOL (CALLBACK *PSYMBOL_REGISTERED_CALLBACK)(HANDLE, ULONG, PVOID, PVOI
typedef
PVOID
(
CALLBACK
*
PSYMBOL_FUNCENTRY_CALLBACK
)(
HANDLE
,
DWORD
,
PVOID
);
typedef
PVOID
(
CALLBACK
*
PSYMBOL_FUNCENTRY_CALLBACK
)(
HANDLE
,
DWORD
,
PVOID
);
typedef
DWORD
(
CALLBACK
*
PTRANSLATE_ADDRESS_ROUTINE
)(
HANDLE
,
HANDLE
,
LPADDRESS
);
typedef
DWORD
(
CALLBACK
*
PTRANSLATE_ADDRESS_ROUTINE
)(
HANDLE
,
HANDLE
,
LPADDRESS
);
BOOL
WIN
API
EnumerateLoadedModules
(
HANDLE
,
PENUMLOADED_MODULES_CALLBACK
,
PVOID
);
BOOL
IMAGE
API
EnumerateLoadedModules
(
HANDLE
,
PENUMLOADED_MODULES_CALLBACK
,
PVOID
);
BOOL
WIN
API
StackWalk
(
DWORD
,
HANDLE
,
HANDLE
,
LPSTACKFRAME
,
PVOID
,
PREAD_PROCESS_MEMORY_ROUTINE
,
PFUNCTION_TABLE_ACCESS_ROUTINE
,
PGET_MODULE_BASE_ROUTINE
,
PTRANSLATE_ADDRESS_ROUTINE
);
BOOL
IMAGE
API
StackWalk
(
DWORD
,
HANDLE
,
HANDLE
,
LPSTACKFRAME
,
PVOID
,
PREAD_PROCESS_MEMORY_ROUTINE
,
PFUNCTION_TABLE_ACCESS_ROUTINE
,
PGET_MODULE_BASE_ROUTINE
,
PTRANSLATE_ADDRESS_ROUTINE
);
BOOL
WIN
API
SymEnumerateModules
(
HANDLE
,
PSYM_ENUMMODULES_CALLBACK
,
PVOID
);
BOOL
IMAGE
API
SymEnumerateModules
(
HANDLE
,
PSYM_ENUMMODULES_CALLBACK
,
PVOID
);
BOOL
WIN
API
SymEnumerateSymbols
(
HANDLE
,
ULONG
,
PSYM_ENUMSYMBOLS_CALLBACK
,
PVOID
);
BOOL
IMAGE
API
SymEnumerateSymbols
(
HANDLE
,
ULONG
,
PSYM_ENUMSYMBOLS_CALLBACK
,
PVOID
);
BOOL
WIN
API
SymEnumerateSymbolsW
(
HANDLE
,
ULONG
,
PSYM_ENUMSYMBOLS_CALLBACKW
,
PVOID
);
BOOL
IMAGE
API
SymEnumerateSymbolsW
(
HANDLE
,
ULONG
,
PSYM_ENUMSYMBOLS_CALLBACKW
,
PVOID
);
PVOID
WIN
API
SymFunctionTableAccess
(
HANDLE
,
DWORD
);
PVOID
IMAGE
API
SymFunctionTableAccess
(
HANDLE
,
DWORD
);
BOOL
WIN
API
SymGetLineFromAddr
(
HANDLE
,
DWORD
,
PDWORD
,
PIMAGEHLP_LINE
);
BOOL
IMAGE
API
SymGetLineFromAddr
(
HANDLE
,
DWORD
,
PDWORD
,
PIMAGEHLP_LINE
);
BOOL
WIN
API
SymGetLineFromAddrW
(
HANDLE
,
DWORD
,
PDWORD
,
PIMAGEHLP_LINEW
);
BOOL
IMAGE
API
SymGetLineFromAddrW
(
HANDLE
,
DWORD
,
PDWORD
,
PIMAGEHLP_LINEW
);
BOOL
WIN
API
SymGetLineFromName
(
HANDLE
,
PCSTR
,
PCSTR
,
DWORD
,
PLONG
,
PIMAGEHLP_LINE
);
BOOL
IMAGE
API
SymGetLineFromName
(
HANDLE
,
PCSTR
,
PCSTR
,
DWORD
,
PLONG
,
PIMAGEHLP_LINE
);
BOOL
WIN
API
SymGetLineNext
(
HANDLE
,
PIMAGEHLP_LINE
);
BOOL
IMAGE
API
SymGetLineNext
(
HANDLE
,
PIMAGEHLP_LINE
);
BOOL
WIN
API
SymGetLineNextW
(
HANDLE
,
PIMAGEHLP_LINEW
);
BOOL
IMAGE
API
SymGetLineNextW
(
HANDLE
,
PIMAGEHLP_LINEW
);
BOOL
WIN
API
SymGetLinePrev
(
HANDLE
,
PIMAGEHLP_LINE
);
BOOL
IMAGE
API
SymGetLinePrev
(
HANDLE
,
PIMAGEHLP_LINE
);
BOOL
WIN
API
SymGetLinePrevW
(
HANDLE
,
PIMAGEHLP_LINEW
);
BOOL
IMAGE
API
SymGetLinePrevW
(
HANDLE
,
PIMAGEHLP_LINEW
);
DWORD
WIN
API
SymGetModuleBase
(
HANDLE
,
DWORD
);
DWORD
IMAGE
API
SymGetModuleBase
(
HANDLE
,
DWORD
);
BOOL
WIN
API
SymGetModuleInfo
(
HANDLE
,
DWORD
,
PIMAGEHLP_MODULE
);
BOOL
IMAGE
API
SymGetModuleInfo
(
HANDLE
,
DWORD
,
PIMAGEHLP_MODULE
);
BOOL
WIN
API
SymGetModuleInfoW
(
HANDLE
,
DWORD
,
PIMAGEHLP_MODULEW
);
BOOL
IMAGE
API
SymGetModuleInfoW
(
HANDLE
,
DWORD
,
PIMAGEHLP_MODULEW
);
BOOL
WIN
API
SymGetSymFromAddr
(
HANDLE
,
DWORD
,
PDWORD
,
PIMAGEHLP_SYMBOL
);
BOOL
IMAGE
API
SymGetSymFromAddr
(
HANDLE
,
DWORD
,
PDWORD
,
PIMAGEHLP_SYMBOL
);
BOOL
WIN
API
SymGetSymFromName
(
HANDLE
,
PCSTR
,
PIMAGEHLP_SYMBOL
);
BOOL
IMAGE
API
SymGetSymFromName
(
HANDLE
,
PCSTR
,
PIMAGEHLP_SYMBOL
);
BOOL
WIN
API
SymGetSymNext
(
HANDLE
,
PIMAGEHLP_SYMBOL
);
BOOL
IMAGE
API
SymGetSymNext
(
HANDLE
,
PIMAGEHLP_SYMBOL
);
BOOL
WIN
API
SymGetSymNextW
(
HANDLE
,
PIMAGEHLP_SYMBOLW
);
BOOL
IMAGE
API
SymGetSymNextW
(
HANDLE
,
PIMAGEHLP_SYMBOLW
);
BOOL
WIN
API
SymGetSymPrev
(
HANDLE
,
PIMAGEHLP_SYMBOL
);
BOOL
IMAGE
API
SymGetSymPrev
(
HANDLE
,
PIMAGEHLP_SYMBOL
);
BOOL
WIN
API
SymGetSymPrevW
(
HANDLE
,
PIMAGEHLP_SYMBOLW
);
BOOL
IMAGE
API
SymGetSymPrevW
(
HANDLE
,
PIMAGEHLP_SYMBOLW
);
DWORD
WIN
API
SymLoadModule
(
HANDLE
,
HANDLE
,
PCSTR
,
PCSTR
,
DWORD
,
DWORD
);
DWORD
IMAGE
API
SymLoadModule
(
HANDLE
,
HANDLE
,
PCSTR
,
PCSTR
,
DWORD
,
DWORD
);
BOOL
WIN
API
SymRegisterCallback
(
HANDLE
,
PSYMBOL_REGISTERED_CALLBACK
,
PVOID
);
BOOL
IMAGE
API
SymRegisterCallback
(
HANDLE
,
PSYMBOL_REGISTERED_CALLBACK
,
PVOID
);
BOOL
WIN
API
SymRegisterFunctionEntryCallback
(
HANDLE
,
PSYMBOL_FUNCENTRY_CALLBACK
,
PVOID
);
BOOL
IMAGE
API
SymRegisterFunctionEntryCallback
(
HANDLE
,
PSYMBOL_FUNCENTRY_CALLBACK
,
PVOID
);
BOOL
WIN
API
SymUnDName
(
PIMAGEHLP_SYMBOL
,
PSTR
,
DWORD
);
BOOL
IMAGE
API
SymUnDName
(
PIMAGEHLP_SYMBOL
,
PSTR
,
DWORD
);
BOOL
WIN
API
SymUnloadModule
(
HANDLE
,
DWORD
);
BOOL
IMAGE
API
SymUnloadModule
(
HANDLE
,
DWORD
);
#endif
#endif
...
...
include/imagehlp.h
View file @
f6d80847
...
@@ -28,7 +28,12 @@
...
@@ -28,7 +28,12 @@
extern
"C"
{
extern
"C"
{
#endif
/* defined(__cplusplus) */
#endif
/* defined(__cplusplus) */
#ifdef _IMAGEHLP_SOURCE_
#define IMAGEAPI WINAPI
#define IMAGEAPI WINAPI
#else
#define IMAGEAPI DECLSPEC_IMPORT WINAPI
#endif
#define DBHLPAPI IMAGEAPI
#define DBHLPAPI IMAGEAPI
#define API_VERSION_NUMBER 7
/* 7 is the default */
#define API_VERSION_NUMBER 7
/* 7 is the default */
...
@@ -224,13 +229,8 @@ typedef struct _IMAGE_DEBUG_INFORMATION {
...
@@ -224,13 +229,8 @@ typedef struct _IMAGE_DEBUG_INFORMATION {
DWORD
Reserved
[
3
];
DWORD
Reserved
[
3
];
}
IMAGE_DEBUG_INFORMATION
,
*
PIMAGE_DEBUG_INFORMATION
;
}
IMAGE_DEBUG_INFORMATION
,
*
PIMAGE_DEBUG_INFORMATION
;
PIMAGE_DEBUG_INFORMATION
WINAPI
MapDebugInformation
(
PIMAGE_DEBUG_INFORMATION
IMAGEAPI
MapDebugInformation
(
HANDLE
FileHandle
,
PCSTR
FileName
,
PCSTR
SymbolPath
,
ULONG
ImageBase
);
HANDLE
FileHandle
,
PCSTR
FileName
,
BOOL
IMAGEAPI
UnmapDebugInformation
(
PIMAGE_DEBUG_INFORMATION
DebugInfo
);
PCSTR
SymbolPath
,
ULONG
ImageBase
);
BOOL
WINAPI
UnmapDebugInformation
(
PIMAGE_DEBUG_INFORMATION
DebugInfo
);
#endif
#endif
typedef
struct
_ADDRESS
{
typedef
struct
_ADDRESS
{
...
@@ -794,552 +794,177 @@ typedef DWORD (CALLBACK *PTRANSLATE_ADDRESS_ROUTINE64)(
...
@@ -794,552 +794,177 @@ typedef DWORD (CALLBACK *PTRANSLATE_ADDRESS_ROUTINE64)(
* Functions
* Functions
*/
*/
BOOL
WINAPI
BindImage
(
BOOL
IMAGEAPI
BindImage
(
PCSTR
ImageName
,
PCSTR
DllPath
,
PCSTR
SymbolPath
);
PCSTR
ImageName
,
PCSTR
DllPath
,
PCSTR
SymbolPath
BOOL
IMAGEAPI
BindImageEx
(
DWORD
Flags
,
PCSTR
ImageName
,
PCSTR
DllPath
,
PCSTR
SymbolPath
,
PIMAGEHLP_STATUS_ROUTINE
StatusRoutine
);
);
PIMAGE_NT_HEADERS
IMAGEAPI
CheckSumMappedFile
(
LPVOID
BaseAddress
,
DWORD
FileLength
,
LPDWORD
HeaderSum
,
LPDWORD
CheckSum
);
BOOL
WINAPI
BindImageEx
(
BOOL
IMAGEAPI
EnumDirTree
(
HANDLE
,
PCSTR
,
PCSTR
,
PSTR
,
PENUMDIRTREE_CALLBACK
,
PVOID
);
DWORD
Flags
,
PCSTR
ImageName
,
PCSTR
DllPath
,
PCSTR
SymbolPath
,
BOOL
IMAGEAPI
EnumDirTreeW
(
HANDLE
,
PCWSTR
,
PCWSTR
,
PWSTR
,
PENUMDIRTREE_CALLBACKW
,
PVOID
);
PIMAGEHLP_STATUS_ROUTINE
StatusRoutine
BOOL
IMAGEAPI
EnumerateLoadedModules
(
HANDLE
hProcess
,
PENUMLOADED_MODULES_CALLBACK
EnumLoadedModulesCallback
,
PVOID
UserContext
);
);
BOOL
IMAGEAPI
EnumerateLoadedModules64
(
HANDLE
,
PENUMLOADED_MODULES_CALLBACK64
,
PVOID
);
PIMAGE_NT_HEADERS
WINAPI
CheckSumMappedFile
(
BOOL
IMAGEAPI
EnumerateLoadedModulesW64
(
HANDLE
,
PENUMLOADED_MODULES_CALLBACKW64
,
PVOID
);
LPVOID
BaseAddress
,
DWORD
FileLength
,
HANDLE
IMAGEAPI
FindDebugInfoFile
(
PCSTR
FileName
,
PCSTR
SymbolPath
,
PSTR
DebugFilePath
);
LPDWORD
HeaderSum
,
LPDWORD
CheckSum
HANDLE
IMAGEAPI
FindDebugInfoFileEx
(
PCSTR
,
PCSTR
,
PSTR
,
PFIND_DEBUG_FILE_CALLBACK
,
PVOID
);
);
HANDLE
IMAGEAPI
FindDebugInfoFileExW
(
PCWSTR
,
PCWSTR
,
PWSTR
,
PFIND_DEBUG_FILE_CALLBACKW
,
PVOID
);
BOOL
WINAPI
EnumDirTree
(
HANDLE
IMAGEAPI
FindExecutableImage
(
PCSTR
,
PCSTR
,
PSTR
);
HANDLE
,
PCSTR
,
PCSTR
,
PSTR
,
PENUMDIRTREE_CALLBACK
,
PVOID
HANDLE
IMAGEAPI
FindExecutableImageEx
(
PCSTR
,
PCSTR
,
PSTR
,
PFIND_EXE_FILE_CALLBACK
,
PVOID
);
);
HANDLE
IMAGEAPI
FindExecutableImageExW
(
PCWSTR
,
PCWSTR
,
PWSTR
,
PFIND_EXE_FILE_CALLBACKW
,
PVOID
);
BOOL
WINAPI
EnumDirTreeW
(
BOOL
IMAGEAPI
FindFileInPath
(
HANDLE
,
PCSTR
,
PCSTR
,
PVOID
,
DWORD
,
DWORD
,
DWORD
,
PSTR
,
PFINDFILEINPATHCALLBACK
,
PVOID
);
HANDLE
,
PCWSTR
,
PCWSTR
,
PWSTR
,
PENUMDIRTREE_CALLBACKW
,
PVOID
BOOL
IMAGEAPI
GetImageConfigInformation
(
PLOADED_IMAGE
LoadedImage
,
PIMAGE_LOAD_CONFIG_DIRECTORY
ImageConfigInformation
);
);
DWORD
IMAGEAPI
GetImageUnusedHeaderBytes
(
PLOADED_IMAGE
LoadedImage
,
LPDWORD
SizeUnusedHeaderBytes
);
BOOL
WINAPI
EnumerateLoadedModules
(
DWORD
IMAGEAPI
GetTimestampForLoadedLibrary
(
HMODULE
Module
);
HANDLE
hProcess
,
BOOL
IMAGEAPI
ImageAddCertificate
(
HANDLE
FileHandle
,
LPWIN_CERTIFICATE
Certificate
,
PDWORD
Index
);
PENUMLOADED_MODULES_CALLBACK
EnumLoadedModulesCallback
,
PVOID
IMAGEAPI
ImageDirectoryEntryToData
(
PVOID
Base
,
BOOLEAN
MappedAsImage
,
USHORT
DirectoryEntry
,
PULONG
Size
);
PVOID
UserContext
BOOL
IMAGEAPI
ImageEnumerateCertificates
(
HANDLE
FileHandle
,
WORD
TypeFilter
,
PDWORD
CertificateCount
,
PDWORD
Indices
,
DWORD
IndexCount
);
);
BOOL
IMAGEAPI
ImageGetCertificateData
(
HANDLE
FileHandle
,
DWORD
CertificateIndex
,
LPWIN_CERTIFICATE
Certificate
,
PDWORD
RequiredLength
);
BOOL
WINAPI
EnumerateLoadedModules64
(
BOOL
IMAGEAPI
ImageGetCertificateHeader
(
HANDLE
FileHandle
,
DWORD
CertificateIndex
,
LPWIN_CERTIFICATE
Certificateheader
);
HANDLE
,
PENUMLOADED_MODULES_CALLBACK64
,
PVOID
BOOL
IMAGEAPI
ImageGetDigestStream
(
HANDLE
FileHandle
,
DWORD
DigestLevel
,
DIGEST_FUNCTION
DigestFunction
,
DIGEST_HANDLE
DigestHandle
);
);
PLOADED_IMAGE
IMAGEAPI
ImageLoad
(
PCSTR
DllName
,
PCSTR
DllPath
);
BOOL
WINAPI
EnumerateLoadedModulesW64
(
PIMAGE_NT_HEADERS
IMAGEAPI
ImageNtHeader
(
PVOID
Base
);
HANDLE
,
PENUMLOADED_MODULES_CALLBACKW64
,
PVOID
BOOL
IMAGEAPI
ImageRemoveCertificate
(
HANDLE
FileHandle
,
DWORD
Index
);
);
PIMAGE_SECTION_HEADER
IMAGEAPI
ImageRvaToSection
(
PIMAGE_NT_HEADERS
NtHeaders
,
PVOID
Base
,
ULONG
Rva
);
HANDLE
WINAPI
FindDebugInfoFile
(
PVOID
IMAGEAPI
ImageRvaToVa
(
PIMAGE_NT_HEADERS
NtHeaders
,
PVOID
Base
,
ULONG
Rva
,
PIMAGE_SECTION_HEADER
*
LastRvaSection
);
PCSTR
FileName
,
PCSTR
SymbolPath
,
PSTR
DebugFilePath
BOOL
IMAGEAPI
ImageUnload
(
PLOADED_IMAGE
LoadedImage
);
);
LPAPI_VERSION
IMAGEAPI
ImagehlpApiVersion
(
void
);
HANDLE
WINAPI
FindDebugInfoFileEx
(
LPAPI_VERSION
IMAGEAPI
ImagehlpApiVersionEx
(
LPAPI_VERSION
AppVersion
);
PCSTR
,
PCSTR
,
PSTR
,
PFIND_DEBUG_FILE_CALLBACK
,
PVOID
BOOL
IMAGEAPI
MakeSureDirectoryPathExists
(
PCSTR
DirPath
);
);
BOOL
IMAGEAPI
MapAndLoad
(
PCSTR
ImageName
,
PCSTR
DllPath
,
PLOADED_IMAGE
LoadedImage
,
BOOL
DotDll
,
BOOL
ReadOnly
);
HANDLE
WINAPI
FindDebugInfoFileExW
(
DWORD
IMAGEAPI
MapFileAndCheckSumA
(
PCSTR
Filename
,
PDWORD
HeaderSum
,
PDWORD
CheckSum
);
PCWSTR
,
PCWSTR
,
PWSTR
,
PFIND_DEBUG_FILE_CALLBACKW
,
PVOID
DWORD
IMAGEAPI
MapFileAndCheckSumW
(
PCWSTR
Filename
,
PDWORD
HeaderSum
,
PDWORD
CheckSum
);
);
BOOL
IMAGEAPI
ReBaseImage
(
PCSTR
CurrentImageName
,
PCSTR
SymbolPath
,
BOOL
fReBase
,
BOOL
fRebaseSysfileOk
,
BOOL
fGoingDown
,
ULONG
CheckImageSize
,
HANDLE
WINAPI
FindExecutableImage
(
ULONG
*
OldImageSize
,
ULONG_PTR
*
OldImageBase
,
ULONG
*
NewImageSize
,
ULONG_PTR
*
NewImageBase
,
ULONG
TimeStamp
);
PCSTR
,
PCSTR
,
PSTR
BOOL
IMAGEAPI
ReBaseImage64
(
PCSTR
CurrentImageName
,
PCSTR
SymbolPath
,
BOOL
fReBase
,
BOOL
fRebaseSysfileOk
,
BOOL
fGoingDown
,
ULONG
CheckImageSize
,
);
ULONG
*
OldImageSize
,
ULONG64
*
OldImageBase
,
ULONG
*
NewImageSize
,
ULONG64
*
NewImageBase
,
ULONG
TimeStamp
);
HANDLE
WINAPI
FindExecutableImageEx
(
BOOL
IMAGEAPI
RemovePrivateCvSymbolic
(
PCHAR
DebugData
,
PCHAR
*
NewDebugData
,
ULONG
*
NewDebugSize
);
PCSTR
,
PCSTR
,
PSTR
,
PFIND_EXE_FILE_CALLBACK
,
PVOID
BOOL
IMAGEAPI
SearchTreeForFile
(
PCSTR
RootPath
,
PCSTR
InputPathName
,
PSTR
OutputPathBuffer
);
);
BOOL
IMAGEAPI
SearchTreeForFileW
(
PCWSTR
RootPath
,
PCWSTR
InputPathName
,
PWSTR
OutputPathBuffer
);
HANDLE
WINAPI
FindExecutableImageExW
(
BOOL
IMAGEAPI
SetImageConfigInformation
(
PLOADED_IMAGE
LoadedImage
,
PIMAGE_LOAD_CONFIG_DIRECTORY
ImageConfigInformation
);
PCWSTR
,
PCWSTR
,
PWSTR
,
PFIND_EXE_FILE_CALLBACKW
,
PVOID
BOOL
IMAGEAPI
SplitSymbols
(
PSTR
ImageName
,
PCSTR
SymbolsPath
,
PSTR
SymbolFilePath
,
ULONG
Flags
);
);
BOOL
IMAGEAPI
StackWalk
(
DWORD
MachineType
,
HANDLE
hProcess
,
HANDLE
hThread
,
LPSTACKFRAME
StackFrame
,
PVOID
ContextRecord
,
BOOL
WINAPI
FindFileInPath
(
PREAD_PROCESS_MEMORY_ROUTINE
ReadMemoryRoutine
,
PFUNCTION_TABLE_ACCESS_ROUTINE
FunctionTableAccessRoutine
,
HANDLE
,
PCSTR
,
PCSTR
,
PVOID
,
DWORD
,
DWORD
,
DWORD
,
PGET_MODULE_BASE_ROUTINE
GetModuleBaseRoutine
,
PTRANSLATE_ADDRESS_ROUTINE
TranslateAddress
);
PSTR
,
PFINDFILEINPATHCALLBACK
,
PVOID
BOOL
IMAGEAPI
StackWalk64
(
DWORD
MachineType
,
HANDLE
hProcess
,
HANDLE
hThread
,
LPSTACKFRAME64
StackFrame
,
PVOID
ContextRecord
,
);
PREAD_PROCESS_MEMORY_ROUTINE64
ReadMemoryRoutine
,
PFUNCTION_TABLE_ACCESS_ROUTINE64
FunctionTableAccessRoutine
,
BOOL
WINAPI
GetImageConfigInformation
(
PGET_MODULE_BASE_ROUTINE64
GetModuleBaseRoutine
,
PTRANSLATE_ADDRESS_ROUTINE64
TranslateAddress
);
PLOADED_IMAGE
LoadedImage
,
BOOL
IMAGEAPI
SymAddSymbol
(
HANDLE
,
ULONG64
,
PCSTR
,
DWORD64
,
DWORD
,
DWORD
);
PIMAGE_LOAD_CONFIG_DIRECTORY
ImageConfigInformation
BOOL
IMAGEAPI
SymAddSymbolW
(
HANDLE
,
ULONG64
,
PCWSTR
,
DWORD64
,
DWORD
,
DWORD
);
);
BOOL
IMAGEAPI
SymCleanup
(
HANDLE
hProcess
);
DWORD
WINAPI
GetImageUnusedHeaderBytes
(
BOOL
IMAGEAPI
SymDeleteSymbol
(
HANDLE
,
ULONG64
,
PCSTR
,
DWORD64
,
DWORD
);
PLOADED_IMAGE
LoadedImage
,
BOOL
IMAGEAPI
SymDeleteSymbolW
(
HANDLE
,
ULONG64
,
PCWSTR
,
DWORD64
,
DWORD
);
LPDWORD
SizeUnusedHeaderBytes
BOOL
IMAGEAPI
SymEnumerateModules
(
HANDLE
hProcess
,
PSYM_ENUMMODULES_CALLBACK
EnumModulesCallback
,
PVOID
UserContext
);
);
BOOL
IMAGEAPI
SymEnumerateModules64
(
HANDLE
,
PSYM_ENUMMODULES_CALLBACK64
,
PVOID
);
DWORD
WINAPI
GetTimestampForLoadedLibrary
(
BOOL
IMAGEAPI
SymEnumerateModulesW64
(
HANDLE
,
PSYM_ENUMMODULES_CALLBACKW64
,
PVOID
);
HMODULE
Module
BOOL
IMAGEAPI
SymEnumerateSymbols
(
HANDLE
hProcess
,
DWORD
BaseOfDll
,
PSYM_ENUMSYMBOLS_CALLBACK
EnumSymbolsCallback
,
PVOID
UserContext
);
);
BOOL
IMAGEAPI
SymEnumerateSymbolsW
(
HANDLE
hProcess
,
DWORD
BaseOfDll
,
PSYM_ENUMSYMBOLS_CALLBACKW
EnumSymbolsCallback
,
PVOID
UserContext
);
BOOL
WINAPI
ImageAddCertificate
(
BOOL
IMAGEAPI
SymEnumerateSymbols64
(
HANDLE
,
ULONG64
,
PSYM_ENUMSYMBOLS_CALLBACK64
,
PVOID
);
HANDLE
FileHandle
,
LPWIN_CERTIFICATE
Certificate
,
PDWORD
Index
BOOL
IMAGEAPI
SymEnumerateSymbolsW64
(
HANDLE
,
ULONG64
,
PSYM_ENUMSYMBOLS_CALLBACK64W
,
PVOID
);
);
BOOL
IMAGEAPI
SymEnumLines
(
HANDLE
,
ULONG64
,
PCSTR
,
PCSTR
,
PSYM_ENUMLINES_CALLBACK
,
PVOID
);
PVOID
WINAPI
ImageDirectoryEntryToData
(
BOOL
IMAGEAPI
SymEnumLinesW
(
HANDLE
,
ULONG64
,
PCWSTR
,
PCWSTR
,
PSYM_ENUMLINES_CALLBACKW
,
PVOID
);
PVOID
Base
,
BOOLEAN
MappedAsImage
,
USHORT
DirectoryEntry
,
PULONG
Size
BOOL
IMAGEAPI
SymEnumSourceFiles
(
HANDLE
hProcess
,
ULONG64
ModBase
,
PCSTR
Mask
,
PSYM_ENUMSOURCEFILES_CALLBACK
cbSrcFiles
,
PVOID
UserContext
);
);
BOOL
IMAGEAPI
SymEnumSourceFilesW
(
HANDLE
hProcess
,
ULONG64
ModBase
,
PCWSTR
Mask
,
PSYM_ENUMSOURCEFILES_CALLBACKW
cbSrcFiles
,
PVOID
UserContext
);
BOOL
WINAPI
ImageEnumerateCertificates
(
BOOL
IMAGEAPI
SymEnumSourceLines
(
HANDLE
,
ULONG64
,
PCSTR
,
PCSTR
,
DWORD
,
DWORD
,
PSYM_ENUMLINES_CALLBACK
,
PVOID
);
HANDLE
FileHandle
,
WORD
TypeFilter
,
PDWORD
CertificateCount
,
BOOL
IMAGEAPI
SymEnumSourceLinesW
(
HANDLE
,
ULONG64
,
PCWSTR
,
PCWSTR
,
DWORD
,
DWORD
,
PSYM_ENUMLINES_CALLBACKW
,
PVOID
);
PDWORD
Indices
,
DWORD
IndexCount
BOOL
IMAGEAPI
SymEnumSymbols
(
HANDLE
hProcess
,
DWORD
BaseOfDll
,
PCSTR
Mask
,
PSYM_ENUMERATESYMBOLS_CALLBACK
EnumSymbolsCallback
,
PVOID
UserContext
);
);
BOOL
IMAGEAPI
SymEnumSymbolsW
(
HANDLE
hProcess
,
DWORD
BaseOfDll
,
PCWSTR
Mask
,
PSYM_ENUMERATESYMBOLS_CALLBACKW
EnumSymbolsCallback
,
PVOID
UserContext
);
BOOL
WINAPI
ImageGetCertificateData
(
BOOL
IMAGEAPI
SymEnumSymbolsForAddr
(
HANDLE
,
DWORD64
,
PSYM_ENUMERATESYMBOLS_CALLBACK
,
PVOID
);
HANDLE
FileHandle
,
DWORD
CertificateIndex
,
BOOL
IMAGEAPI
SymEnumSymbolsForAddrW
(
HANDLE
,
DWORD64
,
PSYM_ENUMERATESYMBOLS_CALLBACKW
,
PVOID
);
LPWIN_CERTIFICATE
Certificate
,
PDWORD
RequiredLength
BOOL
IMAGEAPI
SymEnumTypes
(
HANDLE
,
ULONG64
,
PSYM_ENUMERATESYMBOLS_CALLBACK
,
PVOID
);
);
BOOL
IMAGEAPI
SymEnumTypesW
(
HANDLE
,
ULONG64
,
PSYM_ENUMERATESYMBOLS_CALLBACKW
,
PVOID
);
BOOL
WINAPI
ImageGetCertificateHeader
(
HANDLE
IMAGEAPI
SymFindExecutableImage
(
HANDLE
,
PCSTR
,
PSTR
,
PFIND_EXE_FILE_CALLBACK
,
PVOID
);
HANDLE
FileHandle
,
DWORD
CertificateIndex
,
HANDLE
IMAGEAPI
SymFindExecutableImageW
(
HANDLE
,
PCWSTR
,
PWSTR
,
PFIND_EXE_FILE_CALLBACKW
,
PVOID
);
LPWIN_CERTIFICATE
Certificateheader
BOOL
IMAGEAPI
SymFindFileInPath
(
HANDLE
,
PCSTR
,
PCSTR
,
PVOID
,
DWORD
,
DWORD
,
DWORD
,
PSTR
,
PFINDFILEINPATHCALLBACK
,
PVOID
);
);
BOOL
IMAGEAPI
SymFindFileInPathW
(
HANDLE
,
PCWSTR
,
PCWSTR
,
PVOID
,
DWORD
,
DWORD
,
DWORD
,
PWSTR
,
PFINDFILEINPATHCALLBACKW
,
PVOID
);
BOOL
WINAPI
ImageGetDigestStream
(
BOOL
IMAGEAPI
SymFromAddr
(
HANDLE
,
DWORD64
,
DWORD64
*
,
SYMBOL_INFO
*
);
HANDLE
FileHandle
,
DWORD
DigestLevel
,
BOOL
IMAGEAPI
SymFromAddrW
(
HANDLE
,
DWORD64
,
DWORD64
*
,
SYMBOL_INFOW
*
);
DIGEST_FUNCTION
DigestFunction
,
DIGEST_HANDLE
DigestHandle
BOOL
IMAGEAPI
SymFromIndex
(
HANDLE
,
ULONG64
,
DWORD
,
PSYMBOL_INFO
);
);
BOOL
IMAGEAPI
SymFromIndexW
(
HANDLE
,
ULONG64
,
DWORD
,
PSYMBOL_INFOW
);
PLOADED_IMAGE
WINAPI
ImageLoad
(
BOOL
IMAGEAPI
SymFromName
(
HANDLE
,
PCSTR
,
PSYMBOL_INFO
);
PCSTR
DllName
,
PCSTR
DllPath
BOOL
IMAGEAPI
SymFromNameW
(
HANDLE
,
PCWSTR
,
PSYMBOL_INFOW
);
);
BOOL
IMAGEAPI
SymFromToken
(
HANDLE
,
DWORD64
,
DWORD
,
PSYMBOL_INFO
);
PIMAGE_NT_HEADERS
WINAPI
ImageNtHeader
(
BOOL
IMAGEAPI
SymFromTokenW
(
HANDLE
,
DWORD64
,
DWORD
,
PSYMBOL_INFOW
);
PVOID
Base
PVOID
IMAGEAPI
SymFunctionTableAccess
(
HANDLE
hProcess
,
DWORD
AddrBase
);
);
PVOID
IMAGEAPI
SymFunctionTableAccess64
(
HANDLE
hProcess
,
DWORD64
AddrBase
);
BOOL
WINAPI
ImageRemoveCertificate
(
ULONG
IMAGEAPI
SymGetFileLineOffsets64
(
HANDLE
,
PCSTR
,
PCSTR
,
PDWORD64
,
ULONG
);
HANDLE
FileHandle
,
DWORD
Index
PCHAR
IMAGEAPI
SymGetHomeDirectory
(
DWORD
,
PSTR
,
size_t
);
);
PWSTR
IMAGEAPI
SymGetHomeDirectoryW
(
DWORD
,
PWSTR
,
size_t
);
PIMAGE_SECTION_HEADER
WINAPI
ImageRvaToSection
(
BOOL
IMAGEAPI
SymGetLineFromAddr
(
HANDLE
,
DWORD
,
PDWORD
,
PIMAGEHLP_LINE
);
PIMAGE_NT_HEADERS
NtHeaders
,
PVOID
Base
,
ULONG
Rva
BOOL
IMAGEAPI
SymGetLineFromAddrW
(
HANDLE
,
DWORD
,
PDWORD
,
PIMAGEHLP_LINEW
);
);
BOOL
IMAGEAPI
SymGetLineFromAddr64
(
HANDLE
,
DWORD64
,
PDWORD
,
PIMAGEHLP_LINE64
);
PVOID
WINAPI
ImageRvaToVa
(
BOOL
IMAGEAPI
SymGetLineFromAddrW64
(
HANDLE
,
DWORD64
,
PDWORD
,
PIMAGEHLP_LINEW64
);
PIMAGE_NT_HEADERS
NtHeaders
,
PVOID
Base
,
ULONG
Rva
,
BOOL
IMAGEAPI
SymGetLineFromName
(
HANDLE
,
PCSTR
,
PCSTR
,
DWORD
,
PLONG
,
PIMAGEHLP_LINE
);
PIMAGE_SECTION_HEADER
*
LastRvaSection
BOOL
IMAGEAPI
SymGetLineFromName64
(
HANDLE
,
PCSTR
,
PCSTR
,
DWORD
,
PLONG
,
PIMAGEHLP_LINE64
);
);
BOOL
IMAGEAPI
SymGetLineFromNameW64
(
HANDLE
,
PCWSTR
,
PCWSTR
,
DWORD
,
PLONG
,
PIMAGEHLP_LINEW64
);
BOOL
WINAPI
ImageUnload
(
BOOL
IMAGEAPI
SymGetLineNext
(
HANDLE
,
PIMAGEHLP_LINE
);
PLOADED_IMAGE
LoadedImage
BOOL
IMAGEAPI
SymGetLineNextW
(
HANDLE
,
PIMAGEHLP_LINEW
);
);
BOOL
IMAGEAPI
SymGetLineNext64
(
HANDLE
,
PIMAGEHLP_LINE64
);
LPAPI_VERSION
WINAPI
ImagehlpApiVersion
(
BOOL
IMAGEAPI
SymGetLineNextW64
(
HANDLE
,
PIMAGEHLP_LINEW64
);
void
BOOL
IMAGEAPI
SymGetLinePrev
(
HANDLE
,
PIMAGEHLP_LINE
);
);
BOOL
IMAGEAPI
SymGetLinePrevW
(
HANDLE
,
PIMAGEHLP_LINEW
);
LPAPI_VERSION
WINAPI
ImagehlpApiVersionEx
(
BOOL
IMAGEAPI
SymGetLinePrev64
(
HANDLE
,
PIMAGEHLP_LINE64
);
LPAPI_VERSION
AppVersion
BOOL
IMAGEAPI
SymGetLinePrevW64
(
HANDLE
,
PIMAGEHLP_LINEW64
);
);
DWORD
IMAGEAPI
SymGetModuleBase
(
HANDLE
hProcess
,
DWORD
dwAddr
);
BOOL
WINAPI
MakeSureDirectoryPathExists
(
BOOL
IMAGEAPI
SymGetModuleInfo
(
HANDLE
hProcess
,
DWORD
dwAddr
,
PIMAGEHLP_MODULE
ModuleInfo
);
PCSTR
DirPath
BOOL
IMAGEAPI
SymGetModuleInfoW
(
HANDLE
,
DWORD
,
PIMAGEHLP_MODULEW
);
);
BOOL
IMAGEAPI
SymGetModuleInfo64
(
HANDLE
,
DWORD64
,
PIMAGEHLP_MODULE64
);
BOOL
WINAPI
MapAndLoad
(
BOOL
IMAGEAPI
SymGetModuleInfoW64
(
HANDLE
,
DWORD64
,
PIMAGEHLP_MODULEW64
);
PCSTR
ImageName
,
PCSTR
DllPath
,
PLOADED_IMAGE
LoadedImage
,
DWORD
IMAGEAPI
SymGetOptions
(
void
);
BOOL
DotDll
,
BOOL
ReadOnly
BOOL
IMAGEAPI
SymGetScope
(
HANDLE
,
ULONG64
,
DWORD
,
PSYMBOL_INFO
);
);
BOOL
IMAGEAPI
SymGetScopeW
(
HANDLE
,
ULONG64
,
DWORD
,
PSYMBOL_INFOW
);
DWORD
WINAPI
MapFileAndCheckSumA
(
BOOL
IMAGEAPI
SymGetSearchPath
(
HANDLE
hProcess
,
PSTR
szSearchPath
,
DWORD
SearchPathLength
);
PCSTR
Filename
,
PDWORD
HeaderSum
,
PDWORD
CheckSum
BOOL
IMAGEAPI
SymGetSearchPathW
(
HANDLE
hProcess
,
PWSTR
szSearchPath
,
DWORD
SearchPathLength
);
);
BOOL
IMAGEAPI
SymGetSourceFile
(
HANDLE
,
ULONG64
,
PCSTR
,
PCSTR
,
PSTR
,
DWORD
);
DWORD
WINAPI
MapFileAndCheckSumW
(
BOOL
IMAGEAPI
SymGetSourceFileW
(
HANDLE
,
ULONG64
,
PCWSTR
,
PCWSTR
,
PWSTR
,
DWORD
);
PCWSTR
Filename
,
PDWORD
HeaderSum
,
PDWORD
CheckSum
BOOL
IMAGEAPI
SymGetSourceFileFromToken
(
HANDLE
,
PVOID
,
PCSTR
,
PSTR
,
DWORD
);
);
BOOL
IMAGEAPI
SymGetSourceFileFromTokenW
(
HANDLE
,
PVOID
,
PCWSTR
,
PWSTR
,
DWORD
);
BOOL
WINAPI
ReBaseImage
(
BOOL
IMAGEAPI
SymGetSourceFileToken
(
HANDLE
,
ULONG64
,
PCSTR
,
PVOID
*
,
DWORD
*
);
PCSTR
CurrentImageName
,
PCSTR
SymbolPath
,
BOOL
fReBase
,
BOOL
IMAGEAPI
SymGetSourceFileTokenW
(
HANDLE
,
ULONG64
,
PCWSTR
,
PVOID
*
,
DWORD
*
);
BOOL
fRebaseSysfileOk
,
BOOL
fGoingDown
,
ULONG
CheckImageSize
,
BOOL
IMAGEAPI
SymGetSourceVarFromToken
(
HANDLE
,
PVOID
,
PCSTR
,
PCSTR
,
PSTR
,
DWORD
);
ULONG
*
OldImageSize
,
ULONG_PTR
*
OldImageBase
,
ULONG
*
NewImageSize
,
BOOL
IMAGEAPI
SymGetSourceVarFromTokenW
(
HANDLE
,
PVOID
,
PCWSTR
,
PCWSTR
,
PWSTR
,
DWORD
);
ULONG_PTR
*
NewImageBase
,
ULONG
TimeStamp
BOOL
IMAGEAPI
SymGetSymFromAddr
(
HANDLE
hProcess
,
DWORD
dwAddr
,
PDWORD
pdwDisplacement
,
PIMAGEHLP_SYMBOL
Symbol
);
);
BOOL
IMAGEAPI
SymGetSymFromAddr64
(
HANDLE
,
DWORD64
,
PDWORD64
,
PIMAGEHLP_SYMBOL64
);
BOOL
WINAPI
ReBaseImage64
(
BOOL
IMAGEAPI
SymGetSymFromName
(
HANDLE
hProcess
,
PCSTR
Name
,
PIMAGEHLP_SYMBOL
Symbol
);
PCSTR
CurrentImageName
,
PCSTR
SymbolPath
,
BOOL
fReBase
,
BOOL
IMAGEAPI
SymGetSymFromName64
(
HANDLE
,
PCSTR
,
PIMAGEHLP_SYMBOL64
);
BOOL
fRebaseSysfileOk
,
BOOL
fGoingDown
,
ULONG
CheckImageSize
,
BOOL
IMAGEAPI
SymGetSymNext
(
HANDLE
hProcess
,
PIMAGEHLP_SYMBOL
Symbol
);
ULONG
*
OldImageSize
,
ULONG64
*
OldImageBase
,
ULONG
*
NewImageSize
,
BOOL
IMAGEAPI
SymGetSymNext64
(
HANDLE
,
PIMAGEHLP_SYMBOL64
);
ULONG64
*
NewImageBase
,
ULONG
TimeStamp
BOOL
IMAGEAPI
SymGetSymPrev
(
HANDLE
hProcess
,
PIMAGEHLP_SYMBOL
Symbol
);
);
BOOL
IMAGEAPI
SymGetSymPrev64
(
HANDLE
,
PIMAGEHLP_SYMBOL64
);
BOOL
WINAPI
RemovePrivateCvSymbolic
(
BOOL
IMAGEAPI
SymGetTypeFromName
(
HANDLE
,
ULONG64
,
PCSTR
,
PSYMBOL_INFO
);
PCHAR
DebugData
,
PCHAR
*
NewDebugData
,
ULONG
*
NewDebugSize
BOOL
IMAGEAPI
SymGetTypeFromNameW
(
HANDLE
,
ULONG64
,
PCWSTR
,
PSYMBOL_INFOW
);
);
BOOL
IMAGEAPI
SymGetTypeInfo
(
HANDLE
,
DWORD64
,
ULONG
,
IMAGEHLP_SYMBOL_TYPE_INFO
,
PVOID
);
BOOL
WINAPI
SearchTreeForFile
(
BOOL
IMAGEAPI
SymGetTypeInfoEx
(
HANDLE
,
DWORD64
,
PIMAGEHLP_GET_TYPE_INFO_PARAMS
);
PCSTR
RootPath
,
PCSTR
InputPathName
,
PSTR
OutputPathBuffer
BOOL
IMAGEAPI
SymInitialize
(
HANDLE
hProcess
,
PCSTR
UserSearchPath
,
BOOL
fInvadeProcess
);
);
BOOL
IMAGEAPI
SymInitializeW
(
HANDLE
hProcess
,
PCWSTR
UserSearchPath
,
BOOL
fInvadeProcess
);
BOOL
WINAPI
SearchTreeForFileW
(
DWORD
IMAGEAPI
SymLoadModule
(
HANDLE
hProcess
,
HANDLE
hFile
,
PCSTR
ImageName
,
PCSTR
ModuleName
,
DWORD
BaseOfDll
,
DWORD
SizeOfDll
);
PCWSTR
RootPath
,
PCWSTR
InputPathName
,
PWSTR
OutputPathBuffer
DWORD64
IMAGEAPI
SymLoadModule64
(
HANDLE
,
HANDLE
,
PCSTR
,
PCSTR
,
DWORD64
,
DWORD
);
);
DWORD64
IMAGEAPI
SymLoadModuleEx
(
HANDLE
,
HANDLE
,
PCSTR
,
PCSTR
,
DWORD64
,
DWORD
,
PMODLOAD_DATA
,
DWORD
);
BOOL
WINAPI
SetImageConfigInformation
(
DWORD64
IMAGEAPI
SymLoadModuleExW
(
HANDLE
,
HANDLE
,
PCWSTR
,
PCWSTR
,
DWORD64
,
DWORD
,
PMODLOAD_DATA
,
DWORD
);
PLOADED_IMAGE
LoadedImage
,
BOOL
IMAGEAPI
SymMatchFileName
(
PCSTR
,
PCSTR
,
PSTR
*
,
PSTR
*
);
PIMAGE_LOAD_CONFIG_DIRECTORY
ImageConfigInformation
BOOL
IMAGEAPI
SymMatchFileNameW
(
PCWSTR
,
PCWSTR
,
PWSTR
*
,
PWSTR
*
);
);
BOOL
IMAGEAPI
SymMatchString
(
PCSTR
,
PCSTR
,
BOOL
);
BOOL
WINAPI
SplitSymbols
(
BOOL
IMAGEAPI
SymMatchStringA
(
PCSTR
,
PCSTR
,
BOOL
);
PSTR
ImageName
,
PCSTR
SymbolsPath
,
BOOL
IMAGEAPI
SymMatchStringW
(
PCWSTR
,
PCWSTR
,
BOOL
);
PSTR
SymbolFilePath
,
ULONG
Flags
BOOL
IMAGEAPI
SymRegisterCallback
(
HANDLE
hProcess
,
PSYMBOL_REGISTERED_CALLBACK
CallbackFunction
,
PVOID
UserContext
);
);
BOOL
IMAGEAPI
SymRegisterCallback64
(
HANDLE
,
PSYMBOL_REGISTERED_CALLBACK64
,
ULONG64
);
BOOL
WINAPI
StackWalk
(
BOOL
IMAGEAPI
SymRegisterCallbackW64
(
HANDLE
,
PSYMBOL_REGISTERED_CALLBACK64
,
ULONG64
);
DWORD
MachineType
,
HANDLE
hProcess
,
HANDLE
hThread
,
BOOL
IMAGEAPI
SymRegisterFunctionEntryCallback
(
HANDLE
,
PSYMBOL_FUNCENTRY_CALLBACK
,
PVOID
);
LPSTACKFRAME
StackFrame
,
PVOID
ContextRecord
,
BOOL
IMAGEAPI
SymRegisterFunctionEntryCallback64
(
HANDLE
,
PSYMBOL_FUNCENTRY_CALLBACK64
,
ULONG64
);
PREAD_PROCESS_MEMORY_ROUTINE
ReadMemoryRoutine
,
BOOL
IMAGEAPI
SymSearch
(
HANDLE
,
ULONG64
,
DWORD
,
DWORD
,
PCSTR
,
DWORD64
,
PSYM_ENUMERATESYMBOLS_CALLBACK
,
PVOID
,
DWORD
);
PFUNCTION_TABLE_ACCESS_ROUTINE
FunctionTableAccessRoutine
,
BOOL
IMAGEAPI
SymSearchW
(
HANDLE
,
ULONG64
,
DWORD
,
DWORD
,
PCWSTR
,
DWORD64
,
PSYM_ENUMERATESYMBOLS_CALLBACKW
,
PVOID
,
DWORD
);
PGET_MODULE_BASE_ROUTINE
GetModuleBaseRoutine
,
DWORD
IMAGEAPI
SymSetContext
(
HANDLE
hProcess
,
PIMAGEHLP_STACK_FRAME
StackFrame
,
PIMAGEHLP_CONTEXT
Context
);
PTRANSLATE_ADDRESS_ROUTINE
TranslateAddress
PCHAR
IMAGEAPI
SymSetHomeDirectory
(
HANDLE
,
PCSTR
);
);
PWSTR
IMAGEAPI
SymSetHomeDirectoryW
(
HANDLE
,
PCWSTR
);
BOOL
WINAPI
StackWalk64
(
DWORD
IMAGEAPI
SymSetOptions
(
DWORD
SymOptions
);
DWORD
MachineType
,
HANDLE
hProcess
,
HANDLE
hThread
,
BOOL
IMAGEAPI
SymSetParentWindow
(
HWND
);
LPSTACKFRAME64
StackFrame
,
PVOID
ContextRecord
,
BOOL
IMAGEAPI
SymSetSearchPath
(
HANDLE
hProcess
,
PCSTR
szSearchPath
);
PREAD_PROCESS_MEMORY_ROUTINE64
ReadMemoryRoutine
,
BOOL
IMAGEAPI
SymSetSearchPathW
(
HANDLE
hProcess
,
PCWSTR
szSearchPath
);
PFUNCTION_TABLE_ACCESS_ROUTINE64
FunctionTableAccessRoutine
,
BOOL
IMAGEAPI
SymUnDName
(
PIMAGEHLP_SYMBOL
sym
,
PSTR
UnDecName
,
DWORD
UnDecNameLength
);
PGET_MODULE_BASE_ROUTINE64
GetModuleBaseRoutine
,
BOOL
IMAGEAPI
SymUnDName64
(
PIMAGEHLP_SYMBOL64
,
PSTR
,
DWORD
);
PTRANSLATE_ADDRESS_ROUTINE64
TranslateAddress
BOOL
IMAGEAPI
SymUnloadModule
(
HANDLE
hProcess
,
DWORD
BaseOfDll
);
);
BOOL
IMAGEAPI
TouchFileTimes
(
HANDLE
FileHandle
,
LPSYSTEMTIME
lpSystemTime
);
BOOL
WINAPI
SymAddSymbol
(
DWORD
IMAGEAPI
UnDecorateSymbolName
(
PCSTR
DecoratedName
,
PSTR
UnDecoratedName
,
DWORD
UndecoratedLength
,
DWORD
Flags
);
HANDLE
,
ULONG64
,
PCSTR
,
DWORD64
,
DWORD
,
DWORD
DWORD
IMAGEAPI
UnDecorateSymbolNameW
(
PCWSTR
DecoratedName
,
PWSTR
UnDecoratedName
,
DWORD
UndecoratedLength
,
DWORD
Flags
);
);
BOOL
IMAGEAPI
UnMapAndLoad
(
PLOADED_IMAGE
LoadedImage
);
BOOL
WINAPI
SymAddSymbolW
(
BOOL
IMAGEAPI
UpdateDebugInfoFile
(
PCSTR
ImageFileName
,
PCSTR
SymbolPath
,
PSTR
DebugFilePath
,
PIMAGE_NT_HEADERS32
NtHeaders
);
HANDLE
,
ULONG64
,
PCWSTR
,
DWORD64
,
DWORD
,
DWORD
BOOL
IMAGEAPI
UpdateDebugInfoFileEx
(
PCSTR
ImageFileName
,
PCSTR
SymbolPath
,
PSTR
DebugFilePath
,
PIMAGE_NT_HEADERS32
NtHeaders
,
DWORD
OldChecksum
);
);
BOOL
WINAPI
SymCleanup
(
HANDLE
hProcess
);
BOOL
WINAPI
SymDeleteSymbol
(
HANDLE
,
ULONG64
,
PCSTR
,
DWORD64
,
DWORD
);
BOOL
WINAPI
SymDeleteSymbolW
(
HANDLE
,
ULONG64
,
PCWSTR
,
DWORD64
,
DWORD
);
BOOL
WINAPI
SymEnumerateModules
(
HANDLE
hProcess
,
PSYM_ENUMMODULES_CALLBACK
EnumModulesCallback
,
PVOID
UserContext
);
BOOL
WINAPI
SymEnumerateModules64
(
HANDLE
,
PSYM_ENUMMODULES_CALLBACK64
,
PVOID
);
BOOL
WINAPI
SymEnumerateModulesW64
(
HANDLE
,
PSYM_ENUMMODULES_CALLBACKW64
,
PVOID
);
BOOL
WINAPI
SymEnumerateSymbols
(
HANDLE
hProcess
,
DWORD
BaseOfDll
,
PSYM_ENUMSYMBOLS_CALLBACK
EnumSymbolsCallback
,
PVOID
UserContext
);
BOOL
WINAPI
SymEnumerateSymbolsW
(
HANDLE
hProcess
,
DWORD
BaseOfDll
,
PSYM_ENUMSYMBOLS_CALLBACKW
EnumSymbolsCallback
,
PVOID
UserContext
);
BOOL
WINAPI
SymEnumerateSymbols64
(
HANDLE
,
ULONG64
,
PSYM_ENUMSYMBOLS_CALLBACK64
,
PVOID
);
BOOL
WINAPI
SymEnumerateSymbolsW64
(
HANDLE
,
ULONG64
,
PSYM_ENUMSYMBOLS_CALLBACK64W
,
PVOID
);
BOOL
WINAPI
SymEnumLines
(
HANDLE
,
ULONG64
,
PCSTR
,
PCSTR
,
PSYM_ENUMLINES_CALLBACK
,
PVOID
);
BOOL
WINAPI
SymEnumLinesW
(
HANDLE
,
ULONG64
,
PCWSTR
,
PCWSTR
,
PSYM_ENUMLINES_CALLBACKW
,
PVOID
);
BOOL
WINAPI
SymEnumSourceFiles
(
HANDLE
hProcess
,
ULONG64
ModBase
,
PCSTR
Mask
,
PSYM_ENUMSOURCEFILES_CALLBACK
cbSrcFiles
,
PVOID
UserContext
);
BOOL
WINAPI
SymEnumSourceFilesW
(
HANDLE
hProcess
,
ULONG64
ModBase
,
PCWSTR
Mask
,
PSYM_ENUMSOURCEFILES_CALLBACKW
cbSrcFiles
,
PVOID
UserContext
);
BOOL
WINAPI
SymEnumSourceLines
(
HANDLE
,
ULONG64
,
PCSTR
,
PCSTR
,
DWORD
,
DWORD
,
PSYM_ENUMLINES_CALLBACK
,
PVOID
);
BOOL
WINAPI
SymEnumSourceLinesW
(
HANDLE
,
ULONG64
,
PCWSTR
,
PCWSTR
,
DWORD
,
DWORD
,
PSYM_ENUMLINES_CALLBACKW
,
PVOID
);
BOOL
WINAPI
SymEnumSymbols
(
HANDLE
hProcess
,
DWORD
BaseOfDll
,
PCSTR
Mask
,
PSYM_ENUMERATESYMBOLS_CALLBACK
EnumSymbolsCallback
,
PVOID
UserContext
);
BOOL
WINAPI
SymEnumSymbolsW
(
HANDLE
hProcess
,
DWORD
BaseOfDll
,
PCWSTR
Mask
,
PSYM_ENUMERATESYMBOLS_CALLBACKW
EnumSymbolsCallback
,
PVOID
UserContext
);
BOOL
WINAPI
SymEnumSymbolsForAddr
(
HANDLE
,
DWORD64
,
PSYM_ENUMERATESYMBOLS_CALLBACK
,
PVOID
);
BOOL
WINAPI
SymEnumSymbolsForAddrW
(
HANDLE
,
DWORD64
,
PSYM_ENUMERATESYMBOLS_CALLBACKW
,
PVOID
);
BOOL
WINAPI
SymEnumTypes
(
HANDLE
,
ULONG64
,
PSYM_ENUMERATESYMBOLS_CALLBACK
,
PVOID
);
BOOL
WINAPI
SymEnumTypesW
(
HANDLE
,
ULONG64
,
PSYM_ENUMERATESYMBOLS_CALLBACKW
,
PVOID
);
HANDLE
WINAPI
SymFindExecutableImage
(
HANDLE
,
PCSTR
,
PSTR
,
PFIND_EXE_FILE_CALLBACK
,
PVOID
);
HANDLE
WINAPI
SymFindExecutableImageW
(
HANDLE
,
PCWSTR
,
PWSTR
,
PFIND_EXE_FILE_CALLBACKW
,
PVOID
);
BOOL
WINAPI
SymFindFileInPath
(
HANDLE
,
PCSTR
,
PCSTR
,
PVOID
,
DWORD
,
DWORD
,
DWORD
,
PSTR
,
PFINDFILEINPATHCALLBACK
,
PVOID
);
BOOL
WINAPI
SymFindFileInPathW
(
HANDLE
,
PCWSTR
,
PCWSTR
,
PVOID
,
DWORD
,
DWORD
,
DWORD
,
PWSTR
,
PFINDFILEINPATHCALLBACKW
,
PVOID
);
BOOL
WINAPI
SymFromAddr
(
HANDLE
,
DWORD64
,
DWORD64
*
,
SYMBOL_INFO
*
);
BOOL
WINAPI
SymFromAddrW
(
HANDLE
,
DWORD64
,
DWORD64
*
,
SYMBOL_INFOW
*
);
BOOL
WINAPI
SymFromIndex
(
HANDLE
,
ULONG64
,
DWORD
,
PSYMBOL_INFO
);
BOOL
WINAPI
SymFromIndexW
(
HANDLE
,
ULONG64
,
DWORD
,
PSYMBOL_INFOW
);
BOOL
WINAPI
SymFromName
(
HANDLE
,
PCSTR
,
PSYMBOL_INFO
);
BOOL
WINAPI
SymFromNameW
(
HANDLE
,
PCWSTR
,
PSYMBOL_INFOW
);
BOOL
WINAPI
SymFromToken
(
HANDLE
,
DWORD64
,
DWORD
,
PSYMBOL_INFO
);
BOOL
WINAPI
SymFromTokenW
(
HANDLE
,
DWORD64
,
DWORD
,
PSYMBOL_INFOW
);
PVOID
WINAPI
SymFunctionTableAccess
(
HANDLE
hProcess
,
DWORD
AddrBase
);
PVOID
WINAPI
SymFunctionTableAccess64
(
HANDLE
hProcess
,
DWORD64
AddrBase
);
ULONG
WINAPI
SymGetFileLineOffsets64
(
HANDLE
,
PCSTR
,
PCSTR
,
PDWORD64
,
ULONG
);
PCHAR
WINAPI
SymGetHomeDirectory
(
DWORD
,
PSTR
,
size_t
);
PWSTR
WINAPI
SymGetHomeDirectoryW
(
DWORD
,
PWSTR
,
size_t
);
BOOL
WINAPI
SymGetLineFromAddr
(
HANDLE
,
DWORD
,
PDWORD
,
PIMAGEHLP_LINE
);
BOOL
WINAPI
SymGetLineFromAddrW
(
HANDLE
,
DWORD
,
PDWORD
,
PIMAGEHLP_LINEW
);
BOOL
WINAPI
SymGetLineFromAddr64
(
HANDLE
,
DWORD64
,
PDWORD
,
PIMAGEHLP_LINE64
);
BOOL
WINAPI
SymGetLineFromAddrW64
(
HANDLE
,
DWORD64
,
PDWORD
,
PIMAGEHLP_LINEW64
);
BOOL
WINAPI
SymGetLineFromName
(
HANDLE
,
PCSTR
,
PCSTR
,
DWORD
,
PLONG
,
PIMAGEHLP_LINE
);
BOOL
WINAPI
SymGetLineFromName64
(
HANDLE
,
PCSTR
,
PCSTR
,
DWORD
,
PLONG
,
PIMAGEHLP_LINE64
);
BOOL
WINAPI
SymGetLineFromNameW64
(
HANDLE
,
PCWSTR
,
PCWSTR
,
DWORD
,
PLONG
,
PIMAGEHLP_LINEW64
);
BOOL
WINAPI
SymGetLineNext
(
HANDLE
,
PIMAGEHLP_LINE
);
BOOL
WINAPI
SymGetLineNextW
(
HANDLE
,
PIMAGEHLP_LINEW
);
BOOL
WINAPI
SymGetLineNext64
(
HANDLE
,
PIMAGEHLP_LINE64
);
BOOL
WINAPI
SymGetLineNextW64
(
HANDLE
,
PIMAGEHLP_LINEW64
);
BOOL
WINAPI
SymGetLinePrev
(
HANDLE
,
PIMAGEHLP_LINE
);
BOOL
WINAPI
SymGetLinePrevW
(
HANDLE
,
PIMAGEHLP_LINEW
);
BOOL
WINAPI
SymGetLinePrev64
(
HANDLE
,
PIMAGEHLP_LINE64
);
BOOL
WINAPI
SymGetLinePrevW64
(
HANDLE
,
PIMAGEHLP_LINEW64
);
DWORD
WINAPI
SymGetModuleBase
(
HANDLE
hProcess
,
DWORD
dwAddr
);
BOOL
WINAPI
SymGetModuleInfo
(
HANDLE
hProcess
,
DWORD
dwAddr
,
PIMAGEHLP_MODULE
ModuleInfo
);
BOOL
WINAPI
SymGetModuleInfoW
(
HANDLE
,
DWORD
,
PIMAGEHLP_MODULEW
);
BOOL
WINAPI
SymGetModuleInfo64
(
HANDLE
,
DWORD64
,
PIMAGEHLP_MODULE64
);
BOOL
WINAPI
SymGetModuleInfoW64
(
HANDLE
,
DWORD64
,
PIMAGEHLP_MODULEW64
);
DWORD
WINAPI
SymGetOptions
(
void
);
BOOL
WINAPI
SymGetScope
(
HANDLE
,
ULONG64
,
DWORD
,
PSYMBOL_INFO
);
BOOL
WINAPI
SymGetScopeW
(
HANDLE
,
ULONG64
,
DWORD
,
PSYMBOL_INFOW
);
BOOL
WINAPI
SymGetSearchPath
(
HANDLE
hProcess
,
PSTR
szSearchPath
,
DWORD
SearchPathLength
);
BOOL
WINAPI
SymGetSearchPathW
(
HANDLE
hProcess
,
PWSTR
szSearchPath
,
DWORD
SearchPathLength
);
BOOL
WINAPI
SymGetSourceFile
(
HANDLE
,
ULONG64
,
PCSTR
,
PCSTR
,
PSTR
,
DWORD
);
BOOL
WINAPI
SymGetSourceFileW
(
HANDLE
,
ULONG64
,
PCWSTR
,
PCWSTR
,
PWSTR
,
DWORD
);
BOOL
WINAPI
SymGetSourceFileFromToken
(
HANDLE
,
PVOID
,
PCSTR
,
PSTR
,
DWORD
);
BOOL
WINAPI
SymGetSourceFileFromTokenW
(
HANDLE
,
PVOID
,
PCWSTR
,
PWSTR
,
DWORD
);
BOOL
WINAPI
SymGetSourceFileToken
(
HANDLE
,
ULONG64
,
PCSTR
,
PVOID
*
,
DWORD
*
);
BOOL
WINAPI
SymGetSourceFileTokenW
(
HANDLE
,
ULONG64
,
PCWSTR
,
PVOID
*
,
DWORD
*
);
BOOL
WINAPI
SymGetSourceVarFromToken
(
HANDLE
,
PVOID
,
PCSTR
,
PCSTR
,
PSTR
,
DWORD
);
BOOL
WINAPI
SymGetSourceVarFromTokenW
(
HANDLE
,
PVOID
,
PCWSTR
,
PCWSTR
,
PWSTR
,
DWORD
);
BOOL
WINAPI
SymGetSymFromAddr
(
HANDLE
hProcess
,
DWORD
dwAddr
,
PDWORD
pdwDisplacement
,
PIMAGEHLP_SYMBOL
Symbol
);
BOOL
WINAPI
SymGetSymFromAddr64
(
HANDLE
,
DWORD64
,
PDWORD64
,
PIMAGEHLP_SYMBOL64
);
BOOL
WINAPI
SymGetSymFromName
(
HANDLE
hProcess
,
PCSTR
Name
,
PIMAGEHLP_SYMBOL
Symbol
);
BOOL
WINAPI
SymGetSymFromName64
(
HANDLE
,
PCSTR
,
PIMAGEHLP_SYMBOL64
);
BOOL
WINAPI
SymGetSymNext
(
HANDLE
hProcess
,
PIMAGEHLP_SYMBOL
Symbol
);
BOOL
WINAPI
SymGetSymNext64
(
HANDLE
,
PIMAGEHLP_SYMBOL64
);
BOOL
WINAPI
SymGetSymPrev
(
HANDLE
hProcess
,
PIMAGEHLP_SYMBOL
Symbol
);
BOOL
WINAPI
SymGetSymPrev64
(
HANDLE
,
PIMAGEHLP_SYMBOL64
);
BOOL
WINAPI
SymGetTypeFromName
(
HANDLE
,
ULONG64
,
PCSTR
,
PSYMBOL_INFO
);
BOOL
WINAPI
SymGetTypeFromNameW
(
HANDLE
,
ULONG64
,
PCWSTR
,
PSYMBOL_INFOW
);
BOOL
WINAPI
SymGetTypeInfo
(
HANDLE
,
DWORD64
,
ULONG
,
IMAGEHLP_SYMBOL_TYPE_INFO
,
PVOID
);
BOOL
WINAPI
SymGetTypeInfoEx
(
HANDLE
,
DWORD64
,
PIMAGEHLP_GET_TYPE_INFO_PARAMS
);
BOOL
WINAPI
SymInitialize
(
HANDLE
hProcess
,
PCSTR
UserSearchPath
,
BOOL
fInvadeProcess
);
BOOL
WINAPI
SymInitializeW
(
HANDLE
hProcess
,
PCWSTR
UserSearchPath
,
BOOL
fInvadeProcess
);
DWORD
WINAPI
SymLoadModule
(
HANDLE
hProcess
,
HANDLE
hFile
,
PCSTR
ImageName
,
PCSTR
ModuleName
,
DWORD
BaseOfDll
,
DWORD
SizeOfDll
);
DWORD64
WINAPI
SymLoadModule64
(
HANDLE
,
HANDLE
,
PCSTR
,
PCSTR
,
DWORD64
,
DWORD
);
DWORD64
WINAPI
SymLoadModuleEx
(
HANDLE
,
HANDLE
,
PCSTR
,
PCSTR
,
DWORD64
,
DWORD
,
PMODLOAD_DATA
,
DWORD
);
DWORD64
WINAPI
SymLoadModuleExW
(
HANDLE
,
HANDLE
,
PCWSTR
,
PCWSTR
,
DWORD64
,
DWORD
,
PMODLOAD_DATA
,
DWORD
);
BOOL
WINAPI
SymMatchFileName
(
PCSTR
,
PCSTR
,
PSTR
*
,
PSTR
*
);
BOOL
WINAPI
SymMatchFileNameW
(
PCWSTR
,
PCWSTR
,
PWSTR
*
,
PWSTR
*
);
BOOL
WINAPI
SymMatchString
(
PCSTR
,
PCSTR
,
BOOL
);
BOOL
WINAPI
SymMatchStringA
(
PCSTR
,
PCSTR
,
BOOL
);
BOOL
WINAPI
SymMatchStringW
(
PCWSTR
,
PCWSTR
,
BOOL
);
BOOL
WINAPI
SymRegisterCallback
(
HANDLE
hProcess
,
PSYMBOL_REGISTERED_CALLBACK
CallbackFunction
,
PVOID
UserContext
);
BOOL
WINAPI
SymRegisterCallback64
(
HANDLE
,
PSYMBOL_REGISTERED_CALLBACK64
,
ULONG64
);
BOOL
WINAPI
SymRegisterCallbackW64
(
HANDLE
,
PSYMBOL_REGISTERED_CALLBACK64
,
ULONG64
);
BOOL
WINAPI
SymRegisterFunctionEntryCallback
(
HANDLE
,
PSYMBOL_FUNCENTRY_CALLBACK
,
PVOID
);
BOOL
WINAPI
SymRegisterFunctionEntryCallback64
(
HANDLE
,
PSYMBOL_FUNCENTRY_CALLBACK64
,
ULONG64
);
BOOL
WINAPI
SymSearch
(
HANDLE
,
ULONG64
,
DWORD
,
DWORD
,
PCSTR
,
DWORD64
,
PSYM_ENUMERATESYMBOLS_CALLBACK
,
PVOID
,
DWORD
);
BOOL
WINAPI
SymSearchW
(
HANDLE
,
ULONG64
,
DWORD
,
DWORD
,
PCWSTR
,
DWORD64
,
PSYM_ENUMERATESYMBOLS_CALLBACKW
,
PVOID
,
DWORD
);
DWORD
WINAPI
SymSetContext
(
HANDLE
hProcess
,
PIMAGEHLP_STACK_FRAME
StackFrame
,
PIMAGEHLP_CONTEXT
Context
);
PCHAR
WINAPI
SymSetHomeDirectory
(
HANDLE
,
PCSTR
);
PWSTR
WINAPI
SymSetHomeDirectoryW
(
HANDLE
,
PCWSTR
);
DWORD
WINAPI
SymSetOptions
(
DWORD
SymOptions
);
BOOL
WINAPI
SymSetParentWindow
(
HWND
);
BOOL
WINAPI
SymSetSearchPath
(
HANDLE
hProcess
,
PCSTR
szSearchPath
);
BOOL
WINAPI
SymSetSearchPathW
(
HANDLE
hProcess
,
PCWSTR
szSearchPath
);
BOOL
WINAPI
SymUnDName
(
PIMAGEHLP_SYMBOL
sym
,
PSTR
UnDecName
,
DWORD
UnDecNameLength
);
BOOL
WINAPI
SymUnDName64
(
PIMAGEHLP_SYMBOL64
,
PSTR
,
DWORD
);
BOOL
WINAPI
SymUnloadModule
(
HANDLE
hProcess
,
DWORD
BaseOfDll
);
BOOL
WINAPI
TouchFileTimes
(
HANDLE
FileHandle
,
LPSYSTEMTIME
lpSystemTime
);
DWORD
WINAPI
UnDecorateSymbolName
(
PCSTR
DecoratedName
,
PSTR
UnDecoratedName
,
DWORD
UndecoratedLength
,
DWORD
Flags
);
DWORD
WINAPI
UnDecorateSymbolNameW
(
PCWSTR
DecoratedName
,
PWSTR
UnDecoratedName
,
DWORD
UndecoratedLength
,
DWORD
Flags
);
BOOL
WINAPI
UnMapAndLoad
(
PLOADED_IMAGE
LoadedImage
);
BOOL
WINAPI
UpdateDebugInfoFile
(
PCSTR
ImageFileName
,
PCSTR
SymbolPath
,
PSTR
DebugFilePath
,
PIMAGE_NT_HEADERS32
NtHeaders
);
BOOL
WINAPI
UpdateDebugInfoFileEx
(
PCSTR
ImageFileName
,
PCSTR
SymbolPath
,
PSTR
DebugFilePath
,
PIMAGE_NT_HEADERS32
NtHeaders
,
DWORD
OldChecksum
);
#ifdef __cplusplus
#ifdef __cplusplus
}
/* extern "C" */
}
/* extern "C" */
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment