mirror of
https://github.com/github/codeql.git
synced 2026-05-02 20:25:13 +02:00
Merge branch 'master' into alistairs-docs-preparation-1
This commit is contained in:
@@ -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.
|
||||
|
||||
@@ -502,7 +502,7 @@ Identifiers are used in following syntactic constructs:
|
||||
simpleId ::= lowerId | upperId
|
||||
modulename ::= simpleId
|
||||
classname ::= upperId
|
||||
dbasetype ::= atlowerId
|
||||
dbasetype ::= atLowerId
|
||||
predicateRef ::= (moduleId "::")? literalId
|
||||
predicateName ::= lowerId
|
||||
varname ::= simpleId
|
||||
@@ -1804,7 +1804,7 @@ The complete grammar for QL is as follows:
|
||||
|
||||
::
|
||||
|
||||
ql ::= moduleBody ;
|
||||
ql ::= moduleBody
|
||||
|
||||
module ::= annotation* "module" modulename "{" moduleBody "}"
|
||||
|
||||
@@ -1976,11 +1976,11 @@ The complete grammar for QL is as follows:
|
||||
|
||||
simpleId ::= lowerId | upperId
|
||||
|
||||
modulename :: = simpleId
|
||||
modulename ::= simpleId
|
||||
|
||||
classname ::= upperId
|
||||
|
||||
dbasetype ::= atlowerId
|
||||
dbasetype ::= atLowerId
|
||||
|
||||
predicateRef ::= (moduleId "::")? literalId
|
||||
|
||||
|
||||
Reference in New Issue
Block a user