GDB (xrefs)
|
#include "gdbsupport/common-defs.h"
#include "nat/windows-nat.h"
#include "gdbsupport/common-debug.h"
#include "target/target.h"
Go to the source code of this file.
Namespaces | |
namespace | windows_nat |
Macros | |
#define | GetModuleFileNameEx GetModuleFileNameExA |
#define | GetThreadDescription dyn_GetThreadDescription |
#define | DEBUG_EVENTS(fmt, ...) |
#define | MS_VC_EXCEPTION 0x406d1388 |
#define | DEBUG_EXCEPTION_SIMPLE(x) |
#define | relocate_aslr_flags ((0x2 << 8) | (0x2 << 16)) |
#define | mitigation_policy 0x00020007 |
#define | EXTENDED_STARTUPINFO_PRESENT 0x00080000 |
#define | GPA(m, func) func = (func ## _ftype *) GetProcAddress (m, #func) |
Typedefs | |
typedef HRESULT WINAPI | windows_nat::GetThreadDescription_ftype(HANDLE, PWSTR *) |
Functions | |
static const char * | windows_nat::get_image_name (HANDLE h, void *address, int unicode) |
BOOL | windows_nat::continue_last_debug_event (DWORD continue_status, bool debug_events) |
BOOL | windows_nat::wait_for_debug_event (DEBUG_EVENT *event, DWORD timeout) |
template<typename FUNC , typename CHAR , typename INFO > | |
BOOL | windows_nat::create_process_wrapper (FUNC *do_create_process, const CHAR *image, CHAR *command_line, DWORD flags, void *environment, const CHAR *cur_dir, bool no_randomization, INFO *startup_info, PROCESS_INFORMATION *process_info) |
BOOL | windows_nat::create_process (const char *image, char *command_line, DWORD flags, void *environment, const char *cur_dir, bool no_randomization, STARTUPINFOA *startup_info, PROCESS_INFORMATION *process_info) |
template<typename... T> | |
BOOL WINAPI | windows_nat::bad (T... args) |
template<typename... T> | |
DWORD WINAPI | windows_nat::bad (T... args) |
static BOOL WINAPI | windows_nat::bad_GetCurrentConsoleFont (HANDLE w, BOOL bMaxWindow, CONSOLE_FONT_INFO *f) |
static COORD WINAPI | windows_nat::bad_GetConsoleFontSize (HANDLE w, DWORD nFont) |
bool | windows_nat::disable_randomization_available () |
bool | windows_nat::initialize_loadable () |
#define DEBUG_EVENTS | ( | fmt, | |
... ) |
Definition at line 77 of file windows-nat.c.
Referenced by windows_nat::continue_last_debug_event(), windows_nat::windows_process_info::fetch_pending_stop(), and windows_nat::windows_process_info::matching_pending_stop().
#define DEBUG_EXCEPTION_SIMPLE | ( | x | ) |
#define EXTENDED_STARTUPINFO_PRESENT 0x00080000 |
#define GetModuleFileNameEx GetModuleFileNameExA |
Definition at line 27 of file windows-nat.c.
Referenced by windows_nat::windows_process_info::add_dll(), and windows_nat::windows_process_info::get_exec_module_filename().
#define GetThreadDescription dyn_GetThreadDescription |
Definition at line 67 of file windows-nat.c.
#define mitigation_policy 0x00020007 |
Definition at line 757 of file windows-nat.c.
Referenced by windows_nat::create_process_wrapper().
#define MS_VC_EXCEPTION 0x406d1388 |
Definition at line 356 of file windows-nat.c.
Referenced by windows_nat::windows_process_info::handle_exception().
#define relocate_aslr_flags ((0x2 << 8) | (0x2 << 16)) |
Definition at line 754 of file windows-nat.c.
Referenced by windows_nat::create_process_wrapper().