[clang] [clang][analyzer]Add TaintPropagation:EnableDefaultConfig config parameter (PR #176185)
DonĂ¡t Nagy via cfe-commits
cfe-commits at lists.llvm.org
Thu Jan 15 08:33:39 PST 2026
================
@@ -1371,8 +1371,12 @@ For a more detailed description of configuration options, please see the
**Configuration**
-* `Config` Specifies the name of the YAML configuration file. The user can
+* `optin.taint.TaintPropagation:Config` Specifies the name of the YAML configuration file. The user can
define their own taint sources and sinks.
+* `optin.taint.TaintPropagation:EnableDefaultConfig` If set to true,
+ the default source, sink and propagation rules are loaded. Consider
+ setting it to false, if you want a fully custom taint configuration
+ without the defaults.
----------------
NagyDonat wrote:
```suggestion
the default source, sink and propagation rules are loaded. Advanced
users may want set it to false if they want to fully customize their taint
model.
```
Emphasize that this is an advanced feature. The original with "Consider..." sounded as if this was an option that may be interesting for anyone.
https://github.com/llvm/llvm-project/pull/176185
More information about the cfe-commits
mailing list