Skip to content

Commit

Permalink
Merge pull request #14286 from geoffw0/interp
Browse files Browse the repository at this point in the history
Swift: Fix bug in taint flow through string interpolation
  • Loading branch information
geoffw0 authored Sep 22, 2023
2 parents 0aeec1a + f2689dd commit ab54f0c
Show file tree
Hide file tree
Showing 5 changed files with 182 additions and 36 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ private module Cached {
exists(ApplyExpr apply, ExprCfgNode e |
nodeFrom.asExpr() = [apply.getAnArgument().getExpr(), apply.getQualifier()] and
apply.getStaticTarget().getName() = ["appendLiteral(_:)", "appendInterpolation(_:)"] and
e.getExpr() = [apply.getAnArgument().getExpr(), apply.getQualifier()] and
e.getExpr() = apply.getQualifier() and
nodeTo.(PostUpdateNodeImpl).getPreUpdateNode().getCfgNode() = e
)
or
Expand Down
Loading

0 comments on commit ab54f0c

Please sign in to comment.