Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.semgrep.dev/llms.txt

Use this file to discover all available pages before exploring further.

Semgrep exited with code -11 (or -9)

This can happen when Semgrep crashes, usually as a result of memory exhaustion. -11 and -9 are the POSIX signals raised to cause the crash. Review troubleshooting steps for memory exhaustion at Semgrep scan troubleshooting: Memory usage issues.

Semgrep is too slow

Semgrep records runtimes for each file and rule. This information is displayed when you include the --time flag when running Semgrep. How you choose to interact with the --time output depends on your goals.

I want Semgrep to run faster

Review troubleshooting steps for slow scans at Semgrep scan troubleshooting: Slow scans.

I am a contributor who wants to improve Semgrep’s engine

Thank you! Check out the Contributing docs to get started. The section Explore results from a slow run of Semgrep is helpful if you haven’t previously investigated Semgrep performance.