Fast and syntax-aware semantic code pattern search for many languages: like grep but for code.
semgrep is like grep but for code: it is a tool for easily detecting and preventing bugs and anti-patterns in your codebase. It combines the convenience of grep with the correctness of syntactical and semantic search.
semgrep is like grep but for code: it is a tool for easily detecting and preventing bugs and anti-patterns in your codebase. It combines the convenience of grep with the correctness of syntactical and semantic search.
To install semgrep, run the following command in macOS terminal (Applications->Utilities->Terminal)
sudo port install semgrep
To see what files were installed by semgrep, run:
port contents semgrep
To later upgrade semgrep, run:
sudo port selfupdate && sudo port upgrade semgrep
Reporting an issue on MacPorts Trac
The MacPorts Project uses a system called Trac to file tickets to report bugs and enhancement requests.
Though anyone may search Trac for tickets, you must have a GitHub account in order to login to Trac to create tickets.