-
Notifications
You must be signed in to change notification settings - Fork 7
Description
Feature Request / Modification Description
score_cpp_policies defines sanitizer configurations as cc_feature targets (asan_ubsan_lsan_link, tsan_link). These can currently only be injected into the LLVM toolchain via extra_known_features (toolchains_llvm PR #678).
We need the same mechanism for the S-CORE GCC toolchain so both toolchains consume sanitizer features from a single source.
Proposed change:
Add extra_known_features (or equivalent) to score_bazel_cpp_toolchains
Replace the existing built-in asan/lsan/tsan/ubsan features by pulling them from score_cpp_policies
References:
eclipse-score/score_cpp_policies#1
eclipse-score/communication#182
bazel-contrib/toolchains_llvm#678
Expected Changes ot work products
- Requirements
- Architecture
- Safety Analysis
- Security Analysis
- Detailed Design
- Implementation and Testing
- all
Impact analysis
Build tooling change only. No impact on production code, safety analysis,
or security. Consuming modules (communication, logging) will use a single
sanitizer configuration instead of toolchain-specific ones.
Safety or Security relevance
- none
- Safety relevant
- Security relevant
Expected required ASIL classification
QM
Expected Implementation Version (Release)
1.0