Add a better fuzz test.

Attempts to verify all the properties defined in the security model,
while also being portable and able to run on many platforms.
This commit is contained in:
Petteri Aimonen
2014-09-06 19:01:11 +03:00
parent 6df566859d
commit 9c92410e2a
12 changed files with 771 additions and 1 deletions

View File

@@ -0,0 +1,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();