|
Blender
V2.93
|
#include <Windows.h>#include <stdio.h>#include <dbghelp.h>#include <shlwapi.h>#include <tlhelp32.h>#include "BLI_string.h"#include "MEM_guardedalloc.h"Go to the source code of this file.
Functions | |
| static const char * | bli_windows_get_exception_description (const DWORD exceptioncode) |
| static void | bli_windows_get_module_name (LPVOID address, PCHAR buffer, size_t size) |
| static void | bli_windows_get_module_version (const char *file, char *buffer, size_t buffersize) |
| static void | bli_windows_system_backtrace_exception_record (FILE *fp, PEXCEPTION_RECORD record) |
| static bool | BLI_windows_system_backtrace_run_trace (FILE *fp, HANDLE hThread, PCONTEXT context) |
| static bool | bli_windows_system_backtrace_stack_thread (FILE *fp, HANDLE hThread) |
| static void | bli_windows_system_backtrace_modules (FILE *fp) |
| static void | bli_windows_system_backtrace_threads (FILE *fp) |
| static bool | BLI_windows_system_backtrace_stack (FILE *fp) |
| static bool | bli_private_symbols_loaded () |
| static void | bli_load_symbols () |
| void | BLI_system_backtrace (FILE *fp) |
| void | BLI_windows_handle_exception (EXCEPTION_POINTERS *exception) |
Variables | |
| static EXCEPTION_POINTERS * | current_exception = NULL |
|
static |
Definition at line 332 of file system_win32.c.
References bli_private_symbols_loaded(), LPVOID, mod(), and NULL.
Referenced by BLI_system_backtrace().
|
static |
| void BLI_system_backtrace | ( | FILE * | fp | ) |
Write a backtrace into a file for systems which support it.
Definition at line 376 of file system_win32.c.
References bli_load_symbols(), bli_windows_system_backtrace_exception_record(), bli_windows_system_backtrace_modules(), BLI_windows_system_backtrace_stack(), bli_windows_system_backtrace_threads(), current_exception, and NULL.
|
static |
Definition at line 33 of file system_win32.c.
Referenced by BLI_windows_handle_exception(), and bli_windows_system_backtrace_exception_record().
|
static |
Definition at line 81 of file system_win32.c.
References buffer, mod(), and size().
Referenced by BLI_windows_handle_exception(), bli_windows_system_backtrace_exception_record(), and BLI_windows_system_backtrace_run_trace().
|
static |
Definition at line 92 of file system_win32.c.
References BLI_snprintf(), buffer, file, MEM_callocN, MEM_freeN, NULL, size(), and UINT.
Referenced by bli_windows_system_backtrace_modules().
| void BLI_windows_handle_exception | ( | EXCEPTION_POINTERS * | exception | ) |
Definition at line 391 of file system_win32.c.
References bli_windows_get_exception_description(), bli_windows_get_module_name(), current_exception, and LPVOID.
|
static |
Definition at line 125 of file system_win32.c.
References bli_windows_get_exception_description(), bli_windows_get_module_name(), LPVOID, and module.
Referenced by BLI_system_backtrace().
|
static |
Definition at line 236 of file system_win32.c.
References bli_windows_get_module_version().
Referenced by BLI_system_backtrace().
|
static |
Definition at line 147 of file system_win32.c.
References bli_windows_get_module_name(), context, LPVOID, MEM_callocN, MEM_freeN, module, NULL, and result.
Referenced by BLI_windows_system_backtrace_stack(), and bli_windows_system_backtrace_stack_thread().
|
static |
Definition at line 306 of file system_win32.c.
References BLI_windows_system_backtrace_run_trace(), bli_windows_system_backtrace_stack_thread(), and current_exception.
Referenced by BLI_system_backtrace().
|
static |
Definition at line 215 of file system_win32.c.
References BLI_windows_system_backtrace_run_trace(), and context.
Referenced by BLI_windows_system_backtrace_stack(), and bli_windows_system_backtrace_threads().
|
static |
Definition at line 275 of file system_win32.c.
References bli_windows_system_backtrace_stack_thread(), and FALSE.
Referenced by BLI_system_backtrace().
|
static |
Definition at line 31 of file system_win32.c.
Referenced by BLI_system_backtrace(), BLI_windows_handle_exception(), and BLI_windows_system_backtrace_stack().