esp-idf/tools/ci/static-analysis-rules.yml
Guillaume Souchere 3737bf8322 heap: Remove TLSF related files and replace them with the tlsf submodule
As the tlsf implementation is a fork from https://github.com/mattconte/tlsf,
the sources are moved to a separate repository and used as a submodule in the esp-idf instead.

In this commit:
- Removing TLSF related files and using tlsf submodule instead.

- Adding components/heap/tlsf_platform.h header gathering all IDF specifics.

- The multi_heap_poisoning.c provides the declaration of the
function block_absorb_post_hook() definied weak in the TLSF repository.

- The tlsf_platform.h includes the tlsf_common.h file after the definition
of FL_INDEX_MAX_PLATFORM macro to make sure that this macro will be available
in tlsf_common.h without having to include tlaf_platform.h from IDF in the
tlsf_common.h header from the TLSF repository.

- Add missing include from tlsf_block_functions.h in the multi_heap.c file.
Change related to the changes made in TLSF repository (tlsf_block_functions.h
no longer included in tlsf.h)
2022-08-02 12:55:31 +02:00

44 lines
1.5 KiB
YAML

limits:
"clang-analyzer-core.NullDereference" : 0
"clang-analyzer-unix.Malloc" : 0
ignore:
- "llvm-header-guard"
- "llvm-include-order"
skip:
# submodules and third-party code
- "components/asio/asio"
- "components/bootloader/subproject/components/micro-ecc/micro-ecc"
- "components/bt/controller/lib_esp32"
- "components/bt/controller/lib_esp32c3_family"
- "components/bt/host/nimble/nimble"
- "components/bt/lib"
- "components/cmock/CMock"
- "components/esp_phy/lib"
- "components/esp_wifi/lib"
- "components/esp_wifi/lib_esp32"
- "components/ieee802154/lib"
- "components/json/cJSON"
- "components/lwip/lwip"
- "components/mbedtls/mbedtls"
- "components/mqtt/esp-mqtt"
- "components/openthread/lib"
- "components/openthread/openthread"
- "components/protobuf-c/protobuf-c"
- "components/spiffs/spiffs"
- "components/tinyusb/tinyusb"
- "components/unity/unity"
- "components/heap/tlsf"
- "examples/peripherals/secure_element/atecc608_ecdsa/components/esp-cryptoauthlib"
# disabled temporarily to pass the CI
- "components/bt/common/btc/core/btc_task.c"
- "components/bt/host/bluedroid/btc/profile/std/gap/btc_gap_ble.c"
- "components/bt/host/bluedroid/stack/btm/btm_acl.c"
- "components/bt/host/bluedroid/stack/btm/btm_ble_gap.c"
- "components/bt/host/bluedroid/stack/btm/btm_dev.c"
- "components/bt/host/bluedroid/stack/gatt/att_protocol.c"
- "components/bt/host/bluedroid/stack/gatt/gatt_db.c"
- "components/wifi_provisioning/src/scheme_ble.c"