Rizin
unix-like reverse engineering framework and cli tools
|
Go to the source code of this file.
Macros | |
#define | DEF_PROC(proc) static proc##_t *w32_##proc |
#define | GET_PROC(proc) |
Typedefs | |
typedef BOOL __stdcall | SymInitialize_t(_In_ HANDLE hProcess, _In_opt_ PCSTR UserSearchPath, _In_ BOOL fInvadeProcess) |
typedef BOOL __stdcall | SymCleanup_t(_In_ HANDLE hProcess) |
typedef PVOID __stdcall | SymFunctionTableAccess64_t(_In_ HANDLE hProcess, _In_ DWORD64 AddrBase) |
typedef DWORD64 __stdcall | SymGetModuleBase64_t(_In_ HANDLE hProcess, _In_ DWORD64 qwAddr) |
typedef BOOL __stdcall | StackWalk64_t(_In_ DWORD MachineType, _In_ HANDLE hProcess, _In_ HANDLE hThread, _Inout_ LPSTACKFRAME64 StackFrame, _Inout_ PVOID ContextRecord, _In_opt_ PREAD_PROCESS_MEMORY_ROUTINE64 ReadMemoryRoutine, _In_opt_ PFUNCTION_TABLE_ACCESS_ROUTINE64 FunctionTableAccessRoutine, _In_opt_ PGET_MODULE_BASE_ROUTINE64 GetModuleBaseRoutine, _In_opt_ PTRANSLATE_ADDRESS_ROUTINE64 TranslateAddress) |
Functions | |
DEF_PROC (SymInitialize) | |
DEF_PROC (SymCleanup) | |
DEF_PROC (SymFunctionTableAccess64) | |
DEF_PROC (SymGetModuleBase64) | |
DEF_PROC (StackWalk64) | |
static bool | initialize_sym_api (void) |
static RzList * | backtrace_windows (RzDebug *dbg, ut64 at) |
Definition at line 8 of file windows-all.c.
#define GET_PROC | ( | proc | ) |
typedef BOOL __stdcall StackWalk64_t(_In_ DWORD MachineType, _In_ HANDLE hProcess, _In_ HANDLE hThread, _Inout_ LPSTACKFRAME64 StackFrame, _Inout_ PVOID ContextRecord, _In_opt_ PREAD_PROCESS_MEMORY_ROUTINE64 ReadMemoryRoutine, _In_opt_ PFUNCTION_TABLE_ACCESS_ROUTINE64 FunctionTableAccessRoutine, _In_opt_ PGET_MODULE_BASE_ROUTINE64 GetModuleBaseRoutine, _In_opt_ PTRANSLATE_ADDRESS_ROUTINE64 TranslateAddress) |
Definition at line 31 of file windows-all.c.
typedef BOOL __stdcall SymCleanup_t(_In_ HANDLE hProcess) |
Definition at line 20 of file windows-all.c.
Definition at line 23 of file windows-all.c.
Definition at line 27 of file windows-all.c.
typedef BOOL __stdcall SymInitialize_t(_In_ HANDLE hProcess, _In_opt_ PCSTR UserSearchPath, _In_ BOOL fInvadeProcess) |
Definition at line 15 of file windows-all.c.
Definition at line 66 of file windows-all.c.
References rz_debug_frame_t::addr, rz_debug_frame_t::bp, dbg, DWORD, free(), IMAGE_FILE_MACHINE_ARM64, initialize_sym_api(), list(), lock(), NULL, W32DbgWInst::pi, rz_debug_t::plugin_data, rz_debug_t::reg, rz_list_append(), rz_list_newf(), RZ_NEW0, rz_reg_arena_peek(), rz_reg_get_name(), rz_reg_getv(), RZ_REG_NAME_BP, RZ_REG_NAME_PC, RZ_REG_NAME_SP, rz_th_lock_enter(), rz_th_lock_leave(), rz_th_lock_new(), rz_debug_frame_t::size, rz_debug_frame_t::sp, and TRUE.
Referenced by rz_debug_native_frames().
DEF_PROC | ( | StackWalk64 | ) |
DEF_PROC | ( | SymCleanup | ) |
DEF_PROC | ( | SymFunctionTableAccess64 | ) |
DEF_PROC | ( | SymGetModuleBase64 | ) |
DEF_PROC | ( | SymInitialize | ) |
|
inlinestatic |
Definition at line 48 of file windows-all.c.
References GET_PROC, and initialized.
Referenced by backtrace_windows().