esp-idf/tools/ci/static-analysis-rules.yml
David Cermak c4f3afd4b5 ci: add clang static analysis jobs
Clang tidy 9.0.0 is to perform static analysis of IDF sources. All component sources are analysed with default sdkconfig configuration, based on examples/get-started/hello_world project (compilation commands are extracted from default build commands for this project). Configuration of static analysis is defined in tools/ci/static-analysis-rules.yml

Closes https://github.com/espressif/esp-idf/issues/145
2019-06-14 20:24:36 +02:00

24 lines
624 B
YAML

limits:
"clang-analyzer-core.NullDereference" : 9
"clang-analyzer-unix.Malloc" : 9
ignore:
- "llvm-header-guard"
- "llvm-include-order"
skip:
- "components/mbedtls/mbedtls"
- "components/lwip/lwip"
- "components/asio/asio"
- "components/bootloader/subproject/components/micro-ecc/micro-ecc"
- "components/bt/lib"
- "components/coap/libcoap"
- "components/esp_wifi/lib_esp32"
- "components/expat/expat"
- "components/json/cJSON"
- "components/libsodium/libsodium"
- "components/nghttp/nghttp2"
- "components/protobuf-c/protobuf-c"
- "components/spiffs/spiffs"
- "components/unity/unity"