Blender
V3.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 318 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 365 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 19 of file system_win32.c.
Referenced by BLI_windows_handle_exception(), and bli_windows_system_backtrace_exception_record().
|
static |
Definition at line 67 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 78 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 380 of file system_win32.c.
References bli_windows_get_exception_description(), bli_windows_get_module_name(), and current_exception.
|
static |
Definition at line 111 of file system_win32.c.
References bli_windows_get_exception_description(), bli_windows_get_module_name(), and module.
Referenced by BLI_system_backtrace().
|
static |
Definition at line 222 of file system_win32.c.
References bli_windows_get_module_version().
Referenced by BLI_system_backtrace().
|
static |
Definition at line 133 of file system_win32.c.
References bli_windows_get_module_name(), blender::compositor::context, 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 292 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 201 of file system_win32.c.
References BLI_windows_system_backtrace_run_trace(), and blender::compositor::context.
Referenced by BLI_windows_system_backtrace_stack(), and bli_windows_system_backtrace_threads().
|
static |
Definition at line 261 of file system_win32.c.
References bli_windows_system_backtrace_stack_thread(), and FALSE.
Referenced by BLI_system_backtrace().
|
static |
Definition at line 17 of file system_win32.c.
Referenced by BLI_system_backtrace(), BLI_windows_handle_exception(), and BLI_windows_system_backtrace_stack().