FICHA · AUR

csmith

Tool for stress-testing compilers, static analyzers, and other tools that process C code

  • cli-tool
  • CLI
  • Launchable
  • Runs in terminal
official+codex · reviewed · May 31, 2026 description in en

Description

Compilers and C analysis tools can be stress-tested with randomly generated C programs. This helps compiler developers, tool authors, and researchers find crashes, miscompilations, and edge cases that normal test suites may miss.

It is a command-line testing tool, not a C learning environment. Generated programs are intentionally unusual, so use the output for testing tools rather than as examples of good application code.

How to run

csmith

Commands: csmith

Permissions

Permissions not analysed for this source yet.