Update cpp/ql/lib/semmle/code/cpp/commons/StringConcatenation.qll

Co-authored-by: Mathias Vorreiter Pedersen <mathiasvp@github.com>
This commit is contained in:
Ben Rodes
2023-12-19 08:48:20 -05:00
committed by GitHub
parent 49728571cf
commit 29a0da6cd9

View File

@@ -10,7 +10,7 @@ private import semmle.code.cpp.dataflow.new.DataFlow
class StringConcatenation extends Call {
StringConcatenation() {
// sprintf-like functions, i.e., concat through formatting
exists(FormattingFunctionCall fc | this = fc)
this instanceof FormattingFunctionCall
or
this.getTarget() instanceof StrcatFunction
or