ReactOS
0.4.15-dev-4574-g434cf85
|
#include <ntoskrnl.h>
#include <debug.h>
Go to the source code of this file.
Classes | |
struct | _IMAGE_SYMBOL_INFO_CACHE |
Macros | |
#define | NDEBUG |
Typedefs | |
typedef struct _IMAGE_SYMBOL_INFO_CACHE | IMAGE_SYMBOL_INFO_CACHE |
typedef struct _IMAGE_SYMBOL_INFO_CACHE * | PIMAGE_SYMBOL_INFO_CACHE |
Variables | |
static BOOLEAN | LoadSymbols |
static LIST_ENTRY | SymbolsToLoad |
static KSPIN_LOCK | SymbolsToLoadLock |
static KEVENT | SymbolsToLoadEvent |
static KSTART_ROUTINE | LoadSymbolsRoutine |
#define NDEBUG |
Definition at line 15 of file kdb_symbols.c.
Definition at line 335 of file kdb_symbols.c.
Referenced by KdbInitialize().
Initializes the KDB symbols implementation.
DispatchTable | Pointer to the KD dispatch table |
BootPhase | Phase of initialization |
Definition at line 350 of file kdb_symbols.c.
Referenced by KdpKdbgInit().
BOOLEAN KdbpSymFindModule | ( | IN PVOID Address | OPTIONAL, |
IN INT Index | OPTIONAL, | ||
OUT PLDR_DATA_TABLE_ENTRY * | pLdrEntry | ||
) |
Find a module...
Address | If Address is not NULL the module containing Address is searched. |
Name | If Name is not NULL the module named Name will be searched. |
Index | If Index is >= 0 the Index'th module will be returned. |
pLdrEntry | Pointer to a PLDR_DATA_TABLE_ENTRY which is filled. |
TRUE | Module was found, pLdrEntry was filled. |
FALSE | No module was found. |
Definition at line 75 of file kdb_symbols.c.
Referenced by KdbpCmdMod(), KdbSymPrintAddress(), and KdSendPacket().
|
static |
Definition at line 38 of file kdb_symbols.c.
Referenced by KdbpSymFindModule().
|
static |
Definition at line 114 of file kdb_symbols.c.
Referenced by KdbSymPrintAddress().
Print address...
Tries to lookup line number, file name and function name for the given address and prints it. If no such information is found the address is printed in the format <module: offset>, otherwise the format will be <module: offset (filename:linenumber (functionname))>
TRUE | Module containing Address was found, Address was printed. |
FALSE | No module containing Address was found, nothing was printed. |
Definition at line 148 of file kdb_symbols.c.
Referenced by KdbpCliMainLoop(), KdbpCmdBackTrace(), KdbpCmdDisassembleX(), KdbpPrintAddressInCode(), and KeRosDumpStackFrameArray().
VOID KdbSymProcessSymbols | ( | _Inout_ PLDR_DATA_TABLE_ENTRY | LdrEntry, |
_In_ BOOLEAN | Load | ||
) |
Load symbols from image mapping. If this fails,.
LdrEntry | The entry to load symbols from |
Definition at line 298 of file kdb_symbols.c.
Referenced by KdbInitialize(), and KdSendPacket().
_Use_decl_annotations_ VOID NTAPI LoadSymbolsRoutine | ( | _In_ PVOID | Context | ) |
The symbol loader thread routine. This opens the image file for reading and loads the symbols section from there.
Context | Unused |
Definition at line 209 of file kdb_symbols.c.
|
static |
Definition at line 29 of file kdb_symbols.c.
Referenced by KdbInitialize(), KdbSymProcessSymbols(), LoadSymbolsRoutine(), and MiLoadImageSection().
|
static |
Definition at line 196 of file kdb_symbols.c.
Referenced by KdbInitialize().
|
static |
Definition at line 30 of file kdb_symbols.c.
Referenced by KdbInitialize(), KdbSymProcessSymbols(), and LoadSymbolsRoutine().
|
static |
Definition at line 32 of file kdb_symbols.c.
Referenced by KdbInitialize(), KdbSymProcessSymbols(), and LoadSymbolsRoutine().
|
static |
Definition at line 31 of file kdb_symbols.c.
Referenced by KdbInitialize(), KdbSymProcessSymbols(), and LoadSymbolsRoutine().