Pyrogenesis
13997
|
#include "precompiled.h"
#include "lib/sysdep/os/win/wdbg_heap.h"
#include "lib/sysdep/os/win/win.h"
#include <crtdbg.h>
#include <excpt.h>
#include "lib/external_libraries/dbghelp.h"
#include "lib/sysdep/cpu.h"
#include "lib/sysdep/os/win/winit.h"
#include "lib/sysdep/os/win/wdbg.h"
#include "lib/sysdep/os/win/wdbg_sym.h"
Go to the source code of this file.
Macros | |
#define | ENABLE_LEAK_INSTRUMENTATION 0 |
Functions | |
WINIT_REGISTER_EARLY_INIT2 (wdbg_heap_Init) | |
WINIT_REGISTER_LATE_SHUTDOWN2 (wdbg_heap_Shutdown) | |
void | wdbg_heap_Enable (bool enable) |
enable or disable manual and automatic heap validity checking. More... | |
void | wdbg_heap_Validate () |
check heap integrity. More... | |
intptr_t | wdbg_heap_NumberOfAllocations () |
static Status | wdbg_heap_Init () |
static Status | wdbg_heap_Shutdown () |
#define ENABLE_LEAK_INSTRUMENTATION 0 |
Definition at line 95 of file wdbg_heap.cpp.
void wdbg_heap_Enable | ( | bool | ) |
enable or disable manual and automatic heap validity checking.
(enabled by default during critical_init.)
Definition at line 41 of file wdbg_heap.cpp.
|
static |
Definition at line 943 of file wdbg_heap.cpp.
intptr_t wdbg_heap_NumberOfAllocations | ( | ) |
Definition at line 930 of file wdbg_heap.cpp.
|
static |
Definition at line 964 of file wdbg_heap.cpp.
void wdbg_heap_Validate | ( | ) |
check heap integrity.
errors are reported by the CRT or via debug_DisplayError. no effect if called between wdbg_heap_Enable(false) and the next wdbg_heap_Enable(true).
Definition at line 66 of file wdbg_heap.cpp.
WINIT_REGISTER_EARLY_INIT2 | ( | wdbg_heap_Init | ) |
WINIT_REGISTER_LATE_SHUTDOWN2 | ( | wdbg_heap_Shutdown | ) |