about summary refs log tree commit diff
diff options
context:
space:
mode:
authorDominik Maier <domenukk@gmail.com>2020-04-02 02:44:49 +0200
committervan Hauser <vh@thc.org>2020-04-09 10:23:37 +0200
commit5e66d95fbd88d422393046ae095de51c37c6f632 (patch)
treee36f54d250405066a9d36c11a1a4d720e36dc9f5
parentd064b2e4afd77c89274d93d65e579d9696a2723b (diff)
downloadafl++-5e66d95fbd88d422393046ae095de51c37c6f632.tar.gz
better asan
-rw-r--r--Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 29492bf0..cb4bc653 100644
--- a/Makefile
+++ b/Makefile
@@ -151,8 +151,8 @@ ifdef STATIC
   LDFLAGS += -lm -lpthread -lz -lutil
 endif
 
-ASAN_CFLAGS=-fsanitize=address -fstack-protector-all
-ASAN_LDFLAGS+=-fsanitize=address -fstack-protector-all
+ASAN_CFLAGS=-fsanitize=address -fstack-protector-all -fno-omit-frame-pointer
+ASAN_LDFLAGS+=-fsanitize=address -fstack-protector-all -fno-omit-frame-pointer
 
 ifdef ASAN_BUILD
   $(info Compiling ASAN version of binaries)
@@ -182,7 +182,7 @@ endif
 
 all:	test_x86 test_shm test_python ready $(PROGS) afl-as test_build all_done
 
-man:    $(MANPAGES) 
+man:    $(MANPAGES)
 	-$(MAKE) -C llvm_mode
 	-$(MAKE) -C gcc_plugin