GDB (xrefs)
Loading...
Searching...
No Matches
Classes | Namespaces | Macros | Typedefs | Enumerations | Functions
windows-nat.h File Reference
#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)
 

Enumerations

enum  windows_nat::thread_disposition_type { windows_nat::DONT_INVALIDATE_CONTEXT , windows_nat::DONT_SUSPEND , windows_nat::INVALIDATE_CONTEXT }
 
enum  windows_nat::handle_exception_result { windows_nat::HANDLE_EXCEPTION_UNHANDLED = 0 , windows_nat::HANDLE_EXCEPTION_HANDLED , windows_nat::HANDLE_EXCEPTION_IGNORED }
 

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 ()
 

Macro Definition Documentation

◆ AdjustTokenPrivileges

#define AdjustTokenPrivileges   dyn_AdjustTokenPrivileges

Definition at line 316 of file windows-nat.h.

◆ DebugActiveProcessStop

#define DebugActiveProcessStop   dyn_DebugActiveProcessStop

Definition at line 317 of file windows-nat.h.

◆ DebugBreakProcess

#define DebugBreakProcess   dyn_DebugBreakProcess

Definition at line 318 of file windows-nat.h.

◆ DebugSetProcessKillOnExit

#define DebugSetProcessKillOnExit   dyn_DebugSetProcessKillOnExit

Definition at line 319 of file windows-nat.h.

◆ DeleteProcThreadAttributeList

#define DeleteProcThreadAttributeList   dyn_DeleteProcThreadAttributeList

Definition at line 341 of file windows-nat.h.

◆ EnumProcessModules

#define EnumProcessModules   dyn_EnumProcessModules

Definition at line 321 of file windows-nat.h.

◆ EnumProcessModulesEx

#define EnumProcessModulesEx   dyn_EnumProcessModulesEx

◆ GenerateConsoleCtrlEvent

#define GenerateConsoleCtrlEvent   dyn_GenerateConsoleCtrlEvent

Definition at line 338 of file windows-nat.h.

◆ GetConsoleFontSize

#define GetConsoleFontSize   dyn_GetConsoleFontSize

Definition at line 332 of file windows-nat.h.

◆ GetCurrentConsoleFont

#define GetCurrentConsoleFont   dyn_GetCurrentConsoleFont

Definition at line 333 of file windows-nat.h.

◆ GetModuleFileNameExA

#define GetModuleFileNameExA   dyn_GetModuleFileNameExA

Definition at line 327 of file windows-nat.h.

◆ GetModuleFileNameExW

#define GetModuleFileNameExW   dyn_GetModuleFileNameExW

Definition at line 329 of file windows-nat.h.

◆ GetModuleInformation

#define GetModuleInformation   dyn_GetModuleInformation

Definition at line 325 of file windows-nat.h.

◆ InitializeProcThreadAttributeList

#define InitializeProcThreadAttributeList   dyn_InitializeProcThreadAttributeList

Definition at line 339 of file windows-nat.h.

◆ LookupPrivilegeValueA

#define LookupPrivilegeValueA   dyn_LookupPrivilegeValueA

Definition at line 330 of file windows-nat.h.

◆ OpenProcessToken

#define OpenProcessToken   dyn_OpenProcessToken

Definition at line 331 of file windows-nat.h.

◆ STATUS_WX86_BREAKPOINT

#define STATUS_WX86_BREAKPOINT   0x4000001F

◆ STATUS_WX86_SINGLE_STEP

#define STATUS_WX86_SINGLE_STEP   0x4000001E

Definition at line 30 of file windows-nat.h.

Referenced by windows_nat::windows_process_info::handle_exception().

◆ UpdateProcThreadAttribute

#define UpdateProcThreadAttribute   dyn_UpdateProcThreadAttribute

Definition at line 340 of file windows-nat.h.

◆ Wow64GetThreadContext

#define Wow64GetThreadContext   dyn_Wow64GetThreadContext

◆ Wow64GetThreadSelectorEntry

#define Wow64GetThreadSelectorEntry   dyn_Wow64GetThreadSelectorEntry

Definition at line 337 of file windows-nat.h.

Referenced by display_selector(), and windows_nat::initialize_loadable().

◆ Wow64SetThreadContext

#define Wow64SetThreadContext   dyn_Wow64SetThreadContext

◆ Wow64SuspendThread

#define Wow64SuspendThread   dyn_Wow64SuspendThread

Definition at line 334 of file windows-nat.h.

Referenced by windows_nat::initialize_loadable().