sanitizers: Implement support for the sanitize ignorelist

The sanitize ignorelist gives central controls over which functions,
files, etc. should be ignored and not sanitized. It is a common file
format for clang and explained here:
https://clang.llvm.org/docs/SanitizerSpecialCaseList.html. This change
adds support for this list in Rust as well.
This commit is contained in:
Bastian Kersting
2026-06-10 15:49:36 +00:00
parent 45f215f136
commit c0e55d66cc
44 changed files with 1100 additions and 11 deletions

View File

@@ -4745,6 +4745,7 @@ name = "rustc_sanitizers"
version = "0.0.0"
dependencies = [
"bitflags",
"libc",
"rustc_abi",
"rustc_data_structures",
"rustc_hir",