|
Blender V5.0
|
#include <Windows.h>#include <commctrl.h>#include <sstream>#include <dbghelp.h>#include <shlwapi.h>#include <tlhelp32.h>#include "MEM_guardedalloc.h"#include "uri_convert.hh"#include "utfconv.hh"#include "BLI_string.h"#include "BLI_system.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, const EXCEPTION_POINTERS *exception_info) |
| static bool | bli_private_symbols_loaded () |
| static void | bli_load_symbols () |
| void | BLI_system_backtrace_with_os_info (FILE *fp, const void *os_info) |
| void | BLI_windows_exception_print_message (const void *os_info) |
bli_show_message_box | |
| static std::string | get_os_info () |
| static bool | bli_executable_path_get (LPWSTR path, DWORD size) |
| static std::wstring | url_encode_wstring (const std::string &str) |
| void | BLI_windows_exception_show_dialog (const char *filepath_crashlog, const char *filepath_relaunch, const char *gpu_name, const char *build_version) |
|
static |
Retrieve the path to "blender-launcher.exe" if it exists; otherwise, return the current executable path.
Definition at line 516 of file system_win32.cc.
Referenced by BLI_windows_exception_show_dialog().
|
static |
Definition at line 374 of file system_win32.cc.
References bli_private_symbols_loaded(), and mod.
Referenced by BLI_system_backtrace_with_os_info().
|
static |
Definition at line 364 of file system_win32.cc.
Referenced by bli_load_symbols().
| void BLI_system_backtrace_with_os_info | ( | FILE * | fp, |
| const void * | os_info ) |
Write a backtrace into a file for systems which support it.
Definition at line 418 of file system_win32.cc.
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(), free(), i, and SIZE.
Referenced by crashlog_file_generate().
| void BLI_windows_exception_print_message | ( | const void * | os_info | ) |
Definition at line 434 of file system_win32.cc.
References BLI_snprintf(), bli_windows_get_exception_description(), and bli_windows_get_module_name().
| void BLI_windows_exception_show_dialog | ( | const char * | filepath_crashlog, |
| const char * | filepath_relaunch, | ||
| const char * | gpu_name, | ||
| const char * | build_version ) |
Definition at line 583 of file system_win32.cc.
References alloc_utf16_from_8(), ARRAY_SIZE, bli_executable_path_get(), data, free(), get_os_info(), L, and url_encode_wstring().
|
static |
Definition at line 26 of file system_win32.cc.
Referenced by BLI_windows_exception_print_message(), and bli_windows_system_backtrace_exception_record().
|
static |
Definition at line 79 of file system_win32.cc.
Referenced by BLI_windows_exception_print_message(), bli_windows_system_backtrace_exception_record(), and BLI_windows_system_backtrace_run_trace().
|
static |
Definition at line 92 of file system_win32.cc.
References BLI_snprintf(), MEM_callocN(), MEM_freeN(), and size().
Referenced by bli_windows_system_backtrace_modules().
|
static |
Definition at line 125 of file system_win32.cc.
References bli_windows_get_exception_description(), bli_windows_get_module_name(), bli_windows_system_backtrace_exception_record(), and module.
Referenced by BLI_system_backtrace_with_os_info(), and bli_windows_system_backtrace_exception_record().
|
static |
Definition at line 277 of file system_win32.cc.
References bli_windows_get_module_version().
Referenced by BLI_system_backtrace_with_os_info().
|
static |
Definition at line 174 of file system_win32.cc.
References bli_windows_get_module_name(), MEM_callocN(), MEM_freeN(), module, and result.
Referenced by bli_windows_system_backtrace_stack(), and bli_windows_system_backtrace_stack_thread().
|
static |
Definition at line 348 of file system_win32.cc.
References BLI_windows_system_backtrace_run_trace(), and bli_windows_system_backtrace_stack_thread().
Referenced by BLI_system_backtrace_with_os_info().
|
static |
Definition at line 256 of file system_win32.cc.
References BLI_windows_system_backtrace_run_trace().
Referenced by bli_windows_system_backtrace_stack(), and bli_windows_system_backtrace_threads().
|
static |
Definition at line 317 of file system_win32.cc.
References bli_windows_system_backtrace_stack_thread(), and FALSE.
Referenced by BLI_system_backtrace_with_os_info().
|
static |
Definition at line 468 of file system_win32.cc.
Referenced by BLI_windows_exception_show_dialog().
|
static |
Definition at line 565 of file system_win32.cc.
References len, result, str, and url_encode().
Referenced by BLI_windows_exception_show_dialog().