Christian Göttsche
9ca3279507
test: add tests for zero sized realloc(3)
...
C23 declared calling realloc(3) with a non-NULL pointer and zero size
Undefined behavior.
Check that hardened_malloc handles that case sanely by free'ing the old
pointer and returning a special pointer, like `malloc(3)` called with
size zero.
2025-04-05 16:55:41 +02:00
Christian Göttsche
903cba5a84
test: add regression test for missing init() in realloc()
2023-09-27 19:19:19 -04:00
jvoisin
943704de7c
Remove __pycache__ as well in make clean
2022-02-06 18:56:56 -05:00
Daniel Micay
ae2524bf88
ignore environment for test Makefile variables
2022-01-21 16:24:49 -05:00
Daniel Micay
9d89712386
remove extra newline
2022-01-21 15:06:29 -05:00
jvoisin
84eadd8568
Move memory corruption tests up a directory
2022-01-21 15:00:18 -05:00
jvoisin
3fa30842ed
Use $(MAKE) instead of make in Makefiles
...
This will pass the correct flags to the make
invocations.
2022-01-17 16:21:00 -05:00
Daniel Micay
b3372e1576
add configuration template system
2022-01-10 04:47:01 -05:00
jvoisin
06192ae499
make clean
is now thorough
2021-12-26 16:28:03 -05:00
Daniel Micay
a45dacc57b
add support for glibc mallinfo2
2021-05-12 20:07:15 -04:00
rwarr627
ec6854c71b
added test rule
2020-04-11 15:08:30 -04:00
Daniel Micay
539d4f0d37
add extended size classes to offset test
2019-06-18 15:51:28 -04:00
Daniel Micay
b40ba9754b
add malloc_info test
2019-05-05 08:37:55 -04:00
Daniel Micay
2ae0ed4674
add large array growth test
2019-05-05 08:37:55 -04:00
Daniel Micay
350d0e5fd2
add real mallinfo implementation for Android
...
Android Q uses the mallinfo implementation in the ART GC:
c220f98180
1575267302
2019-04-06 20:54:26 -04:00
Daniel Micay
f3623e1f2b
finish migration away from config.h
2018-11-16 15:40:45 -05:00
Daniel Micay
71d52d981e
fix output of size class offset test
2018-10-04 02:41:01 -04:00