MOS Source Code
Loading...
Searching...
No Matches
malloc_wrappers.h
Go to the documentation of this file.
1#include <stdlib.h>
2
3void* malloc_with_check(size_t size);
4void free_with_check(void *mem);
5void* realloc_with_check(void *ptr, size_t size);
6size_t get_alloc_count();
7size_t get_allocation_size(const void *mem);
8size_t get_alloc_bytes();
9void set_max_alloc_bytes(size_t max_bytes);
10size_t get_max_alloc_bytes();
void * malloc_with_check(size_t size)
size_t get_allocation_size(const void *mem)
size_t get_alloc_count()
void free_with_check(void *mem)
size_t get_max_alloc_bytes()
void * realloc_with_check(void *ptr, size_t size)
size_t get_alloc_bytes()
void set_max_alloc_bytes(size_t max_bytes)
size_t size
Definition slab.c:30