aboutsummaryrefslogtreecommitdiff
path: root/tdump/Makefile
diff options
context:
space:
mode:
authorKimplul <kimi.h.kuparinen@gmail.com>2024-08-18 01:18:18 +0300
committerKimplul <kimi.h.kuparinen@gmail.com>2024-08-18 01:18:18 +0300
commitaa0665af307420e493b09af9a97fbd36fd53ef4b (patch)
tree69368ced3ccfc5981337f03c76524f38571cfae4 /tdump/Makefile
parenta44c59b6ab7b45bd52408bb67c17b6aa09aefeef (diff)
downloadtri-aa0665af307420e493b09af9a97fbd36fd53ef4b.tar.gz
tri-aa0665af307420e493b09af9a97fbd36fd53ef4b.zip
enable analyzer for tdump and fix issues
Diffstat (limited to 'tdump/Makefile')
-rw-r--r--tdump/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/tdump/Makefile b/tdump/Makefile
index e1c1ff8..c9309e4 100644
--- a/tdump/Makefile
+++ b/tdump/Makefile
@@ -20,6 +20,10 @@ setup:
@echo -n > deps.mk
@./scripts/gen-deps -p TDUMP -c COMPILE_TDUMP -b tdump "${TDUMP_SOURCES}"
+.PHONY: analyze
+analyze: setup
+ CC='gcc -fanalyzer' SKIP_ANALYZER='-fno-analyzer' $(MAKE) -f scripts/makefile
+
CLEANUP := build deps.mk tdump
CLEANUP_CMD :=
TDUMP_SOURCES := ../core/bits.c