compiler_test
generator of random C programs
Install
- All systems
-
curl cmd.cat/compiler_test.sh
- Debian
-
apt-get install csmith
- Ubuntu
-
apt-get install csmith
- Kali Linux
-
apt-get install csmith
- Fedora
-
dnf install csmith
- Windows (WSL2)
-
sudo apt-get update
sudo apt-get install csmith
- OS X
-
brew install csmith
- Raspbian
-
apt-get install csmith
- Dockerfile
- dockerfile.run/compiler_test
csmith
generator of random C programs
Csmith is a tool that can generate random C programs that statically and dynamically conform to the C99 standard. Thus, it is useful for stress-testing compilers, static analyzers, and other tools that process C code.