Go to the source code of this file.
#define _ALLOCA_S_HEAP_MARKER 0xDDDD |
#define _ALLOCA_S_STACK_MARKER 0xCCCC |
#define _ALLOCA_S_THRESHOLD 1024 |
#define _CRT_ALLOCATION_DEFINED |
#define _HEAP_MAXREQ 0xFFFFFFE0 |
#define _HEAPBADBEGIN (-3) |
#define _HEAPBADNODE (-4) |
#define _HEAPINFO_DEFINED |
Value:
#define _ALLOCA_S_STACK_MARKER
Definition: malloc.h:182
__inline void * _MarkAllocaS(_Out_opt_ __crt_typefix(unsigned int *) void *_Ptr, unsigned int _Marker)
Definition: malloc.h:200
_W64 unsigned int size_t
Definition: crtdefs.h:496
#define NULL
Definition: crtdbg.h:30
#define _ALLOCA_S_HEAP_MARKER
Definition: malloc.h:183
__inline int _MallocaIsSizeInRange(size_t size)
Definition: malloc.h:210
__pragma(warning(push)) __pragma(warning(disable
Definition: malloc.h:253
#define _ALLOCA_S_THRESHOLD
Definition: malloc.h:181
#define _MAX_WAIT_MALLOC_CRT 60000 |
#define _mm_malloc |
( |
|
a, |
|
|
|
b |
|
) |
| _aligned_malloc(a, b) |
#define _STATIC_ASSERT |
( |
|
expr | ) |
typedef char __static_assert_t[ (expr) ] |
__pragma |
( |
warning(push) |
| ) |
|
257 unsigned int _Marker;
260 _Memory = (
char*)_Memory - _ALLOCA_S_MARKER_SIZE;
261 _Marker = *(
unsigned int *)_Memory;
266 #if defined (_ASSERTE)
269 #pragma warning(suppress: 4548)
270 _ASSERTE((
"Corrupted pointer passed to _freea", 0));
#define _ALLOCA_S_STACK_MARKER
Definition: malloc.h:182
#define _Post_invalid_
Definition: sal.h:701
_CRTIMP _CRTNOALIAS void __cdecl free(_Pre_maybenull_ _Post_invalid_ void *_Memory)
#define _ALLOCA_S_HEAP_MARKER
Definition: malloc.h:183
#define _Pre_maybenull_
Definition: sal.h:687
#define _ASSERTE(expr)
Definition: crtdbg.h:216
#define __CRTDECL
Definition: crtdefs.h:622
#define _CRTNOALIAS
Definition: crtdefs.h:611
__inline int _MallocaIsSizeInRange |
( |
size_t |
size | ) |
|
212 return size + _ALLOCA_S_MARKER_SIZE > size;
204 *((
unsigned int*)_Ptr) = _Marker;
205 _Ptr = (
char*)_Ptr + _ALLOCA_S_MARKER_SIZE;
_CRTIMP unsigned long __cdecl _set_malloc_crt_max_wait |
( |
_In_ unsigned long |
_NewValue | ) |
|
_STATIC_ASSERT |
( |
sizeof(unsigned int)<= |
_ALLOCA_S_MARKER_SIZE | ) |
|