From: Todd C. Miller Date: Wed, 27 Jan 2016 23:49:24 +0000 (-0700) Subject: mention --enable-asan X-Git-Tag: SUDO_1_8_16^2~33 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=fd9f0100642f1339775a1ae0001d0279c0b255ea;p=sudo mention --enable-asan --- diff --git a/INSTALL b/INSTALL index f53561d3e..c990a8b69 100644 --- 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