mirror of
https://github.com/github/codeql.git
synced 2025-12-18 09:43:15 +01:00
13 lines
302 B
Plaintext
13 lines
302 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, Conf conf
|
|
where conf.hasFlowPath(src, sink)
|
|
select sink, src, sink, sink + " flows from $@", src, src.toString()
|