hardened_malloc/test/simple-memory-corruption
Daniel Micay acda766e2c fix small allocation canary overwrite test
Overwriting one byte of a canary with 0 has a 1/256 chance of not
triggering the expected failure.
2022-01-03 21:08:14 -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 use 256k for large allocation tests 2022-01-03 16:11:16 -05:00
double_free_large.c use 256k for large allocation tests 2022-01-03 16:11:16 -05: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 fix small allocation canary overwrite test 2022-01-03 21:08:14 -05: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 Fix two mundane clang warnings in the testsuite 2022-01-02 08:27:46 -05:00
invalid_malloc_object_size_small.c Fix two mundane clang warnings in the testsuite 2022-01-02 08:27:46 -05: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 Add two tests to check that uninitialized read are zeroed 2022-01-03 16:10:01 -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 use 256k for large allocation tests 2022-01-03 16:11:16 -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 two tests to check that uninitialized read are zeroed 2022-01-03 16:10:01 -05:00
unaligned_free_large.c use 256k for large allocation tests 2022-01-03 16:11:16 -05: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_read_large.c check whole allocation for uninit read large test 2022-01-03 17:55:05 -05:00
uninitialized_read_small.c Add two tests to check that uninitialized read are zeroed 2022-01-03 16:10:01 -05: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 use 256k for large allocation tests 2022-01-03 16:11:16 -05:00
write_after_free_large.c use 256k for large allocation tests 2022-01-03 16:11:16 -05: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