Replace any(string) with _ wildcard

This commit is contained in:
thank_you
2021-04-20 08:49:08 -04:00
parent bbd3552392
commit 7773c53124

View File

@@ -63,7 +63,7 @@ private module NoSQL {
.getACall()
}
override DataFlow::Node getQuery() { result = this.getArgByName(any(string name)) }
override DataFlow::Node getQuery() { result = this.getArgByName(_) }
}
private class MongoEngineObjectsFlaskCall extends DataFlow::CallCfgNode, NoSQLQuery::Range {
@@ -78,7 +78,7 @@ private module NoSQL {
.getACall()
}
override DataFlow::Node getQuery() { result = this.getArgByName(any(string name)) }
override DataFlow::Node getQuery() { result = this.getArgByName(_) }
}
private class MongoSanitizerCall extends DataFlow::CallCfgNode, NoSQLSanitizer::Range {