Python: Move ModificationOfParameterWithDefault to new dataflow API

This commit is contained in:
Rasmus Wriedt Larsen
2023-08-28 15:43:00 +02:00
parent e8e8d975e3
commit ce6335866b
3 changed files with 37 additions and 6 deletions

View File

@@ -8,7 +8,7 @@ module ModificationOfParameterWithDefaultTest implements TestSig {
string getARelevantTag() { result = "modification" }
private predicate relevant_node(DataFlow::Node sink) {
exists(ModificationOfParameterWithDefault::Configuration cfg | cfg.hasFlowTo(sink))
ModificationOfParameterWithDefault::Flow::flowTo(sink)
}
predicate hasActualResult(Location location, string element, string tag, string value) {