Commit Graph

156 Commits

Author SHA1 Message Date
daan 2f5fbffaa7 merge from dev 2020-07-22 10:56:59 -07:00
daan 8769082d63 add pointer validity check in debug mode for mi_usable_size/mi_realloc/mi_expand. Issue #269 2020-07-20 14:33:03 -07:00
daan e3744fa3fe merge from dev 2020-05-05 11:00:36 -07:00
daan 7c24edfeb0 add thread-id check for thread local FLS callbacks on Windows with static linking; found by @jasongibson 2020-05-04 14:31:32 -07:00
daan 3130d55796 nicer json output 2020-05-03 16:29:15 -07:00
daan 8e4e8c93a7 merge from dev 2020-04-30 20:40:48 -07:00
daan 9ebb94fe17 set extra debug padding per-heap 2020-04-20 17:09:28 -07:00
daan 69a0846478 add MI_PADDING flag to cmake to supress use of padding in debug mode 2020-04-07 10:01:18 -07:00
daan 40385c528b add heap leak check method 2020-04-07 09:04:20 -07:00
daan aa47541ee5 add mi_heap_print_json 2020-04-07 08:51:02 -07:00
daan 75053f211a add more detailed block info for heap visiting 2020-04-07 08:36:22 -07:00
daan 173978c122 add more detailed block info for heap visiting 2020-04-06 23:39:09 -07:00
daan 8a7d5804bc add corrupted block scanning on overflow detection 2020-04-06 16:10:43 -07:00
daan 083392fa15 add padding check in usable size 2020-04-06 13:42:39 -07:00
daan a38abae0a1 comments and improved error message on buffer overflow 2020-04-06 13:30:17 -07:00
daan 19cae48556 merge from dev 2020-04-06 12:59:29 -07:00
daan afc4f79a69 fix for ensuring heap initialization with static linking on windows on huge allocations (issues #221) 2020-04-06 12:15:12 -07:00
daan 0a3e5bb699 further fixes to compile on mingw without warnings (issue #217) 2020-04-06 10:56:53 -07:00
daan faa83a1c47 fix issue number: 212 to #221 2020-04-06 09:19:26 -07:00
daan c7e9cfd3ed add test case for issue #212 2020-04-06 08:32:25 -07:00
Daan 1ece3ff6aa Merge pull request #220 from cormacrelf/usable_size
Don't call mi_page_usable_size_of with an aligned pointer
2020-04-06 08:05:34 -07:00
Cormac Relf 414acd49ab Add test to exercise mi_usable_size on aligned allocations 2020-04-06 22:50:21 +10:00
daan 2d52b967bc merge from dev 2020-03-16 16:07:52 -07:00
daan ec61224db0 fix padding issue with zero sized allocation (issue #209) 2020-02-18 20:05:30 -08:00
daan 6e08b0c0c8 Merge branch 'dev-debug' of https://github.com/microsoft/mimalloc into dev-debug 2020-02-17 10:24:15 -08:00