Commit graph

  • 9cc0ac3efa add basic documentation on memory tagging approach Daniel Micay 2019-02-04 11:51:20 -05:00
  • 9398805fd8 reference paper rather than fastrand for Python Daniel Micay 2019-01-10 17:05:55 -05:00
  • 2d7882ec0e remove redundant unseal / seal metadata Daniel Micay 2019-01-08 17:01:56 -05:00
  • fa17f70a73 add more configuration sanity checks Daniel Micay 2019-01-06 00:52:25 -05:00
  • 33b1a2740e update default slab quarantine sizes in README Daniel Micay 2019-01-02 15:42:41 -05:00
  • dea2788539 fix typo in README.md Arlo Breault 2019-01-02 15:27:51 -05:00
  • 90224de78d
    Update README.md Arlo Breault 2019-01-02 15:27:51 -05:00
  • 8a474b647c enable both forms of slab quarantines by default Daniel Micay 2019-01-02 14:59:19 -05:00
  • 57f115b33c scale slab quarantine based on size Daniel Micay 2019-01-02 14:22:28 -05:00
  • ccc2a86501 rename quarantine size -> length for clarity Daniel Micay 2019-01-02 13:40:02 -05:00
  • bc2cb5c828 fix builds with both random and queue quarantine Daniel Micay 2019-01-02 13:23:49 -05:00
  • 5d3b299209 support random quarantine sizes other than 0 or 16 Daniel Micay 2019-01-02 13:03:25 -05:00
  • 418cb1609c add RLIMIT_AS alternative to wishlist Daniel Micay 2018-12-09 12:47:02 -05:00
  • 2d88b90282 reorder Makefile CONFIG variables Daniel Micay 2018-12-09 11:02:53 -05:00
  • 4dc3385bc0 fix calloc for nmemb == 0 and !ZERO_ON_FREE Daniel Micay 2018-12-09 10:58:34 -05:00
  • 8a863ae847 use conlyflags in Android.bp when appropriate Daniel Micay 2018-12-06 12:04:42 -05:00
  • 830a7d338d make class_region_size configurable Daniel Micay 2018-12-05 09:23:05 -05:00
  • 8b0450555f add initial Android build system support Daniel Micay 2018-12-05 01:44:43 -05:00
  • a1e0d97864 add __BEGIN_DECLS / __END_DECLS Daniel Micay 2018-12-05 03:46:35 -05:00
  • ced3b0e070 support Android malloc_usable_size Daniel Micay 2018-12-05 03:27:09 -05:00
  • 7917966eca avoid unnecessary GNU pointer arithmetic extension Daniel Micay 2018-12-05 02:45:24 -05:00
  • 7f781af929 explicitly include system malloc.h Daniel Micay 2018-12-05 02:22:10 -05:00
  • 79cf5cbeb4 disambiguate malloc.h Daniel Micay 2018-12-05 02:21:28 -05:00
  • f90fb3199d avoid redefining PAGE_SIZE/PAGE_MASK Daniel Micay 2018-12-05 02:07:05 -05:00
  • 9fd0670aac add lib prefix to the shared object name Daniel Micay 2018-12-05 02:05:37 -05:00
  • 11fe467b7c clarify wording Daniel Micay 2018-11-19 08:04:37 -05:00
  • c9dfe586b3 add initial documentation on API extensions Daniel Micay 2018-11-19 06:54:48 -05:00
  • 4d85a61db2 remove obsolete duplicate information Daniel Micay 2018-11-19 06:31:58 -05:00
  • d88a8c9813 mention that the same hash table code is reused Daniel Micay 2018-11-19 05:44:56 -05:00
  • 433b37b4a9 explain more of the size class reasoning Daniel Micay 2018-11-19 01:44:46 -05:00
  • a052be762d explain some differences from the previous project Daniel Micay 2018-11-19 01:02:40 -05:00
  • a5ed64d01a explain slot counts tied to slab size classes Daniel Micay 2018-11-19 00:17:43 -05:00
  • 5b048a28c2 improve explanation of jemalloc size classes Daniel Micay 2018-11-19 00:11:15 -05:00
  • ac99282773 remove duplicate word Daniel Micay 2018-11-17 10:53:04 -05:00
  • 54a0313d9b split out dependencies section Daniel Micay 2018-11-16 18:41:27 -05:00
  • d208d093a2 add more of an introduction describing the project Daniel Micay 2018-11-16 18:35:19 -05:00
  • 2bb568b473 improve documentation about mapping count Daniel Micay 2018-11-16 18:04:46 -05:00
  • 8a38c4fb2a add initial documentation for integer options Daniel Micay 2018-11-16 15:36:34 -05:00
  • f3623e1f2b finish migration away from config.h Daniel Micay 2018-11-16 15:25:35 -05:00
  • 06149aa156 enable readability-else-after-return tidy check Daniel Micay 2018-11-16 15:12:10 -05:00
  • 58c7079db9 eliminate unnecessary code duplication in calloc Daniel Micay 2018-11-16 14:58:55 -05:00
  • 315415acf2 clarify write-after-free detection feature Daniel Micay 2018-11-16 03:26:07 -05:00
  • a617f7604d switch malloc_enable to enforce_init Daniel Micay 2018-11-12 05:37:20 -05:00
  • 3cd3d34b3e extend gitignore for tests Daniel Micay 2018-11-06 04:23:53 -05:00
  • 11c717a7b9 update progress on randomization Daniel Micay 2018-11-05 18:06:54 -05:00
  • 2d892e58ad per-slab canary values are good enough for now Daniel Micay 2018-11-05 18:05:56 -05:00
  • 985aa6036f fix simple typo lpmi-13 2018-11-05 22:45:26 +00:00
  • 3a488c9a27 add initial slab allocation quarantine Daniel Micay 2018-11-05 16:19:50 -05:00
  • fea335282a use slab_region_start for init checks Daniel Micay 2018-11-05 02:19:04 -05:00
  • a8112fc5c3 use -O3 instead of -O2 primarily for more inlining Daniel Micay 2018-11-04 19:45:04 -05:00
  • ca465f6b3e clarify scope of sized dealloc mismatch detection Daniel Micay 2018-11-04 18:52:01 -05:00
  • 505b9d2e76 add missing -Wl,--as-needed (removed by mistake) Daniel Micay 2018-11-04 14:32:03 -05:00
  • 943a81fbeb use smaller integers for random cache state Daniel Micay 2018-11-04 14:23:12 -05:00
  • 1fed72a9c3 slab internal fragmentation is always the same Daniel Micay 2018-11-03 05:44:49 -04:00
  • c12d6795de expand a bit on future config for slab cache size Daniel Micay 2018-11-03 04:47:45 -04:00
  • d5b773b2bc clarify documentation about the 0 byte size class Daniel Micay 2018-11-03 04:40:13 -04:00
  • f949698c7a note that MPK-based hardening is off by default Daniel Micay 2018-11-03 03:11:59 -04:00
  • f2a7ccde75 add basic overview of part of the approach to MTE Daniel Micay 2018-11-03 03:09:03 -04:00
  • 1da51ddde1 migrate bool configuration options out of config.h Daniel Micay 2018-11-02 21:35:09 -04:00
  • 4ac2688d76 add support for slab metadata count field Daniel Micay 2018-11-01 01:00:59 -04:00
  • 834ce67884 make canary generation consistent Daniel Micay 2018-10-30 19:22:56 -04:00
  • c29a183687 reduce overhead of slot randomization Daniel Micay 2018-10-30 18:09:07 -04:00
  • ceffb1a0ec simplify get_free_slot loops Daniel Micay 2018-10-30 16:37:23 -04:00
  • a02f4ebb19 add missing deallocate_small thread_seal_metadata Daniel Micay 2018-10-28 23:23:54 -04:00
  • 5bee717134 use -march=native by default with a disable toggle Daniel Micay 2018-10-28 22:31:46 -04:00
  • 00915521a3 check canary before zeroing as an optimization Daniel Micay 2018-10-28 21:07:35 -04:00
  • 6f30211da8 some clarifications for the README Daniel Micay 2018-10-28 20:28:10 -04:00
  • b99ab8a47a no need to artificially limit sealing to x86_64 Daniel Micay 2018-10-24 03:09:04 -04:00
  • e985afe0e1 document relatively high performance cost of MPK Daniel Micay 2018-10-23 19:38:00 -04:00
  • 4cd61e281d add workaround for bug in Linux MPK implementation Daniel Micay 2018-10-23 19:07:41 -04:00
  • 299bd6d414 add missing thread unseal / seal for atfork hooks Daniel Micay 2018-10-23 16:28:54 -04:00
  • 9d1567ce16 make safe_flag check compatible with POSIX sh Daniel Micay 2018-10-23 15:55:45 -04:00
  • 59def67979 add inlined check for -1 with pkey_set Daniel Micay 2018-10-23 07:40:14 -04:00
  • 05ac717cf2 work around -Wcast-align=strict error with old GCC Daniel Micay 2018-10-23 07:23:07 -04:00
  • 0b963078d5 guard metadata with Memory Protection Keys (MPK) Daniel Micay 2018-10-19 21:29:40 -04:00
  • ac8c68de53 enable pointer cast warnings Daniel Micay 2018-10-21 15:50:26 -04:00
  • 9a43302868 add enforce_init call to other realloc code path Daniel Micay 2018-10-20 02:27:06 -04:00
  • 6a408ad017 add init calls to malloc_enable/malloc_disable Daniel Micay 2018-10-19 21:46:36 -04:00
  • 173ed53539 use consistent code style in chacha.c Daniel Micay 2018-10-19 17:07:30 -04:00
  • 1d2c10f5bb tweak canary awareness in offset test Daniel Micay 2018-10-19 16:17:38 -04:00
  • 64b655f062 set scope of planned metadata protection Daniel Micay 2018-10-18 20:33:48 -04:00
  • e37b36c9dd update configuration documentation again Daniel Micay 2018-10-18 20:18:55 -04:00
  • f0a6f551eb tweak code style Daniel Micay 2018-10-18 19:35:21 -04:00
  • cf053e74d1 metadata region unification is completed Daniel Micay 2018-10-18 16:10:49 -04:00
  • 1e03b004f5 move slab_info to main metadata region Daniel Micay 2018-10-18 16:01:04 -04:00
  • 3f1962dd2b use min macro for realloc copy size Daniel Micay 2018-10-18 15:25:14 -04:00
  • fe30f6c2ea delay allocating slab metadata from reservation Daniel Micay 2018-10-18 15:19:54 -04:00
  • 74139112d0 explain the purpose of CONFIG_CXX_ALLOCATOR Daniel Micay 2018-10-18 14:57:05 -04:00
  • 64e9f6797a use offsetof for allocator_state memory protection Daniel Micay 2018-10-16 15:52:41 -04:00
  • 67ada4d309 document padding for allocator state Daniel Micay 2018-10-15 19:08:20 -04:00
  • da8e9aa1d8 document allocator state region Daniel Micay 2018-10-15 15:43:46 -04:00
  • 1c9e0d88a5 use the initial region table slots again Daniel Micay 2018-10-15 15:09:41 -04:00
  • da0df69d22 move region hash tables into main state region Daniel Micay 2018-10-15 15:07:59 -04:00
  • 1e5dec97e0 move slab allocator state into main state region Daniel Micay 2018-10-15 14:46:57 -04:00
  • e8eca2d430 explain the production-oriented design rationale Daniel Micay 2018-10-15 04:04:51 -04:00
  • fde9fc2ece protect region allocator state with random guards Daniel Micay 2018-10-14 22:41:17 -04:00
  • 124d958da1 document free slabs quarantine Daniel Micay 2018-10-14 22:19:10 -04:00
  • 3504465584 document progress on protected allocator state Daniel Micay 2018-10-14 22:12:03 -04:00
  • da6fd5b5ef move slab allocator state to a dedicated mapping Daniel Micay 2018-10-14 22:06:16 -04:00
  • 1190966846 rename region_info to region_metadata Daniel Micay 2018-10-14 21:54:23 -04:00