We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f62ad75 commit 128b832Copy full SHA for 128b832
cpp/ql/src/semmle/code/cpp/models/implementations/StdString.qll
@@ -26,7 +26,8 @@ class StdStringCStr extends TaintFunction {
26
class StdStringPlus extends TaintFunction {
27
StdStringPlus() {
28
this.hasQualifiedName("std", "operator+") and
29
- this.getParameter(0).getType().getUnspecifiedType().(ReferenceType).getBaseType() = any(StdBasicString s).getAnInstantiation()
+ this.getParameter(0).getType().getUnspecifiedType().(ReferenceType).getBaseType() =
30
+ any(StdBasicString s).getAnInstantiation()
31
}
32
33
override predicate hasTaintFlow(FunctionInput input, FunctionOutput output) {
0 commit comments