ReactOS 0.4.16-dev-297-gc569aee
|
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 |
Functions | |
static BOOLEAN | KdbpSymSearchModuleList (IN PLIST_ENTRY current_entry, IN PLIST_ENTRY end_entry, IN PLONG Count, IN PVOID Address, IN INT Index, OUT PLDR_DATA_TABLE_ENTRY *pLdrEntry) |
BOOLEAN | KdbpSymFindModule (IN PVOID Address OPTIONAL, IN INT Index OPTIONAL, OUT PLDR_DATA_TABLE_ENTRY *pLdrEntry) |
Find a module... | |
static PCHAR NTAPI | KdbpSymUnicodeToAnsi (IN PUNICODE_STRING Unicode, OUT PCHAR Ansi, IN ULONG Length) |
BOOLEAN | KdbSymPrintAddress (IN PVOID Address, IN PCONTEXT Context) |
Print address... | |
_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. | |
VOID | KdbSymProcessSymbols (_Inout_ PLDR_DATA_TABLE_ENTRY LdrEntry, _In_ BOOLEAN Load) |
Load symbols from image mapping. If this fails,. | |
BOOLEAN | KdbSymInit (_In_ ULONG BootPhase) |
Initializes the KDB symbols implementation. | |
Variables | |
static BOOLEAN | LoadSymbols = FALSE |
static LIST_ENTRY | SymbolsToLoad |
static KSPIN_LOCK | SymbolsToLoadLock |
static KEVENT | SymbolsToLoadEvent |
static KSTART_ROUTINE | LoadSymbolsRoutine |
#define NDEBUG |
Definition at line 16 of file kdb_symbols.c.
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 76 of file kdb_symbols.c.
Referenced by KdbpCmdMod(), KdbSymPrintAddress(), and KdSendPacket().
|
static |
Definition at line 39 of file kdb_symbols.c.
Referenced by KdbpSymFindModule().
|
static |
Definition at line 115 of file kdb_symbols.c.
Referenced by KdbSymPrintAddress().
Initializes the KDB symbols implementation.
[in] | BootPhase | Phase of initialization. |
Definition at line 343 of file kdb_symbols.c.
Referenced by KdbInitialize().
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 149 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 297 of file kdb_symbols.c.
Referenced by KdbSymInit(), 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 208 of file kdb_symbols.c.
Definition at line 30 of file kdb_symbols.c.
Referenced by KdbInitialize(), KdbSymInit(), KdbSymProcessSymbols(), LoadSymbolsRoutine(), and MiLoadImageSection().
|
static |
Definition at line 195 of file kdb_symbols.c.
Referenced by KdbSymInit().
|
static |
Definition at line 31 of file kdb_symbols.c.
Referenced by KdbSymInit(), KdbSymProcessSymbols(), and LoadSymbolsRoutine().
|
static |
Definition at line 33 of file kdb_symbols.c.
Referenced by KdbSymInit(), KdbSymProcessSymbols(), and LoadSymbolsRoutine().
|
static |
Definition at line 32 of file kdb_symbols.c.
Referenced by KdbSymInit(), KdbSymProcessSymbols(), and LoadSymbolsRoutine().