]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
doc: Add asan equivalent to --realloc-zero-bytes-frees to manual-core
authorPaul Floyd <pjfloyd@wanadoo.fr>
Sat, 11 Mar 2023 15:47:56 +0000 (16:47 +0100)
committerPaul Floyd <pjfloyd@wanadoo.fr>
Sat, 11 Mar 2023 15:47:56 +0000 (16:47 +0100)
docs/xml/manual-core.xml

index 20886fe49e538c95f84112065d9677effbcda006..296fc1c2a96a589169b0c3377572f27f9df11752 100644 (file)
@@ -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>