ReactOS 0.4.16-dev-1494-gd054f63
|
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include "ntstatus.h"
#include "windef.h"
#include "winbase.h"
#include "winternl.h"
#include "winnls.h"
#include "wingdi.h"
#include "winuser.h"
#include "psapi.h"
#include "werapi.h"
#include "wine/exception.h"
#include "wine/asm.h"
#include "kernelbase.h"
#include "wine/debug.h"
Go to the source code of this file.
Classes | |
struct | _LDR_DATA_TABLE_ENTRY32 |
struct | module_iterator |
struct | module_push |
Macros | |
#define | WIN32_NO_STATUS |
#define | PSAPI_VERSION 1 /* avoid K32 function remapping */ |
Typedefs | |
typedef INT(WINAPI * | MessageBoxA_funcptr) (HWND, LPCSTR, LPCSTR, UINT) |
typedef INT(WINAPI * | MessageBoxW_funcptr) (HWND, LPCWSTR, LPCWSTR, UINT) |
typedef struct _LDR_DATA_TABLE_ENTRY32 | LDR_DATA_TABLE_ENTRY32 |
Variables | |
static PTOP_LEVEL_EXCEPTION_FILTER | top_filter |
void * | dummy = RtlUnwind |
Definition at line 713 of file debug.c.
Referenced by UnhandledExceptionFilter().
BOOL WINAPI DECLSPEC_HOTPATCH CheckRemoteDebuggerPresent | ( | HANDLE | process, |
BOOL * | present | ||
) |
Definition at line 55 of file debug.c.
Definition at line 74 of file debug.c.
|
static |
Definition at line 173 of file debug.c.
Referenced by OutputDebugStringA().
|
static |
Definition at line 268 of file debug.c.
Referenced by OutputDebugStringW().
BOOL WINAPI DECLSPEC_HOTPATCH DebugActiveProcess | ( | DWORD | pid | ) |
Definition at line 87 of file debug.c.
BOOL WINAPI DECLSPEC_HOTPATCH DebugActiveProcessStop | ( | DWORD | pid | ) |
Definition at line 105 of file debug.c.
BOOL WINAPI DECLSPEC_HOTPATCH EmptyWorkingSet | ( | HANDLE | process | ) |
Definition at line 1014 of file debug.c.
Referenced by test_ws_functions().
BOOL WINAPI EnumPageFilesA | ( | PENUM_PAGE_FILE_CALLBACKA | callback, |
void * | context | ||
) |
BOOL WINAPI EnumPageFilesW | ( | PENUM_PAGE_FILE_CALLBACKW | callback, |
void * | context | ||
) |
Definition at line 1204 of file debug.c.
Referenced by enumerate_processes(), ProcessList_Update(), and test_EnumProcesses().
BOOL WINAPI DECLSPEC_HOTPATCH EnumProcessModules | ( | HANDLE | process, |
HMODULE * | module, | ||
DWORD | count, | ||
DWORD * | needed | ||
) |
Definition at line 1058 of file debug.c.
Referenced by debug_target_init_modules_info(), DllMain(), EnumerateLoadedModulesW64(), get_process_name_from_pid(), and test_EnumProcessModules().
BOOL WINAPI EnumProcessModulesEx | ( | HANDLE | process, |
HMODULE * | module, | ||
DWORD | count, | ||
DWORD * | needed, | ||
DWORD | filter | ||
) |
Definition at line 1104 of file debug.c.
Referenced by EnumProcessModules().
void WINAPI DECLSPEC_HOTPATCH FatalAppExitA | ( | UINT | action, |
LPCSTR | str | ||
) |
Definition at line 137 of file debug.c.
void WINAPI DECLSPEC_HOTPATCH FatalAppExitW | ( | UINT | action, |
LPCWSTR | str | ||
) |
Definition at line 152 of file debug.c.
|
static |
Definition at line 436 of file debug.c.
Referenced by start_debugger().
|
static |
Definition at line 961 of file debug.c.
Referenced by GetModuleBaseNameW(), GetModuleFileNameExW(), and GetModuleInformation().
|
static |
Definition at line 982 of file debug.c.
Referenced by GetModuleBaseNameW(), GetModuleFileNameExW(), and GetModuleInformation().
DWORD WINAPI DECLSPEC_HOTPATCH GetMappedFileNameA | ( | HANDLE | process, |
void * | addr, | ||
char * | name, | ||
DWORD | size | ||
) |
Definition at line 1289 of file debug.c.
Referenced by test_GetMappedFileName(), and test_GetProcessImageFileName().
DWORD WINAPI DECLSPEC_HOTPATCH GetMappedFileNameW | ( | HANDLE | process, |
void * | addr, | ||
WCHAR * | name, | ||
DWORD | size | ||
) |
Definition at line 1315 of file debug.c.
Referenced by GetMappedFileNameA(), and test_GetMappedFileName().
DWORD WINAPI DECLSPEC_HOTPATCH GetModuleBaseNameA | ( | HANDLE | process, |
HMODULE | module, | ||
char * | name, | ||
DWORD | size | ||
) |
Definition at line 1342 of file debug.c.
Referenced by test_EnumProcessModules(), and test_GetModuleBaseName().
DWORD WINAPI DECLSPEC_HOTPATCH GetModuleBaseNameW | ( | HANDLE | process, |
HMODULE | module, | ||
WCHAR * | name, | ||
DWORD | size | ||
) |
Definition at line 1371 of file debug.c.
Referenced by EnumerateLoadedModulesW64(), get_process_name_from_pid(), GetModuleBaseNameA(), and GetOwnerModuleFromPidEntry().
DWORD WINAPI DECLSPEC_HOTPATCH GetModuleFileNameExA | ( | HANDLE | process, |
HMODULE | module, | ||
char * | name, | ||
DWORD | size | ||
) |
Definition at line 1409 of file debug.c.
Referenced by debug_target_init_modules_info(), test_EnumProcessModules(), test_GetModuleFileNameEx(), and ModuleData::Update().
DWORD WINAPI DECLSPEC_HOTPATCH GetModuleFileNameExW | ( | HANDLE | process, |
HMODULE | module, | ||
WCHAR * | name, | ||
DWORD | size | ||
) |
Definition at line 1453 of file debug.c.
BOOL WINAPI GetModuleInformation | ( | HANDLE | process, |
HMODULE | module, | ||
MODULEINFO * | modinfo, | ||
DWORD | count | ||
) |
Definition at line 1503 of file debug.c.
Referenced by debug_target_init_modules_info(), EnumerateLoadedModulesW64(), test_EnumProcessModules(), test_GetModuleInformation(), and ModuleData::Update().
BOOL WINAPI DECLSPEC_HOTPATCH GetPerformanceInfo | ( | PPERFORMANCE_INFORMATION | info, |
DWORD | size | ||
) |
Definition at line 1544 of file debug.c.
Referenced by test_GetPerformanceInfo().
Definition at line 1615 of file debug.c.
Referenced by test_GetProcessImageFileName().
DWORD WINAPI DECLSPEC_HOTPATCH GetProcessImageFileNameW | ( | HANDLE | process, |
WCHAR * | file, | ||
DWORD | size | ||
) |
Definition at line 1625 of file debug.c.
Referenced by NonConsoleProcessShutdown(), test_GetProcessImageFileName(), and UserClientShutdown().
BOOL WINAPI DECLSPEC_HOTPATCH GetProcessMemoryInfo | ( | HANDLE | process, |
PROCESS_MEMORY_COUNTERS * | pmc, | ||
DWORD | count | ||
) |
Definition at line 1635 of file debug.c.
Referenced by test_GetProcessMemoryInfo().
BOOL WINAPI DECLSPEC_HOTPATCH GetWsChanges | ( | HANDLE | process, |
PSAPI_WS_WATCH_INFORMATION * | info, | ||
DWORD | size | ||
) |
Definition at line 1667 of file debug.c.
Referenced by test_ws_functions().
BOOL WINAPI DECLSPEC_HOTPATCH GetWsChangesEx | ( | HANDLE | process, |
PSAPI_WS_WATCH_INFORMATION_EX * | info, | ||
DWORD * | size | ||
) |
|
static |
Definition at line 904 of file debug.c.
Referenced by EnumProcessModulesEx(), and get_ldr_module().
|
static |
Definition at line 881 of file debug.c.
Referenced by EnumProcessModulesEx(), and get_ldr_module32().
Definition at line 167 of file debug.c.
Referenced by _CrtDbgReportWindow(), common_show_message_box(), ConsoleControlDispatcher(), DbgBreakOnEvent(), init_funcs(), InitThreads(), and wmain().
|
static |
Definition at line 935 of file debug.c.
Referenced by EnumProcessModulesEx(), get_ldr_module(), get_ldr_module32(), and module_push_all().
|
static |
|
static |
Definition at line 1090 of file debug.c.
Referenced by EnumProcessModulesEx().
|
static |
Definition at line 1082 of file debug.c.
Referenced by EnumProcessModulesEx(), and module_push_all().
void WINAPI DECLSPEC_HOTPATCH OutputDebugStringA | ( | LPCSTR | str | ) |
Definition at line 182 of file debug.c.
Referenced by OutputDebugStringW().
void WINAPI DECLSPEC_HOTPATCH OutputDebugStringW | ( | LPCWSTR | str | ) |
Definition at line 277 of file debug.c.
BOOL WINAPI DECLSPEC_HOTPATCH QueryFullProcessImageNameA | ( | HANDLE | process, |
DWORD | flags, | ||
char * | name, | ||
DWORD * | size | ||
) |
BOOL WINAPI DECLSPEC_HOTPATCH QueryFullProcessImageNameW | ( | HANDLE | process, |
DWORD | flags, | ||
WCHAR * | name, | ||
DWORD * | size | ||
) |
Definition at line 1743 of file debug.c.
Referenced by GetProcessImageFileNameW(), and QueryFullProcessImageNameA().
void WINAPI DECLSPEC_HOTPATCH RaiseException | ( | DWORD | code, |
DWORD | flags, | ||
DWORD | count, | ||
const ULONG_PTR * | args | ||
) |
Definition at line 388 of file debug.c.
Referenced by OutputDebugStringA(), OutputDebugStringW(), and RaiseException().
void WINAPI DECLSPEC_HOTPATCH RaiseFailFastException | ( | EXCEPTION_RECORD * | record, |
CONTEXT * | context, | ||
DWORD | flags | ||
) |
Definition at line 417 of file debug.c.
LPTOP_LEVEL_EXCEPTION_FILTER WINAPI DECLSPEC_HOTPATCH SetUnhandledExceptionFilter | ( | LPTOP_LEVEL_EXCEPTION_FILTER | filter | ) |
|
static |
Definition at line 506 of file debug.c.
Referenced by start_debugger_atomic().
|
static |
Definition at line 661 of file debug.c.
Referenced by UnhandledExceptionFilter().
LONG WINAPI UnhandledExceptionFilter | ( | EXCEPTION_POINTERS * | epointers | ) |
Definition at line 735 of file debug.c.
WINE_DECLARE_DEBUG_CHANNEL | ( | winedbg | ) |
WINE_DEFAULT_DEBUG_CHANNEL | ( | seh | ) |
|
static |
Definition at line 48 of file debug.c.
Referenced by SetUnhandledExceptionFilter(), and UnhandledExceptionFilter().