From aa0665af307420e493b09af9a97fbd36fd53ef4b Mon Sep 17 00:00:00 2001 From: Kimplul Date: Sun, 18 Aug 2024 01:18:18 +0300 Subject: enable analyzer for tdump and fix issues --- tdump/Makefile | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'tdump/Makefile') 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 -- cgit v1.3