mirror of
https://github.com/github/codeql.git
synced 2025-12-16 16:53:25 +01:00
13 lines
305 B
Plaintext
13 lines
305 B
Plaintext
/**
|
|
* @kind path-problem
|
|
*/
|
|
|
|
import semmle.code.cpp.dataflow.DataFlow
|
|
import ASTConfiguration
|
|
import cpp
|
|
import DataFlow::PathGraph
|
|
|
|
from DataFlow::PathNode src, DataFlow::PathNode sink, AstConf conf
|
|
where conf.hasFlowPath(src, sink)
|
|
select sink, src, sink, sink + " flows from $@", src, src.toString()
|