Code to disable memory sentinels for fuzzing

This feature makes it possible to turn off memory sentinels (like
those used for safety in buffers.c and memarea.c) when fuzzing, so
that we can catch bugs that they would otherwise prevent.
This commit is contained in:
Nick Mathewson
2017-02-13 09:10:11 -05:00
parent 2670844b2b
commit b923c4dc9f
5 changed files with 121 additions and 1 deletions
+7
View File
@@ -0,0 +1,7 @@
o Minor features (testing):
- Add a "--disable-memory-sentinels" feature to help with fuzzing.
When Tor is compiled with this option, we disable a number of
redundant memory-safety failsafes that are intended to stop
bugs from becoming security issues. This makes it easier to hunt
for bugs that would be security issues without the failsafes
turned on. Closes ticket 21439.