mirror of
https://github.com/espressif/esp-idf.git
synced 2026-10-01 18:50:34 +03:00
ESP_FAULT_ASSERT(C) was silently deleted by the optimizer when C is a cached flag/status already proven by a preceding `if (!C) return/goto`: the compiler folds C to a constant and drops all three checks, removing the fault-injection protection with no warning.
15 lines
494 B
YAML
15 lines
494 B
YAML
# Documentation: .gitlab/ci/README.md#manifest-file-to-control-the-buildtest-apps
|
|
|
|
components/esp_security/test_apps/crypto_drivers:
|
|
enable:
|
|
- if: ((SOC_HMAC_SUPPORTED == 1) or (SOC_DIG_SIGN_SUPPORTED == 1)) or (SOC_KEY_MANAGER_SUPPORTED == 1)
|
|
depends_components:
|
|
- esp_security
|
|
- esp_hal_security
|
|
|
|
components/esp_security/test_apps/fault_assert_opt_check:
|
|
enable:
|
|
- if: IDF_TARGET in ["esp32", "esp32c3"] # one Xtensa + one RISC-V
|
|
depends_components:
|
|
- esp_common
|