summaryrefslogtreecommitdiffstats
path: root/tests/fuzztest/malloc_wrappers.h
blob: 7eec7952711dc72defc56c584599bedb7593a421 (plain)
1
2
3
4
5
6
7
#include <stdlib.h>

void* malloc_with_check(size_t size);
void free_with_check(void *mem);
void* counting_realloc(void *ptr, size_t size);
void counting_free(void *ptr);
size_t get_alloc_count();