Remove DummySource

This commit is contained in:
Slavomir
2021-03-08 18:06:15 +01:00
committed by Chris Smowton
parent 7e9f23ab8e
commit 7b4a748793

View File

@@ -138,15 +138,6 @@ class FlowConfFromUntrustedToTemplateExecutionCall extends TaintTracking::Config
override predicate isSink(DataFlow::Node sink) { isSinkToTemplateExec(sink, _) }
}
private class DummySource extends UntrustedFlowSource::Range {
DummySource() {
exists(Function fn, DataFlow::CallNode call | fn.hasQualifiedName(_, "source") |
call = fn.getACall() and
this = call.getResult()
)
}
}
/**
* Holds if the provided `conversion` node flows into the provided `execSink`.
*/