mirror of
https://github.com/github/codeql.git
synced 2025-12-24 04:36:35 +01:00
20 lines
498 B
Plaintext
20 lines
498 B
Plaintext
/**
|
|
* @kind path-problem
|
|
*/
|
|
|
|
import csharp
|
|
import Common
|
|
import DataFlow::PathGraph
|
|
|
|
class TTConfig extends TaintTracking::Configuration instanceof Config {
|
|
override predicate isSource(DataFlow::Node source) { Config.super.isSource(source) }
|
|
|
|
override predicate isSink(DataFlow::Node sink) { Config.super.isSink(sink) }
|
|
}
|
|
|
|
from TTConfig c, DataFlow::PathNode source, DataFlow::PathNode sink, string s
|
|
where
|
|
c.hasFlowPath(source, sink) and
|
|
s = sink.toString()
|
|
select sink, source, sink, s
|