]> granicus.if.org Git - sudo/commitdiff
mention --enable-asan
authorTodd C. Miller <Todd.Miller@courtesan.com>
Wed, 27 Jan 2016 23:49:24 +0000 (16:49 -0700)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Wed, 27 Jan 2016 23:49:24 +0000 (16:49 -0700)
INSTALL

diff --git a/INSTALL b/INSTALL
index f53561d3e4162b54289d554f63feb8457951832c..c990a8b691790e82b9d22e222e795c4d220d896a 100644 (file)
--- a/INSTALL
+++ b/INSTALL
@@ -165,6 +165,14 @@ Compilation options:
        _FORTIFY_SOURCE defined to 2, building with -fstack-protector
        and linking with -zrelro, where supported.
 
+  --enable-asan
+        Enable the use of AddressSanitizer if supported by the
+        compiler.  This can help detect common problems such as
+        buffer overflows and user after free bugs as well as behavior
+       undefined by the C standard.  For more information see
+        https://github.com/google/sanitizers/wiki/AddressSanitizer
+       The following compiler flag is used: -fsanitize=address,undefined
+
   --enable-pie
         Build sudo and related programs as as a position independent
         executables (PIE).  This improves the effectiveness of address