|
From: Paul F. <pa...@so...> - 2023-03-11 15:49:13
|
https://sourceware.org/git/gitweb.cgi?p=valgrind.git;h=96a66dfda6e0f4c43e633aa4bd2a60389073a41c commit 96a66dfda6e0f4c43e633aa4bd2a60389073a41c Author: Paul Floyd <pj...@wa...> Date: Sat Mar 11 16:47:56 2023 +0100 doc: Add asan equivalent to --realloc-zero-bytes-frees to manual-core Diff: --- docs/xml/manual-core.xml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/xml/manual-core.xml b/docs/xml/manual-core.xml index 20886fe49e..296fc1c2a9 100644 --- a/docs/xml/manual-core.xml +++ b/docs/xml/manual-core.xml @@ -1802,6 +1802,9 @@ that can report errors, e.g. Memcheck, but not Cachegrind.</para> consider using <computeroutput>--realloc-zero-bytes-frees=no</computeroutput>. </para> + <para>Address Sanitizer has a similar and even wordier option + <computeroutput>allocator_frees_and_returns_null_on_realloc_zero</computeroutput>. + </para> </listitem> </varlistentry> |