mirror of
https://github.com/github/codeql.git
synced 2026-04-22 15:25:18 +02:00
Updating test ql file and applying formatting.
This commit is contained in:
@@ -1,8 +1,10 @@
|
||||
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()
|
||||
where
|
||||
s.getLocation().getFile().getBaseName() = "concat.cpp" and
|
||||
op = s.getAnOperand() and
|
||||
res = s.getResultNode()
|
||||
select s, op, res
|
||||
|
||||
Reference in New Issue
Block a user