Commit Graph

  • 58d929c0f0 split out low-level memory mapping wrappers Daniel Micay 2018-08-29 00:53:12 -0400
  • 8b42e8c3d6 make sure errno is always set on failure Daniel Micay 2018-08-28 22:46:20 -0400
  • 66aa98dbd9 sanity-check mmap errno on failure too Daniel Micay 2018-08-28 22:41:18 -0400
  • 705b6a4f8d make non-out-of-memory mprotect errors fatal Daniel Micay 2018-08-28 22:21:38 -0400
  • 19c46d16f1 check pthread_atfork return value Daniel Micay 2018-08-28 21:31:20 -0400
  • 0e2bc8a1cf make sure RELRO is enabled on every toolchain Daniel Micay 2018-08-28 11:44:23 -0400
  • e72674e358 detect missing symbols when linking Daniel Micay 2018-08-28 11:13:17 -0400
  • 803811a6ac add support for using mremap Daniel Micay 2018-08-28 09:49:18 -0400
  • 718bf82f96 add inline hints for slab_allocate and slab_free Daniel Micay 2018-08-27 09:29:14 -0400
  • 33f862ec19 add inline hints for init and enforce_init Daniel Micay 2018-08-27 09:23:35 -0400
  • 67b9608ccf avoid duplicated init code calculating slab size Daniel Micay 2018-08-27 09:21:42 -0400
  • eec85b0c8c add chosen libdivide license (Boost) to CREDITS Daniel Micay 2018-08-27 07:49:50 -0400
  • c7b24f63f1 use libdivide for substantially faster division Daniel Micay 2018-08-27 06:57:44 -0400
  • 63b0c39343 reorder size_class struct for better performance Daniel Micay 2018-08-27 05:16:47 -0400
  • b424c95737 clarify memory is zero on init without more writes Daniel Micay 2018-08-27 01:14:15 -0400
  • 02db36c4bb update CREDITS with ChaCha8 implementation Daniel Micay 2018-08-26 07:27:19 -0400
  • 1b3d485e87 clarify that the slab design isn't like jemalloc Daniel Micay 2018-08-26 07:19:58 -0400
  • c97bbc141c add missing word Daniel Micay 2018-08-26 07:11:22 -0400
  • f793a2719f add some basic initial documentation to the README Daniel Micay 2018-08-26 06:23:24 -0400
  • c60fbfb029 output markdown table from calculate_waste Daniel Micay 2018-08-26 06:21:09 -0400
  • 497f71ac65 reorder offset test output Daniel Micay 2018-08-26 04:51:38 -0400
  • 14ca7d7c3f randomize large allocation guard size Daniel Micay 2018-08-26 04:42:01 -0400
  • a13a45a17d hold regions_lock in alloc_aligned Daniel Micay 2018-08-26 04:37:43 -0400
  • bec20a39cf add offset test Daniel Micay 2018-08-26 03:15:13 -0400
  • 700e06c2db manually specialize the CSPRNG cache Daniel Micay 2018-08-26 00:02:35 -0400
  • c41e659383 use ChaCha8-based CSPRNG Daniel Micay 2018-08-25 23:00:00 -0400
  • 2b7c9362bb consume fewer random bytes for slab randomization Daniel Micay 2018-08-25 18:32:44 -0400
  • c5d76179a5 improve interaction of slot rand with slot mask Daniel Micay 2018-08-25 18:04:55 -0400
  • 173dd6e7a5 randomize slot selection for empty slabs too Daniel Micay 2018-08-25 18:02:13 -0400
  • c335c43dd7 simplify slab out-of-memory error handling Daniel Micay 2018-08-25 16:41:07 -0400
  • 7bcfa3f08b tune slab metadata allocation Daniel Micay 2018-08-25 15:43:50 -0400
  • 4777ee0c85 special case division for page size slabs Daniel Micay 2018-08-25 15:21:50 -0400
  • ec78add6ab define ffzl utility function Daniel Micay 2018-08-25 03:09:09 -0400
  • f08d4d31db randomize slab slot choice Daniel Micay 2018-08-25 03:02:39 -0400
  • 965c3202b4 finish implementation of zero byte size class Daniel Micay 2018-08-25 02:48:47 -0400
  • f97a0ef8b1 use a more appropriate type for masked bitmaps Daniel Micay 2018-08-25 01:09:15 -0400
  • f3c8502509 add CSPRNGs for regions and slabs Daniel Micay 2018-08-25 00:21:02 -0400
  • 510291646b document minimum versions for dependencies Daniel Micay 2018-08-24 18:58:55 -0400
  • 71dde7c4f8 provide getrandom wrapper to support glibc < 2.25 Daniel Micay 2018-08-24 18:44:49 -0400
  • 35c9e6f16d add delayed double free tests Daniel Micay 2018-08-24 05:53:17 -0400
  • aaa4eeca4d add a clean target for the memory corruption tests Daniel Micay 2018-08-24 05:25:25 -0400
  • 805bdc6087 add an extra sanity check for unallocated metadata Daniel Micay 2018-08-24 05:18:20 -0400
  • bde8c3c29b add another test for invalid small region frees Daniel Micay 2018-08-24 05:09:33 -0400
  • fe85116891 add uninitialized allocator tests Daniel Micay 2018-08-24 05:02:00 -0400
  • 2d168b0516 check for double free slightly earlier Daniel Micay 2018-08-24 04:51:52 -0400
  • 0a79e82474 add basic invalid free tests Daniel Micay 2018-08-24 04:45:48 -0400
  • 97b693d862 stop treating guard size as a constant Daniel Micay 2018-08-24 04:07:46 -0400
  • 83dabbd8fa fix handling of random bases for class regions Daniel Micay 2018-08-24 03:52:01 -0400
  • 0d51459dc9 add a special memory protected 0 byte size class Daniel Micay 2018-08-24 03:22:52 -0400
  • 27ac1e21bc add initial simple memory corruption tests Daniel Micay 2018-08-24 03:09:23 -0400
  • 7a86b67778 add unaligned free check for small allocations Daniel Micay 2018-08-24 02:55:53 -0400
  • 2aee424b7b fix inconsistent whitespace Daniel Micay 2018-08-24 02:09:20 -0400
  • a874a61099 adjust slot count for 12288 byte size class Daniel Micay 2018-08-23 17:57:09 -0400
  • 127f110126 adjust slot count for 10240 byte size class Daniel Micay 2018-08-23 17:56:17 -0400
  • b7b353a54e print out the calculated slab sizes too Daniel Micay 2018-08-23 17:53:55 -0400
  • c59c97c65b adjust slot count for 48 byte size class Daniel Micay 2018-08-23 17:53:10 -0400
  • 56e4c7e042 adjust slot count for 224 byte size class Daniel Micay 2018-08-23 17:42:17 -0400
  • 5a1a76f94e calculate internal slab fragmentation from slots Daniel Micay 2018-08-23 17:39:32 -0400
  • 5bdf94da4a calculate internal fragmentation for size classes Daniel Micay 2018-08-23 17:29:42 -0400
  • 4aa0fab4f4 avoid deadlocks after forking threaded processes Daniel Micay 2018-08-23 17:15:50 -0400
  • daa44905ee implement a cache for the CSPRNG Daniel Micay 2018-08-23 16:30:44 -0400
  • 70d61b6662 initial commit Daniel Micay 2018-08-21 15:23:22 -0400