commit: fcf61ab5c969c0e385031cc36956505c1c66c7b7
Author: Mike Frysinger <vapier <AT> gentoo <DOT> org>
AuthorDate: Sat Jan 2 03:51:56 2016 +0000
Commit: Mike Frysinger <vapier <AT> gentoo <DOT> org>
CommitDate: Sat Jan 2 03:51:56 2016 +0000
URL: https://gitweb.gentoo.org/proj/pax-utils.git/commit/?id=fcf61ab5
build: add a clang static analyzer check
Makefile | 3 +++
1 file changed, 3 insertions(+)
diff --git a/Makefile b/Makefile
index b9be199..b09c3b0 100644
--- a/Makefile
+++ b/Makefile
@@ -89,6 +89,9 @@ debug: clean
@-chpax -permsx $(ELF_TARGETS)
@-paxctl -permsx $(ELF_TARGETS)
+analyze: clean
+ scan-build $(MAKE) all
+
fuzz: clean
$(MAKE) AFL_HARDEN=1 CC=afl-gcc all
@rm -rf findings