Commit Graph

665 Commits

Author SHA1 Message Date
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
Daniel Micay
74eb614f16 inherit base CXXFLAGS from the environment too 2019-09-26 14:50:58 -04:00
Daniel Micay
a28da3c65a use prefix for extended mallinfo functions 2019-09-07 18:33:24 -04:00
Daniel Micay
fb9f5d630b use cc_library instead of cc_library_static 2019-09-07 18:00:42 -04:00
Daniel Micay
8d648e2b25 make it available in recovery for Android 10 2019-09-07 17:38:43 -04:00
Daniel Micay
6d78dec42a clarify malloc_info format is a bit different 2019-08-20 15:57:59 -04:00
Daniel Micay
2e4ab73fb6 basic design -> core design 2019-08-19 06:11:10 -04:00
Daniel Micay
0e4ea0090b expand design documentation further 2019-08-19 06:10:40 -04:00
Daniel Micay
5b3d59ec7d Makefile: split long line for SHARED_FLAGS 2019-08-18 08:41:12 -04:00
Daniel Micay
7c455c3956 update libdivide to 2.0 2019-08-18 06:56:52 -04:00
Daniel Micay
efda950994 fix width of cell in memory tagging section 2019-08-18 06:52:09 -04:00
Daniel Micay
40be77003e fix OS integration header level 2019-08-18 06:48:03 -04:00
Daniel Micay
0af33616f0 cleaner wording in introduction 2019-08-18 06:47:25 -04:00
Daniel Micay
c66cf10894 clarify malloc_object_size state further 2019-08-18 06:45:53 -04:00
Daniel Micay
0129d8e470 move point about delayed free for slab allocations 2019-08-18 06:44:35 -04:00
Daniel Micay
5eefcd39b4 the design / implementation is fairly complete now 2019-08-18 06:24:21 -04:00
Daniel Micay
2288b3a754 add information on stats 2019-08-18 06:21:39 -04:00
Daniel Micay
f4afedb137 add links to size class section from configuration 2019-08-18 05:48:29 -04:00
Daniel Micay
ac70e2c250 use full sentences to describe compile options 2019-08-18 05:47:13 -04:00
Daniel Micay
d0b466beb8 elaborate on the cost of GUARD_SLABS_INTERVAL 2019-08-18 05:46:20 -04:00
Daniel Micay
7a8c57d0f5 stop marking MPK support 'extremely experimental' 2019-08-18 05:37:42 -04:00