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 afe4a84 commit f2728f5Copy full SHA for f2728f5
cpp/ql/src/experimental/Security/CWE/CWE-362/double-fetch.ql
@@ -23,10 +23,7 @@ class CopyFromUserFunctionCall extends FunctionCall{
23
and not this.getArgument(1) instanceof AddressOfExpr
24
}
25
26
- /*predicate hasSameArguments(CopyFromUserFunctionCall another){
27
- this.getArgument(0).toString() = another.getArgument(0).toString()
28
- and this.getArgument(1).toString() = another.getArgument(1).toString()
29
- }*/
+
30
31
predicate hasSameArguments(CopyFromUserFunctionCall another) {
32
globalValueNumber(this.getArgument(0)) = globalValueNumber(another.getArgument(0))
0 commit comments