Commit Graph

375 Commits

Author SHA1 Message Date
Daniel Micay
8b0450555f add initial Android build system support 2018-12-05 07:59:35 -05:00
Daniel Micay
a1e0d97864 add __BEGIN_DECLS / __END_DECLS 2018-12-05 07:59:35 -05:00
Daniel Micay
ced3b0e070 support Android malloc_usable_size 2018-12-05 07:59:35 -05:00
Daniel Micay
7917966eca avoid unnecessary GNU pointer arithmetic extension 2018-12-05 07:59:35 -05:00
Daniel Micay
7f781af929 explicitly include system malloc.h 2018-12-05 07:59:35 -05:00
Daniel Micay
79cf5cbeb4 disambiguate malloc.h 2018-12-05 07:59:35 -05:00
Daniel Micay
f90fb3199d avoid redefining PAGE_SIZE/PAGE_MASK 2018-12-05 07:59:20 -05:00
Daniel Micay
9fd0670aac add lib prefix to the shared object name 2018-12-05 02:05:37 -05:00
Daniel Micay
11fe467b7c clarify wording 2018-11-19 08:04:37 -05:00
Daniel Micay
c9dfe586b3 add initial documentation on API extensions 2018-11-19 06:54:48 -05:00
Daniel Micay
4d85a61db2 remove obsolete duplicate information 2018-11-19 06:31:58 -05:00
Daniel Micay
d88a8c9813 mention that the same hash table code is reused 2018-11-19 05:45:34 -05:00
Daniel Micay
433b37b4a9 explain more of the size class reasoning 2018-11-19 01:44:46 -05:00
Daniel Micay
a052be762d explain some differences from the previous project 2018-11-19 01:08:53 -05:00
Daniel Micay
a5ed64d01a explain slot counts tied to slab size classes 2018-11-19 00:29:18 -05:00
Daniel Micay
5b048a28c2 improve explanation of jemalloc size classes 2018-11-19 00:29:15 -05:00
Daniel Micay
ac99282773 remove duplicate word 2018-11-17 10:53:04 -05:00
Daniel Micay
54a0313d9b split out dependencies section 2018-11-16 18:41:27 -05:00
Daniel Micay
d208d093a2 add more of an introduction describing the project 2018-11-16 18:39:19 -05:00
Daniel Micay
2bb568b473 improve documentation about mapping count 2018-11-16 18:04:46 -05:00
Daniel Micay
8a38c4fb2a add initial documentation for integer options 2018-11-16 15:40:48 -05:00
Daniel Micay
f3623e1f2b finish migration away from config.h 2018-11-16 15:40:45 -05:00
Daniel Micay
06149aa156 enable readability-else-after-return tidy check 2018-11-16 15:12:10 -05:00
Daniel Micay
58c7079db9 eliminate unnecessary code duplication in calloc 2018-11-16 15:01:09 -05:00
Daniel Micay
315415acf2 clarify write-after-free detection feature 2018-11-16 03:26:07 -05:00
Daniel Micay
a617f7604d switch malloc_enable to enforce_init 2018-11-12 05:37:20 -05:00
Daniel Micay
3cd3d34b3e extend gitignore for tests 2018-11-06 04:23:53 -05:00
Daniel Micay
11c717a7b9 update progress on randomization 2018-11-05 18:06:54 -05:00
Daniel Micay
2d892e58ad per-slab canary values are good enough for now 2018-11-05 18:05:56 -05:00
Daniel Micay
3a488c9a27 add initial slab allocation quarantine 2018-11-05 16:43:08 -05:00
Daniel Micay
fea335282a use slab_region_start for init checks 2018-11-05 03:56:55 -05:00
Daniel Micay
a8112fc5c3 use -O3 instead of -O2 primarily for more inlining 2018-11-04 19:45:04 -05:00
Daniel Micay
ca465f6b3e clarify scope of sized dealloc mismatch detection 2018-11-04 18:52:01 -05:00
Daniel Micay
505b9d2e76 add missing -Wl,--as-needed (removed by mistake) 2018-11-04 14:32:03 -05:00
Daniel Micay
943a81fbeb use smaller integers for random cache state 2018-11-04 14:24:21 -05:00
Daniel Micay
1fed72a9c3 slab internal fragmentation is always the same 2018-11-04 03:59:54 -05:00
Daniel Micay
c12d6795de expand a bit on future config for slab cache size 2018-11-03 04:47:45 -04:00
Daniel Micay
d5b773b2bc clarify documentation about the 0 byte size class 2018-11-03 04:43:47 -04:00
Daniel Micay
f949698c7a note that MPK-based hardening is off by default 2018-11-03 03:15:42 -04:00
Daniel Micay
f2a7ccde75 add basic overview of part of the approach to MTE 2018-11-03 03:09:03 -04:00
Daniel Micay
1da51ddde1 migrate bool configuration options out of config.h 2018-11-02 21:35:09 -04:00
Daniel Micay
4ac2688d76 add support for slab metadata count field 2018-11-01 04:49:27 -04:00
Daniel Micay
834ce67884 make canary generation consistent 2018-10-30 19:23:40 -04:00
Daniel Micay
c29a183687 reduce overhead of slot randomization 2018-10-30 18:58:04 -04:00
Daniel Micay
ceffb1a0ec simplify get_free_slot loops 2018-10-30 16:37:23 -04:00
Daniel Micay
a02f4ebb19 add missing deallocate_small thread_seal_metadata 2018-10-28 23:23:54 -04:00
Daniel Micay
5bee717134 use -march=native by default with a disable toggle 2018-10-28 22:49:15 -04:00
Daniel Micay
00915521a3 check canary before zeroing as an optimization 2018-10-28 21:07:35 -04:00
Daniel Micay
6f30211da8 some clarifications for the README 2018-10-28 20:28:10 -04:00
Daniel Micay
b99ab8a47a no need to artificially limit sealing to x86_64 2018-10-24 03:09:04 -04:00