aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2016-01-01 22:51:56 -0500
committerMike Frysinger <vapier@gentoo.org>2016-01-01 22:51:56 -0500
commitfcf61ab5c969c0e385031cc36956505c1c66c7b7 (patch)
treeefbaacb1dcc7fb70bfb0f640ae39f90a03ef2043
parentREADME: convert to markdown (diff)
downloadpax-utils-fcf61ab5c969c0e385031cc36956505c1c66c7b7.tar.gz
pax-utils-fcf61ab5c969c0e385031cc36956505c1c66c7b7.tar.bz2
pax-utils-fcf61ab5c969c0e385031cc36956505c1c66c7b7.zip
build: add a clang static analyzer check
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
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