mirror of
https://github.com/github/codeql.git
synced 2025-12-17 17:23:36 +01:00
13 lines
306 B
Plaintext
13 lines
306 B
Plaintext
/**
|
|
* @kind path-problem
|
|
*/
|
|
|
|
import semmle.code.cpp.ir.dataflow.DataFlow
|
|
import IRConfiguration
|
|
import cpp
|
|
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()
|