mirror of
https://github.com/github/codeql.git
synced 2026-04-27 17:55:19 +02:00
the [] syntax directly
Co-authored-by: Geoffrey White <40627776+geoffw0@users.noreply.github.com>
This commit is contained in:
@@ -47,8 +47,7 @@ module Config implements DataFlow::ConfigSig {
|
||||
exists(PrintfLikeFunction printf |
|
||||
printf.outermostWrapperFunctionCall([node.asExpr(), node.asIndirectExpr()], _)
|
||||
) and
|
||||
not isPrintfImplementation(node.asExpr().getEnclosingFunction()) and
|
||||
not isPrintfImplementation(node.asIndirectExpr().getEnclosingFunction())
|
||||
not isPrintfImplementation([node.asExpr(), node.asIndirectExpr()].getEnclosingFunction())
|
||||
}
|
||||
|
||||
private predicate isArithmeticNonCharType(ArithmeticType type) {
|
||||
|
||||
Reference in New Issue
Block a user