Merge branch 'master' into alistairs-docs-preparation-1

This commit is contained in:
Alistair Christie
2020-03-02 11:17:42 +00:00
171 changed files with 4465 additions and 1084 deletions

View File

@@ -115,7 +115,7 @@ Then we can make the source more specific, for example an access to a public par
where
fileReader.getDeclaringType().hasQualifiedName("java.io", "FileReader") and
call.getCallee() = fileReader and
DataFlow::localFlow(DataFlow::parameterNode(p), DataFlow::exprNode(fc.getArgument(0)))
DataFlow::localFlow(DataFlow::parameterNode(p), DataFlow::exprNode(call.getArgument(0)))
select p
This query finds calls to formatting functions where the format string is not hard-coded.