semgrep
https://github.com/returntocorp/semgrep
OCaml
Lightweight static analysis for many languages. Find bug variants with patterns that look like source code.
Triage Issues!
When you volunteer to triage issues, you'll receive an email each day with a link to an open issue that needs help in this project. You'll also receive instructions on how to triage issues.
Triage Docs!
Receive a documented method or class from your favorite GitHub repos in your inbox every day. If you're really pro, receive undocumented methods or classes and supercharge your commit history.
OCaml not yet supported1 Subscribers
Add a CodeTriage badge to semgrep
Help out
- Issues
- Trailing semicolon is not matched for pattern `$VAR = ANYTHNG;` for `Type obj = anything;` statements
- bash: simple command pattern shouldn't match pipeline containing it
- Autofix ought fix up imports when it can
- Add the ability to specify how many of a thing that ellipses should skip
- Registry rules are matched by prefix instead of by directory
- [Terraform] metavariable-regex does not match properly when used in conjunction with pattern-not
- C++ parser fails on namespace aliases, various kinds of open braces, assignments, alignas, custom operators, etc.
- Strict flag confusing behavior with nosem
- nosemgrep not working in a TOML file.
- Error message when using "generic" in a rule configuration with multiple languages is unclear
- Docs
- OCaml not yet supported