From 0dce9ef635f8af1b9aa07a43f610295bca8954da Mon Sep 17 00:00:00 2001 From: Petteri Aimonen Date: Sat, 6 Sep 2014 19:01:11 +0300 Subject: 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. --- tests/fuzztest/malloc_wrappers.h | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 tests/fuzztest/malloc_wrappers.h (limited to 'tests/fuzztest/malloc_wrappers.h') diff --git a/tests/fuzztest/malloc_wrappers.h b/tests/fuzztest/malloc_wrappers.h new file mode 100644 index 00000000..7eec7952 --- /dev/null +++ b/tests/fuzztest/malloc_wrappers.h @@ -0,0 +1,7 @@ +#include + +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(); -- cgit 1.2.3-korg