Skip to content

Commit 57e32b4

Browse files
authored
Merge pull request github#14386 from geoffw0/swiftperf
Swift: defaultImplicitTaintRead performance improvement
2 parents 62b0ebf + 0918e50 commit 57e32b4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

swift/ql/lib/codeql/swift/dataflow/internal/TaintTrackingPublic.qll

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ predicate localTaintStep = localTaintStepCached/2;
2626
* of `c` at sinks and inputs to additional taint steps.
2727
*/
2828
bindingset[node]
29+
pragma[inline_late]
2930
predicate defaultImplicitTaintRead(DataFlow::Node node, DataFlow::ContentSet cs) {
3031
// If a `PostUpdateNode` is specified as a sink, there's (almost) always a store step preceding it.
3132
// So when the node is a `PostUpdateNode` we allow any sequence of implicit read steps of an appropriate

0 commit comments

Comments
 (0)