mirror of
https://github.com/github/codeql.git
synced 2025-12-17 17:23:36 +01:00
11 lines
303 B
Plaintext
11 lines
303 B
Plaintext
import cpp
|
|
import semmle.code.cpp.commons.StringConcatenation
|
|
import semmle.code.cpp.dataflow.new.DataFlow
|
|
|
|
from StringConcatenation s, Expr op, DataFlow::Node res
|
|
where
|
|
s.getLocation().getFile().getBaseName() = "concat.cpp" and
|
|
op = s.getAnOperand() and
|
|
res = s.getResultNode()
|
|
select s, op, res
|