about summary refs log tree commit diff
path: root/utils/argv_fuzzing/Makefile
diff options
context:
space:
mode:
authorMaciej Domanski <maciej.domanski@trailofbits.com>2022-12-28 09:41:22 +0100
committerMaciej Domanski <maciej.domanski@trailofbits.com>2022-12-28 09:41:22 +0100
commitf28f6adbce0b803b80938518ca9c559e428ef9cf (patch)
treecc5178fa13f123adbdf069d5ef952e6ae1c0020b /utils/argv_fuzzing/Makefile
parent51e0707d4d5b65cf4245b7350986c66bf639f3cd (diff)
downloadafl++-f28f6adbce0b803b80938518ca9c559e428ef9cf.tar.gz
update
Diffstat (limited to 'utils/argv_fuzzing/Makefile')
-rw-r--r--utils/argv_fuzzing/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/utils/argv_fuzzing/Makefile b/utils/argv_fuzzing/Makefile
index 3ebde54b..fca46b09 100644
--- a/utils/argv_fuzzing/Makefile
+++ b/utils/argv_fuzzing/Makefile
@@ -11,7 +11,7 @@
 #   http://www.apache.org/licenses/LICENSE-2.0
 #
 
-.PHONY: all install clean
+.PHONY: all install clean demo
 
 PREFIX     ?= /usr/local
 BIN_PATH    = $(PREFIX)/bin
@@ -58,5 +58,7 @@ clean:
 	rm -f argvfuzz32.so argvfuzz64.so argv_fuzz_demo argv_fuzz_persistent_demo
 
 demo:
-	../../afl-clang-fast -o argv_fuzz_demo argv_fuzz_demo.c
-	../../afl-clang-fast -o argv_fuzz_persistent_demo argv_fuzz_persistent_demo.c
\ No newline at end of file
+	CC = afl-clang-fast
+	CFLAGS = -fsanitize=address
+	-@$(CC) $(CFLAGS) -o argv_fuzz_demo argv_fuzz_demo.c
+	-@$(CC) $(CFLAGS) -o argv_fuzz_persistent_demo argv_fuzz_persistent_demo.c
\ No newline at end of file