From fd9f0100642f1339775a1ae0001d0279c0b255ea Mon Sep 17 00:00:00 2001 From: "Todd C. Miller" Date: Wed, 27 Jan 2016 16:49:24 -0700 Subject: [PATCH] mention --enable-asan --- INSTALL | 8 ++++++++ 1 file changed, 8 insertions(+) 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 -- 2.40.0