File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
cpp/ql/lib/semmle/code/cpp/security Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ private predicate wrapperFunctionStep(
37
37
not target .isVirtual ( ) and
38
38
not source .isVirtual ( ) and
39
39
source .hasDefinition ( ) and
40
- exists ( Call call , Expr arg , Parameter sourceParam |
40
+ exists ( FunctionCall call , Expr arg , Parameter sourceParam |
41
41
// there is a 'call' to 'target' with argument 'arg' at index 'targetParamIndex'
42
42
target = resolveCall ( call ) and
43
43
arg = call .getArgument ( targetParamIndex ) and
@@ -154,7 +154,7 @@ abstract class FunctionWithWrappers extends Function {
154
154
* Whether 'arg' is an argument in a call to an outermost wrapper function of 'this' function.
155
155
*/
156
156
predicate outermostWrapperFunctionCall ( Expr arg , string callChain ) {
157
- exists ( Function targetFunc , Call call , int argIndex |
157
+ exists ( Function targetFunc , FunctionCall call , int argIndex |
158
158
targetFunc = resolveCall ( call ) and
159
159
this .wrapperFunction ( targetFunc , argIndex , callChain ) and
160
160
(
You can’t perform that action at this time.
0 commit comments