use CallNode.getSyntacticArgument

This commit is contained in:
Owen Mansel-Chan
2023-04-13 07:22:17 +01:00
parent 2d3fed9c07
commit bc0f9030e3
21 changed files with 38 additions and 37 deletions

View File

@@ -109,7 +109,7 @@ class PrivateUrlFlowsToAuthCodeUrlCall extends DataFlow::Configuration {
exists(DataFlow::CallNode cn |
cn.getACalleeIncludingExternals().asFunction() instanceof Fmt::AppenderOrSprinter
|
pred = cn.getAnArgument() and succ = cn.getResult()
pred = cn.getASyntacticArgument() and succ = cn.getResult()
)
}