We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 70d8c1c commit fba4a83Copy full SHA for fba4a83
rust/ql/src/utils/modelgenerator/internal/CaptureModels.qll
@@ -138,7 +138,10 @@ private module SummaryModelGeneratorInput implements SummaryModelGeneratorInputS
138
139
Parameter asParameter(NodeExtended node) { result = node.asParameter() }
140
141
- predicate isAdditionalContentFlowStep(DataFlow::Node nodeFrom, DataFlow::Node nodeTo) { none() }
+ predicate isAdditionalContentFlowStep(DataFlow::Node nodeFrom, DataFlow::Node nodeTo) {
142
+ RustTaintTracking::defaultAdditionalTaintStep(nodeFrom, nodeTo, _) and
143
+ not RustDataFlow::readStep(nodeFrom, _, nodeTo)
144
+ }
145
146
predicate isField(DataFlow::ContentSet c) {
147
c.(SingletonContentSet).getContent() instanceof FieldContent
0 commit comments