We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 8987135 + fba4a83 commit c579ec9Copy full SHA for c579ec9
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