Skip to content

Commit 703aec1

Browse files
Napalysjketema
authored andcommitted
cpp: removed now unused predicate commandLineArg
1 parent c74321a commit 703aec1

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

cpp/ql/lib/semmle/code/cpp/security/Security.qll

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -77,16 +77,6 @@ class SecurityOptions extends string {
7777
}
7878
}
7979

80-
/**
81-
* An access to the argv argument to main().
82-
*/
83-
private predicate commandLineArg(Expr e) {
84-
exists(Parameter argv |
85-
argv(argv) and
86-
argv.getAnAccess() = e
87-
)
88-
}
89-
9080
/** The argv parameter to the main function */
9181
predicate argv(Parameter argv) {
9282
exists(Function f |

0 commit comments

Comments
 (0)