Commit Graph

  • b8072aaacb fix debug build daan 2020-01-16 03:54:51 -08:00
  • 9629d73188 fix options daan 2020-01-15 18:07:29 -08:00
  • 7a1e86fc20 merge from dev daan 2020-01-15 18:03:37 -08:00
  • ad32eb1dfb eager collect on page reclamation daan 2020-01-15 17:57:19 -08:00
  • 0099707af9 use delayed free for all pages; reduce size of the page structure for improved address calculation daan 2020-01-15 17:19:01 -08:00
  • 202246425b bump version to 1.4 for further development daan 2020-01-15 12:16:01 -08:00
  • c9b5ac80b3 update page reset queue to just do delayed page resets daan 2020-01-15 12:00:44 -08:00
  • 783e3377f7 add output argument to stat printing daan 2020-01-15 10:53:54 -08:00
  • 0956a05bf6 add argument pointer to the register deferred free callback daan 2020-01-15 10:21:32 -08:00
  • f92a2a7264 add argument pointer to the register output routine daan 2020-01-15 10:18:32 -08:00
  • 941c55ee42 wip: first implementation of page free list on segments for effecient delayed page reset daan 2020-01-14 21:47:18 -08:00
  • 88b141cf1f ensure proper padding for the page structure daan 2020-01-13 20:48:37 -08:00
  • 94bff89347 ensure page reset flag is always reset daan 2020-01-13 20:48:18 -08:00
  • 2808c9f4c8 default to non-eager commit daan 2020-01-13 18:01:52 -08:00
  • 4a27ea1643 merge from dev daan 2020-01-13 18:01:34 -08:00
  • 65f4f5144b fix out-of-bounds error in huge OS page bitmap daan 2020-01-13 17:06:25 -08:00
  • 5f61a9e896 add mprotect error when the mmap limit might be reached in secure mode (see issue #77) daan 2020-01-09 17:52:28 -08:00
  • be10ebea35 build debug and secure versions on macOS in Azure pipelines daan 2020-01-08 23:54:56 -08:00
  • 313d4b8ffd fix test on Windows in azure pipelines daan 2020-01-08 23:47:40 -08:00
  • 7575b58d7a fix test on Windows in azure pipelines daan 2020-01-08 23:46:56 -08:00
  • ce3f327f21 add test pass to Windows build daan 2020-01-08 23:40:57 -08:00
  • 403276d11e build release and debug build on Windows daan 2020-01-08 23:27:18 -08:00
  • 8f75444e7a fix windows debug build at MI_DEBUG=2 daan 2020-01-08 23:21:32 -08:00
  • 12ef2816ed fix bug exposed by commit 59fa286 where reclaimed pages could be stuck to NEVER_DELAYED daan 2020-01-08 19:00:03 -08:00
  • 940df53b0a fix iteration count display in stress test daan 2020-01-08 17:51:11 -08:00
  • 683d8998d4 fix potential A-B-A problem with segment abandonment; noticed by Manual Poeter and Sam Gross daan 2020-01-08 17:45:38 -08:00
  • 5d2f111f64 make the stress test do more iterations under a smaller load to stay under 1GiB committed and increase thread interaction daan 2020-01-08 12:59:20 -08:00
  • 50b3f6d7ae fix assertion daan 2020-01-08 12:58:07 -08:00
  • d4ab0ff08c fix timeout on huge page reservation if set to 0 daan 2020-01-07 14:15:37 -08:00
  • 4223caac0f on Linux dynamically detect if getrandom is supported and fall back to /dev/urandom if needed daan 2020-01-06 22:08:21 -08:00
  • 0a2520490b only include vector header when compiling c++ Kirsten Lee 2020-01-06 16:44:55 -08:00
  • d97c56d4c1 fix unintended diff Kirsten Lee 2020-01-06 16:25:21 -08:00
  • 743e891738 add stl mimalloc wrapper Kirsten Lee 2020-01-06 16:18:22 -08:00
  • d8d69c2c94 disable MAP_NORESERVE on huge pages daan 2020-01-05 22:07:16 -08:00
  • 45582d1fb5 revert a2a9230 (remove empty page removal on search): this is not generally valid when concurrent frees do not always add to thread_delayed_free. daan 2020-01-05 13:58:49 -08:00
  • 59fa286294 fix bug where continue would wrongly exit the do-while loop for delayed freeing daan 2020-01-04 17:32:50 -08:00
  • a2a9230ad6 remove empty page removal on page search (no longer needed with retired collection and delayed freeing) daan 2020-01-03 22:52:52 -08:00
  • d596f08569 fix thread_free read in assertion daan 2020-01-03 22:06:27 -08:00
  • 2b108c8748 increase retire expiration to 4 daan 2020-01-03 21:39:18 -08:00
  • eeb623e6af increase retire limit, collect retired pages daan 2020-01-03 17:06:41 -08:00
  • f9ca88f71c set secure default to 0 again daan 2020-01-02 17:57:41 -08:00
  • 9629a0190f fix eager commit on large pages (issue #182) daan 2020-01-02 17:25:00 -08:00
  • 1b5a08cd25 remove unused parameter in check double free daan 2020-01-02 17:24:32 -08:00
  • 384808e340 Merge branch 'dev-random' into dev daan 2019-12-28 16:19:45 -08:00
  • fc3e537bd4 improve double free detection with faster same page check daan 2019-12-28 15:28:13 -08:00
  • 77134e1ad0 update free list encoding to stronger formula with addition last daan 2019-12-28 15:17:49 -08:00
  • e3391d9a53 stronger encoding of free lists using two keys per page daan 2019-12-27 23:33:50 -08:00
  • ce02986d56 variable renaming daan 2019-12-27 22:30:23 -08:00
  • 6f0b35d513 merge from master daan 2019-12-24 10:44:49 -08:00
  • 49acc88924 Update readme.md Daan 2019-12-24 10:38:13 -08:00
  • e05a1edc03 fix large OS page size on Linux (issue #184, due to fix for #179) daan 2019-12-24 10:32:44 -08:00
  • ba87a39d9f updated random cookie generation using OS primitives and chacha20 daan 2019-12-22 17:07:01 -08:00
  • f9b942d80d fix compilation of region descriptor on 32-bit daan 2019-12-22 17:08:46 -08:00
  • e31e609414 add preload check in option initialization (issues #179) Daan Leijen 2019-12-01 01:03:39 -08:00
  • 36d168a2d9 add preload check to options initialization daan 2019-12-01 00:03:35 -08:00
  • a407f35c64 add arena.c into the static override object daan 2019-12-01 00:01:14 -08:00
  • a799a19136 fix non-standard line continuation daan 2019-11-25 14:30:12 -08:00
  • fe51d11e61 Merge pull request #178 from carenas/master Daan 2019-11-25 14:28:58 -08:00
  • b5fbdb7180 merge from dev daan 2019-11-25 11:16:39 -08:00
  • 1d998af854 clean up options; make secure work with eager_page_commit daan 2019-11-25 10:47:17 -08:00
  • 1643273357 fix unix bug in decommit size daan 2019-11-25 10:11:29 -08:00
  • c6df7a199c experimental eager page commit option daan 2019-11-24 22:00:11 -08:00
  • 41af533a34 define commit unit in terms of segment size daan 2019-11-24 19:17:56 -08:00
  • ec0005b919 more fine grained commit tracking per MiB daan 2019-11-24 19:06:30 -08:00
  • 128cdd1dfb merge from dev daan 2019-11-24 18:51:09 -08:00
  • 4452431b6c reenable segment cache and fix initial segment commit daan 2019-11-24 15:25:19 -08:00
  • 727d33b96f more precise memory reset daan 2019-11-24 14:40:47 -08:00
  • 41ef691292 avoid deadlock with BSD systems that call malloc from the dynamic linker Carlo Marcelo Arenas Belón 2019-09-01 01:06:01 -07:00
  • 4a0d35afd0 improve secure guard page allocation to work with non-eager commit daan 2019-11-23 11:59:19 -08:00
  • 0d3c195f37 update stress test with more documentation Daan Leijen 2019-11-22 11:28:55 -08:00
  • 74c409192b Merge branch 'master' into dev-win daan 2019-11-22 09:29:28 -08:00
  • f45ec667a3 Merge branch 'dev' into dev-arena daan 2019-11-22 09:29:00 -08:00
  • 24b768363e bump version to 1.3 for further development daan 2019-11-22 09:28:48 -08:00
  • 31fbe9793d Merge branch 'dev-exp' into dev daan 2019-11-22 09:22:03 -08:00
  • acb03c5497 update redirection module on Windows for improved trace messages daan 2019-11-22 08:57:51 -08:00
  • 7da00c1220 wip: full decommit delay, for arena cache as well daan 2019-11-21 20:57:32 -08:00
  • 321e18777e wip: delayed decommit on segments daan 2019-11-21 19:53:43 -08:00
  • 1066be1594 merge from dev-exp daan 2019-11-21 17:03:30 -08:00
  • 50575b12c0 Merge branch 'dev' into dev-exp daan 2019-11-21 16:29:59 -08:00
  • 41caf6d0f8 set secure default to 0 daan 2019-11-21 16:29:46 -08:00
  • 6568059cc6 merge from dev daan 2019-11-21 16:28:28 -08:00
  • 42a0666770 update documentation daan 2019-11-21 16:24:10 -08:00
  • b7d9ee8830 azure pipeline logo shows dev branch daan 2019-11-21 16:20:35 -08:00
  • f27c87c03c update documentation daan 2019-11-21 16:19:47 -08:00
  • c6c24f9c2e update documentation daan 2019-11-21 16:17:47 -08:00
  • 7586225fc5 add secure build to azure pipeline daan 2019-11-21 16:10:21 -08:00
  • d55ab50a84 update version to 1.2 daan 2019-11-21 16:10:04 -08:00
  • b820009df7 update documentation daan 2019-11-21 16:09:34 -08:00
  • 5c8721f0b8 update documentation daan 2019-11-21 15:59:54 -08:00
  • 9a5189aa83 add vs2019 project filters daan 2019-11-21 15:42:22 -08:00
  • bc1ff7e7fd update windows redirect, issue #170 daan 2019-11-21 15:28:10 -08:00
  • 74dbfc30be improved security by encoding NULL values; double free mitigation on by default; more precise free list corruption detection daan 2019-11-21 15:21:23 -08:00
  • 1674d551ff add verbose message with secure build level daan 2019-11-20 20:45:31 -08:00
  • 049dbf41ba fix commit bits for huge page allocations Daan Leijen 2019-11-20 15:44:07 -08:00
  • 211f1aa519 remove reset delay slots; add reset tracking per page and segment Daan Leijen 2019-11-20 14:55:12 -08:00
  • 30e2c54adb remove delayed reset option (for now) Daan Leijen 2019-11-20 14:13:02 -08:00
  • 56b9fac4bf merge from dev Daan Leijen 2019-11-20 13:31:04 -08:00
  • 4d4a2885f5 use atomic read/write on the page->heap field where concurrent interaction is possible Daan Leijen 2019-11-20 13:19:17 -08:00
  • 94bfb47725 update stress test for more realisitic size distribution Daan Leijen 2019-11-20 12:59:26 -08:00
  • fd3ce5dc7d improve stress test daan 2019-11-15 16:28:11 -08:00