#include <corecrt_internal.h>
#include <malloc.h>
Go to the source code of this file.
◆ _heapwalk()
Definition at line 46 of file heapwalk.cpp.
47{
48
50
55
56
57 if (win32_entry.
lpData ==
nullptr)
58 {
61 }
62 else
63 {
65 {
68
70 }
71
75 }
76
77 for (;;)
78 {
80 {
81 entry->_pentry =
static_cast<int*
>(win32_entry.
lpData);
85 }
86
90 }
91}
#define _VALIDATE_RETURN(expr, errorcode, retexpr)
BOOL WINAPI HeapValidate(HANDLE hHeap, DWORD dwFlags, LPCVOID lpMem)
BOOL WINAPI HeapWalk(HANDLE hHeap, LPPROCESS_HEAP_ENTRY lpEntry)
static int __cdecl try_walk(PROCESS_HEAP_ENTRY *const win32_entry)
#define PROCESS_HEAP_ENTRY_BUSY
◆ try_walk()
Definition at line 15 of file heapwalk.cpp.
16{
18 {
21
24
26 }
28 {
30 }
32}
#define ERROR_NO_MORE_ITEMS
#define GetExceptionCode()
DWORD WINAPI GetLastError(void)
#define EXCEPTION_ACCESS_VIOLATION
Referenced by _heapwalk().