mirror of
https://github.com/github/codeql.git
synced 2026-04-26 09:15:12 +02:00
Remove reference to DataFlow2
This commit is contained in:
@@ -99,7 +99,7 @@ private module ArrayUpdateFlow = DataFlow::Global<ArrayUpdateConfig>;
|
||||
private class StaticInitializationVectorSource extends DataFlow::Node {
|
||||
StaticInitializationVectorSource() {
|
||||
exists(StaticByteArrayCreation array | array = this.asExpr() |
|
||||
not ArrayUpdateFlow::flow(DataFlow2::exprNode(array), _) and
|
||||
not ArrayUpdateFlow::flow(DataFlow::exprNode(array), _) and
|
||||
// Reduce FPs from utility methods that return an empty array in an exceptional case
|
||||
not exists(ReturnStmt ret |
|
||||
array.getADimension().(CompileTimeConstantExpr).getIntValue() = 0 and
|
||||
|
||||
Reference in New Issue
Block a user