From cca190e2f42a11c33cb02690d4fe2caea258b0af Mon Sep 17 00:00:00 2001 From: DcruBro Date: Tue, 1 Sep 2026 19:02:42 +0200 Subject: [PATCH] update cmakelists and gitignore - fanalyzer and ignore build dirs --- .gitignore | 1 + CMakeLists.txt | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index ff24e62..1c22abf 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,6 @@ .env build/ +build*/ .DS_Store config.json .vscode diff --git a/CMakeLists.txt b/CMakeLists.txt index 9eef1cd..3e5cc79 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -246,7 +246,9 @@ else() hammy_append_supported_c_flags(HAMMY_ANALYZER_FLAGS -fanalyzer-verbosity=${ANALYZER_VERBOSITY} -fanalyzer - ) + --param=analyzer-checker=taint + --Wanalyzer-too-complex + ) endif() elseif(CMAKE_C_COMPILER_ID MATCHES "Clang") # Clang-only diagnostics. Clang has no in-compiler equivalent of