diff options
author | Patryk Obara <dreamer.tan@gmail.com> | 2021-02-01 02:58:57 +0300 |
---|---|---|
committer | Patryk Obara <patryk.obara@gmail.com> | 2021-02-01 18:18:47 +0300 |
commit | 694355a84ebf9b7dda212e5a26c549cf3adea4b5 (patch) | |
tree | c653b2816401ee95d522de1fd5adc1c640c2ab8a /BUILD.md | |
parent | f184e5f8e9ab9b1fe3689f6a42ce2ae224b0fd36 (diff) |
Document running static analysis
Diffstat (limited to 'BUILD.md')
-rw-r--r-- | BUILD.md | 20 |
1 files changed, 20 insertions, 0 deletions
@@ -537,3 +537,23 @@ meson setup -Db_coverage=true build meson test -C build ninja -C build coverage-html ``` + +### Static analysis report + +Prerequisites: + +``` shell +# Fedora +sudo dnf install clang-analyzer +``` +``` shell +# Debian, Ubuntu +sudo apt install clang-tools +``` + +Build and generate report: + +``` shell +meson setup build +ninja -C build scan-build +``` |