Commit Graph

  • 8774065b13 fix non-init size for malloc_object_size extension Daniel Micay 2019-04-14 19:01:25 -0400
  • 84a25ec83e fix build with CONFIG_STATS enabled Daniel Micay 2019-04-11 00:49:45 -0400
  • 34b6754f70 enable CONFIG_STATS by default for Android Daniel Micay 2019-04-10 17:12:17 -0400
  • d4b8fee1c4 allow using the largest slab allocation size Daniel Micay 2019-04-10 16:54:11 -0400
  • 086eb1fee4 at a final spacing class of 1 slot size classes Daniel Micay 2019-04-10 16:32:24 -0400
  • 7a89a7b8c5 support for slabs with 1 slot for largest sizes Daniel Micay 2019-04-10 16:26:39 -0400
  • b31e8dacb1 document extended size classes Daniel Micay 2019-04-10 08:42:32 -0400
  • 6c31f6710a support extended range of small size classes Daniel Micay 2018-09-16 13:26:59 -0400
  • 1b34fd4a69 enable 4 arenas by default Daniel Micay 2019-04-10 08:12:59 -0400
  • d5f18c47b3 micro-optimize initialization with arenas Daniel Micay 2019-04-10 08:06:56 -0400
  • 62c73d8b41 harden thread_arena check Daniel Micay 2019-04-10 07:40:29 -0400
  • d5c00b4d0d disable current in-place growth code path for now Daniel Micay 2019-04-09 19:15:43 -0400
  • d5c1bca915 use round-robin assignment to arenas Daniel Micay 2019-04-09 16:36:01 -0400
  • 9a0de626fc move stats accounting to utility functions Daniel Micay 2019-04-09 03:57:44 -0400
  • 02bfcc3b75 chacha: add constant for number of rounds Daniel Micay 2019-04-09 01:29:25 -0400
  • cef7368b3c disable unusable readability-magic-numbers lint Daniel Micay 2019-04-09 00:57:17 -0400
  • 295bfbde94 disable bugprone-too-small-loop-variable lint Daniel Micay 2019-04-09 00:43:00 -0400
  • 8b2b9d940a chacha: use C99 variable declaration style Daniel Micay 2019-04-09 00:15:41 -0400
  • 9453332e57 remove redundant else block Daniel Micay 2019-04-09 00:06:17 -0400
  • 922c741915 it already supports Bionic, musl and glibc Daniel Micay 2019-04-07 18:13:26 -0400
  • a4cff7a960 factor out slab memory_set_name into label_slab Daniel Micay 2019-04-07 18:02:56 -0400
  • ef90f404a6 add sanity check for stats option Daniel Micay 2019-04-07 09:06:03 -0400
  • e0891c8cfc implement the option of large size classes Daniel Micay 2019-04-07 08:04:06 -0400
  • 7a7126e780 add infrastructure for a larger guard size option Daniel Micay 2019-04-07 06:05:11 -0400
  • c68de6141d factor out duplicated code in malloc/realloc Daniel Micay 2019-04-07 05:48:10 -0400
  • ce36d0c826 split out allocate_large function Daniel Micay 2019-04-07 05:30:07 -0400
  • 3d18fb8074 implement Android M_PURGE mallopt via malloc_trim Daniel Micay 2019-04-07 03:35:26 -0400
  • 4f08e40fe5 move thread sealing implementation Daniel Micay 2019-04-07 00:50:26 -0400
  • 55891357ff clean up the exported API section of the code Daniel Micay 2019-04-07 00:36:53 -0400
  • 0651c819e3 clarify hardened_malloc extensions section Daniel Micay 2019-04-07 00:34:13 -0400
  • 491ce6b0b1 no need to provide valloc and pvalloc on Android Daniel Micay 2019-04-07 00:30:47 -0400
  • 1eed432b9a limit more glibc cruft to that environment Daniel Micay 2019-04-07 00:24:23 -0400
  • ec8fb347ed document CONFIG_STATS Daniel Micay 2019-04-07 00:10:22 -0400
  • beaa39a5a3 move to only supporting current generation AOSP Daniel Micay 2019-04-06 23:45:31 -0400
  • 27a4c883ce extend stats with nmalloc and ndalloc Daniel Micay 2019-04-06 23:06:47 -0400
  • e94fe50a0d include zero byte size class in stats Daniel Micay 2019-04-06 22:43:56 -0400
  • 712748aaa8 add implementation of Android mallinfo extensions Daniel Micay 2019-04-06 22:21:11 -0400
  • 0f107cd2a3 only provide malloc_info stub for glibc Daniel Micay 2019-04-06 22:01:12 -0400
  • 350d0e5fd2 add real mallinfo implementation for Android Daniel Micay 2019-04-06 20:49:52 -0400
  • 3c012a69c4 temporary workaround for Pixel 3 camera UAF PQ2A.190405.003.2019.04.01.19 Daniel Micay 2019-01-01 14:45:27 -0500
  • 7acebaa837 overhaul glibc compatibility workarounds Daniel Micay 2019-03-26 01:45:15 -0400
  • df9650fe64 conditionally include threads.h Daniel Micay 2019-03-26 01:28:27 -0400
  • 98deb9de52 relabel malloc read-only after init data Daniel Micay 2019-03-25 20:34:10 -0400
  • fc8f2c3b60 move pthread_atfork wrapper to util header Daniel Micay 2019-03-25 16:38:16 -0400
  • b5187a0aff only use __register_atfork hack for old glibc Daniel Micay 2019-03-25 16:37:34 -0400
  • 494cc5ec50 update README now that arenas are implemented Daniel Micay 2019-03-25 16:14:54 -0400
  • c5e911419d add initial implementation of arenas Daniel Micay 2019-03-25 14:49:50 -0400
  • 55769496dc move hash_page to pages.h Daniel Micay 2019-03-25 14:54:22 -0400
  • 13de480bde rename quarantine bitmap field for clarity Daniel Micay 2019-03-24 20:24:40 -0400
  • 3d142eb4c2 relabel large allocation guards when shrinking Daniel Micay 2019-03-23 23:01:12 -0400
  • 64dfd23f7b relabel purged slabs Daniel Micay 2019-03-23 22:59:59 -0400
  • 178ec6e3f9 relabel quarantined large allocation regions Daniel Micay 2019-03-23 22:57:19 -0400
  • 6e67106882 label malloc slab region gaps Daniel Micay 2019-03-23 22:54:21 -0400
  • 1d62075291 label allocate_aligned_pages mappings Daniel Micay 2019-03-23 22:29:04 -0400
  • c8b948e202 enable C++17 support when available Daniel Micay 2019-03-23 19:46:54 -0400
  • a0ee5f445b remove redundant extern "C" block Daniel Micay 2019-03-23 13:41:12 -0400
  • 45337ebe07 label allocate_pages mappings Daniel Micay 2019-03-22 23:17:26 -0400
  • 65311a5df2 relabel region table mapping Daniel Micay 2019-03-20 15:18:34 -0400
  • e4120913d6 only enable LABEL_MEMORY in debug builds Daniel Micay 2019-03-20 14:11:06 -0400
  • 87acbcdf23 replace C++17 aligned allocation functions Daniel Micay 2019-03-20 13:18:27 -0400
  • ddd616aa0b add documentation on system calls Daniel Micay 2019-03-20 11:56:32 -0400
  • 4a000d96e2 pkey state is now preserved on fork for Linux 5.0+ Daniel Micay 2019-03-20 10:55:29 -0400
  • 8dc8aa12fa temporary workaround for Pixel 3 camera UAF PQ2A.190305.002.2019.03.05.03 Daniel Micay 2019-01-01 14:45:27 -0500
  • c9df70d934 add support for labelling memory regions Daniel Micay 2018-12-11 12:37:37 -0500
  • ae96835b94 fix scalability header levels Daniel Micay 2019-02-04 15:59:14 -0500
  • e4061899aa add documentation on scalability design choices Daniel Micay 2019-02-04 15:01:15 -0500
  • 41df5005e8 add a top-level header to the README Daniel Micay 2019-02-04 13:59:19 -0500
  • 9cc0ac3efa add basic documentation on memory tagging approach Daniel Micay 2019-02-04 11:51:20 -0500
  • 9398805fd8 reference paper rather than fastrand for Python Daniel Micay 2019-01-10 17:05:55 -0500
  • 2d7882ec0e remove redundant unseal / seal metadata Daniel Micay 2019-01-08 17:01:56 -0500
  • fa17f70a73 add more configuration sanity checks Daniel Micay 2019-01-06 00:52:25 -0500
  • 33b1a2740e update default slab quarantine sizes in README Daniel Micay 2019-01-02 15:42:41 -0500
  • dea2788539 fix typo in README.md Arlo Breault 2019-01-02 15:27:51 -0500
  • 90224de78d
    Update README.md Arlo Breault 2019-01-02 15:27:51 -0500
  • 8a474b647c enable both forms of slab quarantines by default Daniel Micay 2019-01-02 14:59:19 -0500
  • 57f115b33c scale slab quarantine based on size Daniel Micay 2019-01-02 14:22:28 -0500
  • ccc2a86501 rename quarantine size -> length for clarity Daniel Micay 2019-01-02 13:40:02 -0500
  • bc2cb5c828 fix builds with both random and queue quarantine Daniel Micay 2019-01-02 13:23:49 -0500
  • 5d3b299209 support random quarantine sizes other than 0 or 16 Daniel Micay 2019-01-02 13:03:25 -0500
  • 418cb1609c add RLIMIT_AS alternative to wishlist Daniel Micay 2018-12-09 12:47:02 -0500
  • 2d88b90282 reorder Makefile CONFIG variables Daniel Micay 2018-12-09 11:02:53 -0500
  • 4dc3385bc0 fix calloc for nmemb == 0 and !ZERO_ON_FREE Daniel Micay 2018-12-09 10:58:34 -0500
  • 8a863ae847 use conlyflags in Android.bp when appropriate Daniel Micay 2018-12-06 12:04:42 -0500
  • 830a7d338d make class_region_size configurable Daniel Micay 2018-12-05 09:23:05 -0500
  • 8b0450555f add initial Android build system support Daniel Micay 2018-12-05 01:44:43 -0500
  • a1e0d97864 add __BEGIN_DECLS / __END_DECLS Daniel Micay 2018-12-05 03:46:35 -0500
  • ced3b0e070 support Android malloc_usable_size Daniel Micay 2018-12-05 03:27:09 -0500
  • 7917966eca avoid unnecessary GNU pointer arithmetic extension Daniel Micay 2018-12-05 02:45:24 -0500
  • 7f781af929 explicitly include system malloc.h Daniel Micay 2018-12-05 02:22:10 -0500
  • 79cf5cbeb4 disambiguate malloc.h Daniel Micay 2018-12-05 02:21:28 -0500
  • f90fb3199d avoid redefining PAGE_SIZE/PAGE_MASK Daniel Micay 2018-12-05 02:07:05 -0500
  • 9fd0670aac add lib prefix to the shared object name Daniel Micay 2018-12-05 02:05:37 -0500
  • 11fe467b7c clarify wording Daniel Micay 2018-11-19 08:04:37 -0500
  • c9dfe586b3 add initial documentation on API extensions Daniel Micay 2018-11-19 06:54:48 -0500
  • 4d85a61db2 remove obsolete duplicate information Daniel Micay 2018-11-19 06:31:58 -0500
  • d88a8c9813 mention that the same hash table code is reused Daniel Micay 2018-11-19 05:44:56 -0500
  • 433b37b4a9 explain more of the size class reasoning Daniel Micay 2018-11-19 01:44:46 -0500
  • a052be762d explain some differences from the previous project Daniel Micay 2018-11-19 01:02:40 -0500
  • a5ed64d01a explain slot counts tied to slab size classes Daniel Micay 2018-11-19 00:17:43 -0500
  • 5b048a28c2 improve explanation of jemalloc size classes Daniel Micay 2018-11-19 00:11:15 -0500