4 #ifndef WINDOWS_DEBUG_H
5 #define WINDOWS_DEBUG_H
26 #ifndef XSTATE_LEGACY_SSE
27 #define XSTATE_LEGACY_SSE 1
30 #if !defined(XSTATE_MASK_GSSE)
31 #define XSTATE_MASK_GSSE (1LLU << (XSTATE_GSSE))
36 #define CONTEXT_XSTATE (0x00100040)
38 #define CONTEXT_XSTATE (0x00010040)
40 #define XSTATE_AVX (XSTATE_GSSE)
41 #define XSTATE_MASK_AVX (XSTATE_MASK_GSSE)
43 #define CONTEXT_ALL 1048607
118 BOOL(WINAPI *w32_ProcessIdToSessionId)
120 BOOL(WINAPI *w32_QueryFullProcessImageNameW)
123 NTSTATUS(WINAPI *w32_NtQuerySystemInformation)
125 NTSTATUS(WINAPI *w32_NtQueryInformationThread)
127 NTSTATUS(WINAPI *w32_NtDuplicateObject)
132 ut64(WINAPI *w32_GetEnabledXStateFeatures)();
133 BOOL(WINAPI *w32_InitializeContext)
135 BOOL(WINAPI *w32_GetXStateFeaturesMask)
137 PVOID(WINAPI *w32_LocateXStateFeature)
139 BOOL(WINAPI *w32_SetXStateFeaturesMask)
static void list(RzEgg *egg)
static static fork const void static count static fd const char const char static newpath char char char static envp time_t static t const char static mode static whence const char static dir time_t static t unsigned static seconds const char struct utimbuf static buf static inc pid
ACCESS_MASK GrantedAccess
int w32_hwbp_arm_del(RzDebug *dbg, RzBreakpoint *bp, RzBreakpointItem *b)
int w32_hwbp_arm_add(RzDebug *dbg, RzBreakpoint *bp, RzBreakpointItem *b)
RzDebugInfo * w32_info(RzDebug *dbg, const char *arg)
int w32_attach_new_process(RzDebug *dbg, int pid)
int w32_attach(RzDebug *dbg, int pid)
@ NonPagedPoolCacheAligned
@ NonPagedPoolCacheAlignedMustS
@ NonPagedPoolMustSucceed
struct LIB_ITEM * PLIB_ITEM
struct _SYSTEM_HANDLE_INFORMATION * PSYSTEM_HANDLE_INFORMATION
ut64(WINAPI *w32_GetEnabledXStateFeatures)()
struct THREAD_ITEM * PTHREAD_ITEM
enum _POOL_TYPE POOL_TYPE
struct _SYSTEM_HANDLE_INFORMATION SYSTEM_HANDLE_INFORMATION
int w32_step(RzDebug *dbg)
enum _POOL_TYPE * PPOOL_TYPE
int w32_map_protect(RzDebug *dbg, ut64 addr, int size, int perms)
RzList * w32_thread_list(RzDebug *dbg, int pid, RzList *list)
void w32_break_process(void *user)
int w32_map_dealloc(RzDebug *dbg, ut64 addr, int size)
struct _OBJECT_TYPE_INFORMATION * POBJECT_TYPE_INFORMATION
int w32_init(RzDebug *dbg)
int w32_dbg_wait(RzDebug *dbg, int pid)
RzList * w32_pid_list(RzDebug *dbg, int pid, RzList *list)
int w32_kill(RzDebug *dbg, int pid, int tid, int sig)
int w32_reg_read(RzDebug *dbg, int type, ut8 *buf, int size)
int w32_continue(RzDebug *dbg, int pid, int tid, int sig)
struct _SYSTEM_HANDLE * PSYSTEM_HANDLE
struct _OBJECT_TYPE_INFORMATION OBJECT_TYPE_INFORMATION
struct _SYSTEM_HANDLE SYSTEM_HANDLE
int w32_detach(RzDebug *dbg, int pid)
int w32_select(RzDebug *dbg, int pid, int tid)
int w32_reg_write(RzDebug *dbg, int type, const ut8 *buf, int size)
RzList * w32_desc_list(int pid)
RzDebugMap * w32_map_alloc(RzDebug *dbg, ut64 addr, int size)