|
Blender V4.3
|
#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 335 of file system_win32.c.
References bli_private_symbols_loaded(), 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 382 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 21 of file system_win32.c.
Referenced by BLI_windows_handle_exception(), and bli_windows_system_backtrace_exception_record().
|
static |
Definition at line 69 of file system_win32.c.
References mod().
Referenced by BLI_windows_handle_exception(), bli_windows_system_backtrace_exception_record(), and BLI_windows_system_backtrace_run_trace().
|
static |
Definition at line 80 of file system_win32.c.
References BLI_snprintf(), MEM_callocN, MEM_freeN(), and NULL.
Referenced by bli_windows_system_backtrace_modules().
| void BLI_windows_handle_exception | ( | EXCEPTION_POINTERS * | exception | ) |
Definition at line 397 of file system_win32.c.
References bli_windows_get_exception_description(), bli_windows_get_module_name(), and current_exception.
|
static |
Definition at line 113 of file system_win32.c.
References bli_windows_get_exception_description(), bli_windows_get_module_name(), bli_windows_system_backtrace_exception_record(), and module.
Referenced by BLI_system_backtrace(), and bli_windows_system_backtrace_exception_record().
|
static |
Definition at line 238 of file system_win32.c.
References bli_windows_get_module_version().
Referenced by BLI_system_backtrace().
|
static |
Definition at line 135 of file system_win32.c.
References bli_windows_get_module_name(), 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 309 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 217 of file system_win32.c.
References BLI_windows_system_backtrace_run_trace().
Referenced by BLI_windows_system_backtrace_stack(), and bli_windows_system_backtrace_threads().
|
static |
Definition at line 278 of file system_win32.c.
References bli_windows_system_backtrace_stack_thread(), and FALSE.
Referenced by BLI_system_backtrace().
|
static |
Definition at line 19 of file system_win32.c.
Referenced by BLI_system_backtrace(), BLI_windows_handle_exception(), and BLI_windows_system_backtrace_stack().