Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

All: delete outdated deprecations #19504

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 8 commits into from
Closed
Prev Previous commit
Next Next commit
cpp: removed now unused predicate commandLineArg
  • Loading branch information
Napalys committed May 16, 2025
commit 2960406d9b0aa26935f83324c90c15df30cfdc91
10 changes: 0 additions & 10 deletions 10 cpp/ql/lib/semmle/code/cpp/security/Security.qll
Original file line number Diff line number Diff line change
Expand Up @@ -77,16 +77,6 @@ class SecurityOptions extends string {
}
}

/**
* An access to the argv argument to main().
*/
private predicate commandLineArg(Expr e) {
exists(Parameter argv |
argv(argv) and
argv.getAnAccess() = e
)
}

/** The argv parameter to the main function */
predicate argv(Parameter argv) {
exists(Function f |
Expand Down
Morty Proxy This is a proxified and sanitized view of the page, visit original site.