mirror of
https://github.com/github/codeql.git
synced 2025-12-17 01:03:14 +01:00
12 lines
295 B
Plaintext
12 lines
295 B
Plaintext
/**
|
|
* @kind path-problem
|
|
*/
|
|
|
|
import semmle.code.cpp.ir.dataflow.DataFlow
|
|
import IRConfiguration
|
|
import DataFlow::PathGraph
|
|
|
|
from DataFlow::PathNode src, DataFlow::PathNode sink, IRConf conf
|
|
where conf.hasFlowPath(src, sink)
|
|
select sink, src, sink, sink + " flows from $@", src, src.toString()
|