├── .github └── workflows │ ├── linter.yml │ ├── shellcheck.yml │ ├── test_action.yml │ └── unit_tests.yml ├── .gitignore ├── .pylintrc ├── Dockerfile ├── LICENSE ├── README.md ├── action.yml ├── docker └── static_analysis.dockerfile ├── entrypoint.sh ├── entrypoint_cpp.sh ├── entrypoint_python.sh ├── llvm.sh ├── src ├── get_files_to_check.py ├── patch_compile_commands.py ├── sa_utils.py ├── static_analysis_cpp.py └── static_analysis_python.py └── test ├── test_static_analysis_cpp.py ├── test_static_analysis_python.py ├── test_utils.py └── utils ├── dummy_project ├── DummyFile.cpp ├── DummyFile.hpp ├── NotCppFile.js ├── build │ └── FileInBuildDir.hpp ├── dummy.py ├── exclude_dir_1 │ └── ExcludedFile1.hpp └── exclude_dir_2 │ └── ExcludedFile2.hpp └── helper_functions.py /.github/workflows/linter.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JacobDomagala/StaticAnalysis/HEAD/.github/workflows/linter.yml -------------------------------------------------------------------------------- /.github/workflows/shellcheck.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JacobDomagala/StaticAnalysis/HEAD/.github/workflows/shellcheck.yml -------------------------------------------------------------------------------- /.github/workflows/test_action.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JacobDomagala/StaticAnalysis/HEAD/.github/workflows/test_action.yml -------------------------------------------------------------------------------- /.github/workflows/unit_tests.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JacobDomagala/StaticAnalysis/HEAD/.github/workflows/unit_tests.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | .vscode/ 2 | *__pycache__/ 3 | -------------------------------------------------------------------------------- /.pylintrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JacobDomagala/StaticAnalysis/HEAD/.pylintrc -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JacobDomagala/StaticAnalysis/HEAD/Dockerfile -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JacobDomagala/StaticAnalysis/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JacobDomagala/StaticAnalysis/HEAD/README.md -------------------------------------------------------------------------------- /action.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JacobDomagala/StaticAnalysis/HEAD/action.yml -------------------------------------------------------------------------------- /docker/static_analysis.dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JacobDomagala/StaticAnalysis/HEAD/docker/static_analysis.dockerfile -------------------------------------------------------------------------------- /entrypoint.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JacobDomagala/StaticAnalysis/HEAD/entrypoint.sh -------------------------------------------------------------------------------- /entrypoint_cpp.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JacobDomagala/StaticAnalysis/HEAD/entrypoint_cpp.sh -------------------------------------------------------------------------------- /entrypoint_python.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JacobDomagala/StaticAnalysis/HEAD/entrypoint_python.sh -------------------------------------------------------------------------------- /llvm.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JacobDomagala/StaticAnalysis/HEAD/llvm.sh -------------------------------------------------------------------------------- /src/get_files_to_check.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JacobDomagala/StaticAnalysis/HEAD/src/get_files_to_check.py -------------------------------------------------------------------------------- /src/patch_compile_commands.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JacobDomagala/StaticAnalysis/HEAD/src/patch_compile_commands.py -------------------------------------------------------------------------------- /src/sa_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JacobDomagala/StaticAnalysis/HEAD/src/sa_utils.py -------------------------------------------------------------------------------- /src/static_analysis_cpp.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JacobDomagala/StaticAnalysis/HEAD/src/static_analysis_cpp.py -------------------------------------------------------------------------------- /src/static_analysis_python.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JacobDomagala/StaticAnalysis/HEAD/src/static_analysis_python.py -------------------------------------------------------------------------------- /test/test_static_analysis_cpp.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JacobDomagala/StaticAnalysis/HEAD/test/test_static_analysis_cpp.py -------------------------------------------------------------------------------- /test/test_static_analysis_python.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JacobDomagala/StaticAnalysis/HEAD/test/test_static_analysis_python.py -------------------------------------------------------------------------------- /test/test_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JacobDomagala/StaticAnalysis/HEAD/test/test_utils.py -------------------------------------------------------------------------------- /test/utils/dummy_project/DummyFile.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JacobDomagala/StaticAnalysis/HEAD/test/utils/dummy_project/DummyFile.cpp -------------------------------------------------------------------------------- /test/utils/dummy_project/DummyFile.hpp: -------------------------------------------------------------------------------- 1 | inline void func() { 2 | int anotherUnused; 3 | } -------------------------------------------------------------------------------- /test/utils/dummy_project/NotCppFile.js: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/utils/dummy_project/build/FileInBuildDir.hpp: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/utils/dummy_project/dummy.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JacobDomagala/StaticAnalysis/HEAD/test/utils/dummy_project/dummy.py -------------------------------------------------------------------------------- /test/utils/dummy_project/exclude_dir_1/ExcludedFile1.hpp: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/utils/dummy_project/exclude_dir_2/ExcludedFile2.hpp: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/utils/helper_functions.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JacobDomagala/StaticAnalysis/HEAD/test/utils/helper_functions.py --------------------------------------------------------------------------------