---
title: Csmith
slug: csmith
qid: 
snapshot: enwiki-001250388417
content_hash: 
license: CC BY-SA 4.0
source: https://en.wikipedia.org/w/index.php?oldid=1250388417
tags: [100997942, 23603337, 26220375, 7692542]
---

# Csmith

> [!note] Provenance
> Snapshot `enwiki-001250388417` · content root `…`
> Derived from <https://en.wikipedia.org/w/index.php?oldid=1250388417> · Licensed CC BY-SA 4.0

Csmith is a test case generation tool. It can generate random C programs that statically and dynamically conform to the C99 standard. It is used for stress-testing compilers, static analyzers, and other tools that process C code. It is a free, open source, permissively licensed C compiler fuzzer developed by researchers at the University of Utah. It was previously called Randprog.

Csmith is a test case generation tool. It can generate random C programs that statically and dynamically conform to the C99 standard. It is used for stress-testing compilers, static analyzers, and other tools that process C code. It is a free, open source, permissively licensed C compiler fuzzer developed by researchers at the University of Utah. It was previously called Randprog. ==External links== University of Utah Csmith webpage yarpgen: Yet Another Random Program Generator, yarpgen is a random C/C++ program generator ==References==
