File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
cpp/ql/src/semmle/code/cpp/models/implementations Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -8,8 +8,8 @@ class StringConstructor extends TaintFunction {
8
8
9
9
override predicate hasTaintFlow ( FunctionInput input , FunctionOutput output ) {
10
10
// flow from any constructor argument to return value
11
- input .isInParameter ( _) and
12
- output .isOutReturnValue ( )
11
+ input .isParameter ( _) and
12
+ output .isReturnValue ( )
13
13
}
14
14
}
15
15
@@ -21,7 +21,7 @@ class StringCStr extends TaintFunction {
21
21
22
22
override predicate hasTaintFlow ( FunctionInput input , FunctionOutput output ) {
23
23
// flow from string itself (qualifier) to return value
24
- input .isInQualifier ( ) and
25
- output .isOutReturnValue ( )
24
+ input .isQualifierObject ( ) and
25
+ output .isReturnValue ( )
26
26
}
27
27
}
You can’t perform that action at this time.
0 commit comments