Amocy-Wang / ccg

CCG is a random C Code Generator

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CCG is the C Code Generator. It aims to produce chaotic and random C89 code in order to stress a bit compilers (just as csmith does).
The generated code is not meant to be run (yet), so CCG can only be used to search for crashes, not miscompilations.

UPDATE: compilers have now caught up with ccg (since it's been pretty hard to spot crashes last time I tried) so I may come up with a more robust approach in the future to generate more evil structures :-)

About

CCG is a random C Code Generator


Languages

Language:C 99.5%Language:Makefile 0.5%