Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e9132d8 commit c9ec30fCopy full SHA for c9ec30f
1 file changed
cpp/ql/src/semmle/code/cpp/models/implementations/Strings.qll
@@ -8,8 +8,8 @@ class StringConstructor extends TaintFunction {
8
9
override predicate hasTaintFlow(FunctionInput input, FunctionOutput output) {
10
// flow from any constructor argument to return value
11
- input.isInParameter(_) and
12
- output.isOutReturnValue()
+ input.isParameter(_) and
+ output.isReturnValue()
13
}
14
15
@@ -21,7 +21,7 @@ class StringCStr extends TaintFunction {
21
22
23
// flow from string itself (qualifier) to return value
24
- input.isInQualifier() and
25
+ input.isQualifierObject() and
26
27
0 commit comments