hardened_malloc/test/simple-memory-corruption
Thibaut Sautereau a33d2ca97d Fix CPPFLAGS in test Makefile
In particular, the _GNU_SOURCE feature test macro needs to be set in
order to correctly define mmap(2) flags such as MAP_ANONYMOUS.
Otherwise, compilation of some test files fails when CPPFLAGS is not
defined in the initial user environment, as Make then does not export it
from the root Makefile to the sub-make.
2021-11-02 16:13:09 -04:00
..
__init__.py verifies the results of the simple-memory-corruption tests 2020-04-11 15:08:30 -04:00
.gitignore added tests for if malloc_object_size small allocations are free 2020-06-17 23:29:30 -04:00
delete_type_size_mismatch.cc tests: make no-optimize attribute Clang compatible 2020-06-17 20:08:46 -04:00
double_free_large_delayed.c tests: make no-optimize attribute Clang compatible 2020-06-17 20:08:46 -04:00
double_free_large.c tests: make no-optimize attribute Clang compatible 2020-06-17 20:08:46 -04:00
double_free_small_delayed.c tests: make no-optimize attribute Clang compatible 2020-06-17 20:08:46 -04:00
double_free_small.c tests: make no-optimize attribute Clang compatible 2020-06-17 20:08:46 -04:00
eight_byte_overflow_large.c tests: make no-optimize attribute Clang compatible 2020-06-17 20:08:46 -04:00
eight_byte_overflow_small.c tests: make no-optimize attribute Clang compatible 2020-06-17 20:08:46 -04:00
invalid_free_protected.c tests: make no-optimize attribute Clang compatible 2020-06-17 20:08:46 -04:00
invalid_free_small_region_far.c tests: make no-optimize attribute Clang compatible 2020-06-17 20:08:46 -04:00
invalid_free_small_region.c tests: make no-optimize attribute Clang compatible 2020-06-17 20:08:46 -04:00
invalid_free_unprotected.c tests: make no-optimize attribute Clang compatible 2020-06-17 20:08:46 -04:00
invalid_malloc_object_size_small_quarantine.c added tests for if malloc_object_size small allocations are free 2020-06-17 23:29:30 -04:00
invalid_malloc_object_size_small.c added tests for if malloc_object_size small allocations are free 2020-06-17 23:29:30 -04:00
invalid_malloc_usable_size_small_quarantine.c tests: make no-optimize attribute Clang compatible 2020-06-17 20:08:46 -04:00
invalid_malloc_usable_size_small.c tests: make no-optimize attribute Clang compatible 2020-06-17 20:08:46 -04:00
Makefile Fix CPPFLAGS in test Makefile 2021-11-02 16:13:09 -04:00
malloc_object_size_offset.c tests: make no-optimize attribute Clang compatible 2020-06-17 20:08:46 -04:00
malloc_object_size.c tests: make no-optimize attribute Clang compatible 2020-06-17 20:08:46 -04:00
read_after_free_large.c tests: make no-optimize attribute Clang compatible 2020-06-17 20:08:46 -04:00
read_after_free_small.c tests: make no-optimize attribute Clang compatible 2020-06-17 20:08:46 -04:00
read_zero_size.c tests: make no-optimize attribute Clang compatible 2020-06-17 20:08:46 -04:00
string_overflow.c tests: make no-optimize attribute Clang compatible 2020-06-17 20:08:46 -04:00
test_smc.py malloc_usable_size: clean abort on invalid region 2021-02-10 17:41:17 -05:00
unaligned_free_large.c tests: make no-optimize attribute Clang compatible 2020-06-17 20:08:46 -04:00
unaligned_free_small.c tests: make no-optimize attribute Clang compatible 2020-06-17 20:08:46 -04:00
unaligned_malloc_usable_size_small.c tests: make no-optimize attribute Clang compatible 2020-06-17 20:08:46 -04:00
uninitialized_free.c tests: make no-optimize attribute Clang compatible 2020-06-17 20:08:46 -04:00
uninitialized_malloc_usable_size.c tests: make no-optimize attribute Clang compatible 2020-06-17 20:08:46 -04:00
uninitialized_realloc.c tests: make no-optimize attribute Clang compatible 2020-06-17 20:08:46 -04:00
write_after_free_large_reuse.c tests: make no-optimize attribute Clang compatible 2020-06-17 20:08:46 -04:00
write_after_free_large.c tests: make no-optimize attribute Clang compatible 2020-06-17 20:08:46 -04:00
write_after_free_small_reuse.c tests: make no-optimize attribute Clang compatible 2020-06-17 20:08:46 -04:00
write_after_free_small.c tests: make no-optimize attribute Clang compatible 2020-06-17 20:08:46 -04:00
write_zero_size.c tests: make no-optimize attribute Clang compatible 2020-06-17 20:08:46 -04:00