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