Add a test to prove that hardened_malloc handles too-large-to-be-true allocations

This pattern, used by https://github.com/kaist-hacking/HardsHeap,
uncovered bugs in other memory allocators.
This commit is contained in:
jvoisin 2021-12-28 12:27:28 +01:00 committed by Daniel Micay
parent 75952581ee
commit cff1d6d4b5
3 changed files with 17 additions and 1 deletions

View file

@ -45,7 +45,8 @@ EXECUTABLES := \
malloc_object_size \
malloc_object_size_offset \
invalid_malloc_object_size_small \
invalid_malloc_object_size_small_quarantine
invalid_malloc_object_size_small_quarantine \
impossibly_large_malloc
all: $(EXECUTABLES)