Commit Graph

33 Commits

Author SHA1 Message Date
Daniel Micay
de3fb50dcc tests: make no-optimize attribute Clang compatible 2020-06-17 20:08:46 -04:00
Daniel Micay
b404d6da6e fix out-of-memory check in offset test 2020-06-17 16:27:59 -04:00
Daniel Micay
c9c7dca498 use size_t in offset test to fix warning 2020-06-17 16:26:08 -04:00
rwarr627
195bc8c92a added tests for malloc_object_size
LDFLAGS is on single line
2020-06-13 01:27:32 -04:00
rwarr627
0a3a726c93 added tests for malloc_usable_size 2020-04-29 18:06:15 -04:00
Daniel Micay
c75dcb9d9c compare with negative integers to check signals 2020-04-11 15:26:24 -04:00
Daniel Micay
d757835d90 increase size for eight_byte_overflow_large test
This was not working as expected due to CONFIG_EXTENDED_SIZE_CLASSES
resulting in 128k being a slab allocation size class. The addition of
padding for the canary pushes it into the next size class, resulting in
this writing over size class rounding padding rather than this actually
being an overflow as intended.
2020-04-11 15:25:34 -04:00
rwarr627
b160f723e0 ignores __pycache__ 2020-04-11 15:08:30 -04:00
rwarr627
ec6854c71b added test rule 2020-04-11 15:08:30 -04:00
rwarr627
6b987e644b verifies the results of the simple-memory-corruption tests 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
f6f4402ff3 expand test gitignore 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
3cd3d34b3e extend gitignore for tests 2018-11-06 04:23:53 -05:00
Daniel Micay
1d2c10f5bb tweak canary awareness in offset test 2018-10-19 16:19:29 -04:00
Daniel Micay
e47c783524 add test for delete size mismatch 2018-10-11 01:45:47 -04:00
Daniel Micay
57d5ab769b add write-after-free tests with potential reuse 2018-10-08 17:41:06 -04:00
Daniel Micay
9b7691a2a7 take canaries into account for the offset test 2018-10-04 02:52:20 -04:00
Daniel Micay
71d52d981e fix output of size class offset test 2018-10-04 02:41:01 -04:00
Daniel Micay
93fcc6a978 add simple string overflow test 2018-10-03 17:15:38 -04:00
Daniel Micay
918f0d3302 improve write-after-free tests 2018-09-06 23:50:49 -04:00
Daniel Micay
5017500a47 add simple overflow tests 2018-09-04 09:15:23 -04:00
Daniel Micay
497f71ac65 reorder offset test output 2018-08-26 04:51:47 -04:00
Daniel Micay
bec20a39cf add offset test 2018-08-26 03:19:59 -04:00
Daniel Micay
35c9e6f16d add delayed double free tests 2018-08-24 05:53:17 -04:00
Daniel Micay
aaa4eeca4d add a clean target for the memory corruption tests 2018-08-24 05:25:52 -04:00
Daniel Micay
bde8c3c29b add another test for invalid small region frees 2018-08-24 05:09:33 -04:00
Daniel Micay
fe85116891 add uninitialized allocator tests 2018-08-24 05:03:12 -04:00
Daniel Micay
0a79e82474 add basic invalid free tests 2018-08-24 04:48:57 -04:00
Daniel Micay
27ac1e21bc add initial simple memory corruption tests 2018-08-24 03:13:50 -04:00