Ivan Zaitsev
36366f3c4c
Add double free detection in thread cache for debug build
...
Add new runtime option `debug_double_free_max_scan` that specifies the max
number of stack entries to scan in the cache bit when trying to detect the
double free bug (currently debug build only).
2022-08-04 16:58:22 -07:00
Qi Wang
391bad4b95
Avoid abort() in test/integration/cpp/infallible_new_true.
...
Allow setting the safety check abort hook through mallctl, which avoids abort()
and core dumps.
2022-04-25 11:29:32 -07:00
Qi Wang
041145c272
Report the correct and wrong sizes on sized dealloc bug detection.
2021-02-08 14:42:27 -08:00
Qi Wang
f3b2668b32
Report the offending pointer on sized dealloc bug detection.
2021-02-08 14:42:27 -08:00
Qi Wang
974222c626
Add safety check on sdallocx slow / sampled path.
2020-01-31 00:04:22 -08:00
Yinan Zhang
4fe50bc7d0
Fix amd64 MSVC warning
2019-10-18 10:16:29 -07:00
Yinan Zhang
7720b6e385
Fix redzone setting and checking
2019-07-11 20:51:29 -07:00
David Goldblatt
33e1dad680
Safety checks: Add a redzoning feature.
2019-04-15 16:48:12 -07:00
David Goldblatt
b92c9a1a81
Safety checks: Indirect through a function.
...
This will let us share code on failure pathways.pathways
2019-04-15 16:48:12 -07:00