mirror of
https://github.com/github/codeql.git
synced 2026-04-28 18:25:24 +02:00
Use flowFrom.
This commit is contained in:
@@ -20,7 +20,7 @@ module FlowStepTest implements TestSig {
|
||||
predicate hasActualResult(Location l, string element, string tag, string value) {
|
||||
tag = "taintReachesReturn" and
|
||||
value = "" and
|
||||
exists(DataFlow::Node source | Flow::flow(source, _) |
|
||||
exists(DataFlow::Node source | Flow::flowFrom(source) |
|
||||
l = source.getLocation() and
|
||||
element = source.toString()
|
||||
)
|
||||
|
||||
@@ -20,7 +20,7 @@ module SinkTest implements TestSig {
|
||||
predicate hasActualResult(Location l, string element, string tag, string value) {
|
||||
tag = "taintReachesSink" and
|
||||
value = "" and
|
||||
exists(DataFlow::Node source | Flow::flow(source, _) |
|
||||
exists(DataFlow::Node source | Flow::flowFrom(source) |
|
||||
l = source.getLocation() and
|
||||
element = source.toString()
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user