GDBserver
|
#include <windows.h>
#include <psapi.h>
#include <vector>
#include "gdbsupport/gdb_optional.h"
#include "target/waitstatus.h"
Go to the source code of this file.
Classes | |
struct | windows_nat::windows_thread_info |
struct | windows_nat::pending_stop |
struct | windows_nat::windows_process_info |
Namespaces | |
namespace | windows_nat |
Macros | |
#define | STATUS_WX86_BREAKPOINT 0x4000001F |
#define | STATUS_WX86_SINGLE_STEP 0x4000001E |
#define | AdjustTokenPrivileges dyn_AdjustTokenPrivileges |
#define | DebugActiveProcessStop dyn_DebugActiveProcessStop |
#define | DebugBreakProcess dyn_DebugBreakProcess |
#define | DebugSetProcessKillOnExit dyn_DebugSetProcessKillOnExit |
#define | EnumProcessModules dyn_EnumProcessModules |
#define | EnumProcessModulesEx dyn_EnumProcessModulesEx |
#define | GetModuleInformation dyn_GetModuleInformation |
#define | GetModuleFileNameExA dyn_GetModuleFileNameExA |
#define | GetModuleFileNameExW dyn_GetModuleFileNameExW |
#define | LookupPrivilegeValueA dyn_LookupPrivilegeValueA |
#define | OpenProcessToken dyn_OpenProcessToken |
#define | GetConsoleFontSize dyn_GetConsoleFontSize |
#define | GetCurrentConsoleFont dyn_GetCurrentConsoleFont |
#define | Wow64SuspendThread dyn_Wow64SuspendThread |
#define | Wow64GetThreadContext dyn_Wow64GetThreadContext |
#define | Wow64SetThreadContext dyn_Wow64SetThreadContext |
#define | Wow64GetThreadSelectorEntry dyn_Wow64GetThreadSelectorEntry |
#define | GenerateConsoleCtrlEvent dyn_GenerateConsoleCtrlEvent |
#define | InitializeProcThreadAttributeList dyn_InitializeProcThreadAttributeList |
#define | UpdateProcThreadAttribute dyn_UpdateProcThreadAttribute |
#define | DeleteProcThreadAttributeList dyn_DeleteProcThreadAttributeList |
Typedefs | |
typedef BOOL WINAPI | windows_nat::AdjustTokenPrivileges_ftype(HANDLE, BOOL, PTOKEN_PRIVILEGES, DWORD, PTOKEN_PRIVILEGES, PDWORD) |
typedef BOOL WINAPI | windows_nat::DebugActiveProcessStop_ftype(DWORD) |
typedef BOOL WINAPI | windows_nat::DebugBreakProcess_ftype(HANDLE) |
typedef BOOL WINAPI | windows_nat::DebugSetProcessKillOnExit_ftype(BOOL) |
typedef BOOL WINAPI | windows_nat::EnumProcessModules_ftype(HANDLE, HMODULE *, DWORD, LPDWORD) |
typedef BOOL WINAPI | windows_nat::GetModuleInformation_ftype(HANDLE, HMODULE, LPMODULEINFO, DWORD) |
typedef DWORD WINAPI | windows_nat::GetModuleFileNameExA_ftype(HANDLE, HMODULE, LPSTR, DWORD) |
typedef DWORD WINAPI | windows_nat::GetModuleFileNameExW_ftype(HANDLE, HMODULE, LPWSTR, DWORD) |
typedef BOOL WINAPI | windows_nat::LookupPrivilegeValueA_ftype(LPCSTR, LPCSTR, PLUID) |
typedef BOOL WINAPI | windows_nat::OpenProcessToken_ftype(HANDLE, DWORD, PHANDLE) |
typedef BOOL WINAPI | windows_nat::GetCurrentConsoleFont_ftype(HANDLE, BOOL, CONSOLE_FONT_INFO *) |
typedef COORD WINAPI | windows_nat::GetConsoleFontSize_ftype(HANDLE, DWORD) |
typedef BOOL WINAPI | windows_nat::GenerateConsoleCtrlEvent_ftype(DWORD, DWORD) |
typedef void * | windows_nat::gdb_lpproc_thread_attribute_list |
typedef BOOL WINAPI | windows_nat::InitializeProcThreadAttributeList_ftype(gdb_lpproc_thread_attribute_list lpAttributeList, DWORD dwAttributeCount, DWORD dwFlags, PSIZE_T lpSize) |
typedef BOOL WINAPI | windows_nat::UpdateProcThreadAttribute_ftype(gdb_lpproc_thread_attribute_list lpAttributeList, DWORD dwFlags, DWORD_PTR Attribute, PVOID lpValue, SIZE_T cbSize, PVOID lpPreviousValue, PSIZE_T lpReturnSize) |
typedef void WINAPI | windows_nat::DeleteProcThreadAttributeList_ftype(gdb_lpproc_thread_attribute_list lpAttributeList) |
Functions | |
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) |
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) |
bool | windows_nat::disable_randomization_available () |
bool | windows_nat::initialize_loadable () |
#define AdjustTokenPrivileges dyn_AdjustTokenPrivileges |
Definition at line 316 of file windows-nat.h.
#define DebugActiveProcessStop dyn_DebugActiveProcessStop |
Definition at line 317 of file windows-nat.h.
#define DebugBreakProcess dyn_DebugBreakProcess |
Definition at line 318 of file windows-nat.h.
#define DebugSetProcessKillOnExit dyn_DebugSetProcessKillOnExit |
Definition at line 319 of file windows-nat.h.
#define DeleteProcThreadAttributeList dyn_DeleteProcThreadAttributeList |
Definition at line 341 of file windows-nat.h.
#define EnumProcessModules dyn_EnumProcessModules |
Definition at line 321 of file windows-nat.h.
#define EnumProcessModulesEx dyn_EnumProcessModulesEx |
Definition at line 323 of file windows-nat.h.
Referenced by windows_nat::windows_process_info::add_dll(), windows_nat::windows_process_info::get_exec_module_filename(), and windows_nat::initialize_loadable().
#define GenerateConsoleCtrlEvent dyn_GenerateConsoleCtrlEvent |
Definition at line 338 of file windows-nat.h.
#define GetConsoleFontSize dyn_GetConsoleFontSize |
Definition at line 332 of file windows-nat.h.
#define GetCurrentConsoleFont dyn_GetCurrentConsoleFont |
Definition at line 333 of file windows-nat.h.
#define GetModuleFileNameExA dyn_GetModuleFileNameExA |
Definition at line 327 of file windows-nat.h.
#define GetModuleFileNameExW dyn_GetModuleFileNameExW |
Definition at line 329 of file windows-nat.h.
#define GetModuleInformation dyn_GetModuleInformation |
Definition at line 325 of file windows-nat.h.
#define InitializeProcThreadAttributeList dyn_InitializeProcThreadAttributeList |
Definition at line 339 of file windows-nat.h.
#define LookupPrivilegeValueA dyn_LookupPrivilegeValueA |
Definition at line 330 of file windows-nat.h.
#define OpenProcessToken dyn_OpenProcessToken |
Definition at line 331 of file windows-nat.h.
#define STATUS_WX86_BREAKPOINT 0x4000001F |
Definition at line 29 of file windows-nat.h.
Referenced by windows_nat::windows_process_info::handle_exception().
#define STATUS_WX86_SINGLE_STEP 0x4000001E |
Definition at line 30 of file windows-nat.h.
Referenced by windows_nat::windows_process_info::handle_exception().
#define UpdateProcThreadAttribute dyn_UpdateProcThreadAttribute |
Definition at line 340 of file windows-nat.h.
#define Wow64GetThreadContext dyn_Wow64GetThreadContext |
Definition at line 335 of file windows-nat.h.
Referenced by windows_nat::initialize_loadable().
#define Wow64GetThreadSelectorEntry dyn_Wow64GetThreadSelectorEntry |
Definition at line 337 of file windows-nat.h.
Referenced by windows_nat::initialize_loadable().
#define Wow64SetThreadContext dyn_Wow64SetThreadContext |
Definition at line 336 of file windows-nat.h.
Referenced by windows_nat::initialize_loadable().
#define Wow64SuspendThread dyn_Wow64SuspendThread |
Definition at line 334 of file windows-nat.h.
Referenced by windows_nat::initialize_loadable().