hardened_malloc/test/simple-memory-corruption
jvoisin ffdf7b1ee1 Make the testsuite work for read-after-free
This commit makes the testsuite fail if
the read-after-free tests are failing, instead
of simply printing some info.
2022-01-02 08:25:08 -05: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
impossibly_large_malloc.c Add a test to prove that hardened_malloc handles too-large-to-be-true allocations 2021-12-28 19:47:05 -05: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 enable sized deallocation for sized deletion test 2022-01-01 23:18:52 -05: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 Make the testsuite work for read-after-free 2022-01-02 08:25:08 -05:00
read_after_free_small.c Make the testsuite work for read-after-free 2022-01-02 08:25:08 -05: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 Add a test to prove that hardened_malloc handles too-large-to-be-true allocations 2021-12-28 19:47:05 -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