Commit Graph

  • ac99282773 remove duplicate word Daniel Micay 2018-11-17 10:53:04 -0500
  • 54a0313d9b split out dependencies section Daniel Micay 2018-11-16 18:41:27 -0500
  • d208d093a2 add more of an introduction describing the project Daniel Micay 2018-11-16 18:35:19 -0500
  • 2bb568b473 improve documentation about mapping count Daniel Micay 2018-11-16 18:04:46 -0500
  • 8a38c4fb2a add initial documentation for integer options Daniel Micay 2018-11-16 15:36:34 -0500
  • f3623e1f2b finish migration away from config.h Daniel Micay 2018-11-16 15:25:35 -0500
  • 06149aa156 enable readability-else-after-return tidy check Daniel Micay 2018-11-16 15:12:10 -0500
  • 58c7079db9 eliminate unnecessary code duplication in calloc Daniel Micay 2018-11-16 14:58:55 -0500
  • 315415acf2 clarify write-after-free detection feature Daniel Micay 2018-11-16 03:26:07 -0500
  • a617f7604d switch malloc_enable to enforce_init Daniel Micay 2018-11-12 05:37:20 -0500
  • 3cd3d34b3e extend gitignore for tests Daniel Micay 2018-11-06 04:23:53 -0500
  • 11c717a7b9 update progress on randomization Daniel Micay 2018-11-05 18:06:54 -0500
  • 2d892e58ad per-slab canary values are good enough for now Daniel Micay 2018-11-05 18:05:56 -0500
  • 985aa6036f fix simple typo lpmi-13 2018-11-05 22:45:26 +0000
  • 3a488c9a27 add initial slab allocation quarantine Daniel Micay 2018-11-05 16:19:50 -0500
  • fea335282a use slab_region_start for init checks Daniel Micay 2018-11-05 02:19:04 -0500
  • a8112fc5c3 use -O3 instead of -O2 primarily for more inlining Daniel Micay 2018-11-04 19:45:04 -0500
  • ca465f6b3e clarify scope of sized dealloc mismatch detection Daniel Micay 2018-11-04 18:52:01 -0500
  • 505b9d2e76 add missing -Wl,--as-needed (removed by mistake) Daniel Micay 2018-11-04 14:32:03 -0500
  • 943a81fbeb use smaller integers for random cache state Daniel Micay 2018-11-04 14:23:12 -0500
  • 1fed72a9c3 slab internal fragmentation is always the same Daniel Micay 2018-11-03 05:44:49 -0400
  • c12d6795de expand a bit on future config for slab cache size Daniel Micay 2018-11-03 04:47:45 -0400
  • d5b773b2bc clarify documentation about the 0 byte size class Daniel Micay 2018-11-03 04:40:13 -0400
  • f949698c7a note that MPK-based hardening is off by default Daniel Micay 2018-11-03 03:11:59 -0400
  • f2a7ccde75 add basic overview of part of the approach to MTE Daniel Micay 2018-11-03 03:09:03 -0400
  • 1da51ddde1 migrate bool configuration options out of config.h Daniel Micay 2018-11-02 21:35:09 -0400
  • 4ac2688d76 add support for slab metadata count field Daniel Micay 2018-11-01 01:00:59 -0400
  • 834ce67884 make canary generation consistent Daniel Micay 2018-10-30 19:22:56 -0400
  • c29a183687 reduce overhead of slot randomization Daniel Micay 2018-10-30 18:09:07 -0400
  • ceffb1a0ec simplify get_free_slot loops Daniel Micay 2018-10-30 16:37:23 -0400
  • a02f4ebb19 add missing deallocate_small thread_seal_metadata Daniel Micay 2018-10-28 23:23:54 -0400
  • 5bee717134 use -march=native by default with a disable toggle Daniel Micay 2018-10-28 22:31:46 -0400
  • 00915521a3 check canary before zeroing as an optimization Daniel Micay 2018-10-28 21:07:35 -0400
  • 6f30211da8 some clarifications for the README Daniel Micay 2018-10-28 20:28:10 -0400
  • b99ab8a47a no need to artificially limit sealing to x86_64 Daniel Micay 2018-10-24 03:09:04 -0400
  • e985afe0e1 document relatively high performance cost of MPK Daniel Micay 2018-10-23 19:38:00 -0400
  • 4cd61e281d add workaround for bug in Linux MPK implementation Daniel Micay 2018-10-23 19:07:41 -0400
  • 299bd6d414 add missing thread unseal / seal for atfork hooks Daniel Micay 2018-10-23 16:28:54 -0400
  • 9d1567ce16 make safe_flag check compatible with POSIX sh Daniel Micay 2018-10-23 15:55:45 -0400
  • 59def67979 add inlined check for -1 with pkey_set Daniel Micay 2018-10-23 07:40:14 -0400
  • 05ac717cf2 work around -Wcast-align=strict error with old GCC Daniel Micay 2018-10-23 07:23:07 -0400
  • 0b963078d5 guard metadata with Memory Protection Keys (MPK) Daniel Micay 2018-10-19 21:29:40 -0400
  • ac8c68de53 enable pointer cast warnings Daniel Micay 2018-10-21 15:50:26 -0400
  • 9a43302868 add enforce_init call to other realloc code path Daniel Micay 2018-10-20 02:27:06 -0400
  • 6a408ad017 add init calls to malloc_enable/malloc_disable Daniel Micay 2018-10-19 21:46:36 -0400
  • 173ed53539 use consistent code style in chacha.c Daniel Micay 2018-10-19 17:07:30 -0400
  • 1d2c10f5bb tweak canary awareness in offset test Daniel Micay 2018-10-19 16:17:38 -0400
  • 64b655f062 set scope of planned metadata protection Daniel Micay 2018-10-18 20:33:48 -0400
  • e37b36c9dd update configuration documentation again Daniel Micay 2018-10-18 20:18:55 -0400
  • f0a6f551eb tweak code style Daniel Micay 2018-10-18 19:35:21 -0400
  • cf053e74d1 metadata region unification is completed Daniel Micay 2018-10-18 16:10:49 -0400
  • 1e03b004f5 move slab_info to main metadata region Daniel Micay 2018-10-18 16:01:04 -0400
  • 3f1962dd2b use min macro for realloc copy size Daniel Micay 2018-10-18 15:25:14 -0400
  • fe30f6c2ea delay allocating slab metadata from reservation Daniel Micay 2018-10-18 15:19:54 -0400
  • 74139112d0 explain the purpose of CONFIG_CXX_ALLOCATOR Daniel Micay 2018-10-18 14:57:05 -0400
  • 64e9f6797a use offsetof for allocator_state memory protection Daniel Micay 2018-10-16 15:52:41 -0400
  • 67ada4d309 document padding for allocator state Daniel Micay 2018-10-15 19:08:20 -0400
  • da8e9aa1d8 document allocator state region Daniel Micay 2018-10-15 15:43:46 -0400
  • 1c9e0d88a5 use the initial region table slots again Daniel Micay 2018-10-15 15:09:41 -0400
  • da0df69d22 move region hash tables into main state region Daniel Micay 2018-10-15 15:07:59 -0400
  • 1e5dec97e0 move slab allocator state into main state region Daniel Micay 2018-10-15 14:46:57 -0400
  • e8eca2d430 explain the production-oriented design rationale Daniel Micay 2018-10-15 04:04:51 -0400
  • fde9fc2ece protect region allocator state with random guards Daniel Micay 2018-10-14 22:41:17 -0400
  • 124d958da1 document free slabs quarantine Daniel Micay 2018-10-14 22:19:10 -0400
  • 3504465584 document progress on protected allocator state Daniel Micay 2018-10-14 22:12:03 -0400
  • da6fd5b5ef move slab allocator state to a dedicated mapping Daniel Micay 2018-10-14 22:06:16 -0400
  • 1190966846 rename region_info to region_metadata Daniel Micay 2018-10-14 21:54:23 -0400
  • a083ff79e1 move region allocator state to a dedicated mapping Daniel Micay 2018-10-14 21:12:37 -0400
  • d728afae8e add configuration option for testing with UBSan Daniel Micay 2018-10-14 18:58:54 -0400
  • 535466fdfd avoid undefined shifts with multi-word bitmaps Daniel Micay 2018-10-14 18:57:59 -0400
  • 7798b2693e fix loop exit condition boundary for get_free_slot Daniel Micay 2018-10-14 18:49:48 -0400
  • 3c0a448c3e enable more tidy checks Daniel Micay 2018-10-14 18:33:40 -0400
  • 9ea2fd6667 write_after_free_check only reads data Daniel Micay 2018-10-14 18:30:20 -0400
  • d35674c67e expected_size is not an output parameter Daniel Micay 2018-10-14 18:28:01 -0400
  • 8b033c5e44 make ALIGNMENT_CEILING into a function Daniel Micay 2018-10-14 18:20:18 -0400
  • 118549451b add tidy target to the Makefile for clang-tidy Daniel Micay 2018-10-14 18:01:40 -0400
  • b66ca56ba1 initialize ptr to nullptr in handle_out_of_memory Daniel Micay 2018-10-14 17:59:43 -0400
  • 4fbfe4d3ec fix canary space reservation for pvalloc Daniel Micay 2018-10-14 17:43:03 -0400
  • f11c448a0d slightly reorganize slab metadata Daniel Micay 2018-10-14 15:09:55 -0400
  • 3db3e167ed remove usage of ATOMIC_VAR_INIT Daniel Micay 2018-10-13 16:49:06 -0400
  • 65a7014b48 randomize free slabs reuse Daniel Micay 2018-10-13 13:55:44 -0400
  • f3d36f5bdb
    Merge ed70a48c5a into 83df37436d jvoisin 2018-10-12 20:03:34 +0000
  • 83df37436d fix usage of pthread_atfork for glibc < 2.28 Daniel Micay 2018-10-12 16:02:23 -0400
  • 0a64c7d6a1 document the randomized array in the quarantine Daniel Micay 2018-10-12 15:10:35 -0400
  • 6669166fe9 move memory_unmap outside of lock scope Daniel Micay 2018-10-12 15:06:51 -0400
  • b2007ad3d9 implement randomization for the region quarantine Daniel Micay 2018-10-12 15:03:59 -0400
  • ed70a48c5a
    Fix compilation on Ubuntu jvoisin 2018-10-12 07:13:13 +0000
  • ac2b940f0f fix compatibility with older GCC versions Daniel Micay 2018-10-11 18:12:20 -0400
  • e47c783524 add test for delete size mismatch Daniel Micay 2018-10-11 01:44:41 -0400
  • 7606bf4c1f clean up includes in new.cc Daniel Micay 2018-10-11 01:35:25 -0400
  • 54c78fe1c2 distinguish between mmap / mremap errors Daniel Micay 2018-10-10 19:05:35 -0400
  • 2381d973b1 expand on metadata address space security Daniel Micay 2018-10-10 18:55:31 -0400
  • 29fd86ab37 document sized deallocation validation Daniel Micay 2018-10-10 18:48:45 -0400
  • c74fe56091 minor include style fix Daniel Micay 2018-10-10 18:19:56 -0400
  • ddcdd9423c make the memory mapping quarantine more efficient Daniel Micay 2018-10-09 14:08:36 -0400
  • 57d5ab769b add write-after-free tests with potential reuse Daniel Micay 2018-10-08 17:41:06 -0400
  • 5fa6e01929 clearer name for MREMAP_MAYMOVE threshold Daniel Micay 2018-10-08 17:09:57 -0400
  • 1a10c17e8b add quarantine for large allocations Daniel Micay 2018-10-08 15:50:31 -0400
  • cc9699f1b4 use multi-word bitmap to support up to 256 slots Daniel Micay 2018-10-07 13:34:52 -0400
  • 5e2f03296e remove old debugging code Daniel Micay 2018-10-07 16:18:17 -0400