Commit Graph

585 Commits

Author SHA1 Message Date
anupritaisno1
730f148647 Android.bp: make hardened malloc ramdisk available
Signed-off-by: anupritaisno1 <www.anuprita804@gmail.com>
2020-09-13 05:14:25 -04:00
Daniel Micay
dd7291ebfe better wording for page size mismatch error 2020-08-05 18:10:53 -04:00
Daniel Micay
bcb93cab63 avoid an ifdef 2020-08-04 17:22:03 -04:00
rwarr627
f214bd541a added check for if small allocations are free 2020-06-17 23:29:30 -04:00
rwarr627
7804e263e9 added tests for if malloc_object_size small allocations are free 2020-06-17 23:29:30 -04:00
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
Daniel Micay
dcc80a01db android10-qpr3-release 2020-06-16 11:10:13 -04:00
Daniel Micay
722974f4e9 remove trailing whitespace 2020-06-13 09:59:50 -04:00
rwarr627
195bc8c92a added tests for malloc_object_size
LDFLAGS is on single line
2020-06-13 01:27:32 -04:00
rwarr627
577524798e calculates offset from start for small allocations 2020-06-13 01:27:32 -04:00
Daniel Micay
467ba8440f add comment explaining slab cache size 2020-05-24 09:36:43 -04:00
Daniel Micay
067b3c864f set slab cache sizes based on the largest slab 2020-05-24 09:31:02 -04:00
Daniel Micay
82440e78d9 silence annoying tidy checks 2020-05-18 19:10:14 -04:00
Daniel Micay
fc0bd78215 default number of arenas is currently 4 2020-05-13 03:48:44 -04:00
Daniel Micay
08a5f5ee0b reduces empty slab cache size now too 2020-05-13 03:19:17 -04:00
Daniel Micay
e82367e1bf include leaner sample configurations 2020-05-13 03:11:23 -04:00
Daniel Micay
4a6bbe445c limit cached slabs based on max size class 2020-05-13 01:05:37 -04:00
Daniel Micay
cf55ac0f6d disable annoying Clang warning from avoiding ifdef 2020-04-30 18:14:40 -04:00
Daniel Micay
b672316bc7 use const for memory_corruption_check_small
This currently causes a warning (treated as an error) on Android where
malloc_usable_size uses a const pointer.
2020-04-30 16:06:32 -04:00
Daniel Micay
029a2edf28 remove trailing whitespace 2020-04-30 16:03:45 -04:00
rwarr627
35bd7cd76d added memory corruption checking to malloc_usable_size for slab allocations 2020-04-29 18:06:15 -04:00
rwarr627
0a3a726c93 added tests for malloc_usable_size 2020-04-29 18:06:15 -04:00
Daniel Micay
19365c25d6 remove workaround for Linux kernel MPK fork bug 2020-04-24 02:51:39 -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
2c421590b5 added testing headers to table of contents 2020-04-11 15:08:30 -04:00
rwarr627
9f661f945c added testing instructions 2020-04-11 15:08:30 -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
2a87f52fc1 use organization funding metadata 2020-04-08 11:53:58 -04:00
Daniel Micay
466d351e93 drop legacy glibc version check for pkey support 2020-03-29 11:40:12 -04:00
Daniel Micay
0436227092 no longer need glibc pthread_atfork workaround 2020-03-29 11:40:12 -04:00
Daniel Micay
3af44d2e6a can now depend on libc having a getrandom wrapper 2020-03-29 11:40:12 -04:00
Daniel Micay
a5abe5add6 increase minimum dependency versions 2020-03-29 11:40:12 -04:00
Daniel Micay
26134f9aaa update copyright notice 2020-02-07 18:14:28 -05:00
Daniel Micay
449962e044 disable obsolete glibc extensions elsewhere 2020-02-03 08:39:19 -05:00
Valentin Churavy
bee398f860 replace __BEGIN_DECLS with extern "C" 2019-12-29 20:48:55 -05:00
Daniel Micay
7c5c768e2f update libdivide copyright 2019-11-06 06:04:16 -05:00
Daniel Micay
7945b3f109 update libdivide to 3.0 2019-11-06 05:41:58 -05:00
Daniel Micay
dfa49481e5 random: fix whitespace issue 2019-11-06 05:28:35 -05:00
Daniel Micay
2fbf7bb25e fix another README typo 2019-11-06 05:12:50 -05:00
Daniel Micay
ac95820fae remove duplicate word from README 2019-11-06 04:57:41 -05:00
Daniel Micay
b48ac93b03 current supported branch is android10-release 2019-11-06 03:33:28 -05:00
Daniel Micay
eff5037d64 add missing word to README 2019-11-06 03:33:28 -05:00
Daniel Micay
97ea85f55d README: add Compatibility to TOC 2019-10-11 09:06:40 -04:00
Daniel Micay
6f4de3971e
document OpenSSH compatibility fix 2019-10-09 23:27:25 -04:00
Daniel Micay
cb73bccf35 add GitHub sponsors metadata 2019-09-26 18:53:46 -04:00