Csmith - C compiler stress test

David Nadlinger see at klickverbot.at
Wed Apr 13 08:27:42 PDT 2011


On 4/13/11 5:16 PM, Trass3r wrote:
> I think I also came across such a tool but I'm not sure if it was this one.
> Since it uses a grammar (subset) to generate the programs it should be
> perfectly possible to adapt it for D.
> Though it "is mainly intended to find bugs in the parts of a compiler
> that perform transformations on an intermediate representation".

 From what I recall from a quick look at the Csmith sources and Xuejun 
Yang's talk at the LLVM developer meeting, Csmith is tailored rather 
specifically to C, and isn't based on a grammar representation that 
could be easily swapped out…

David


More information about the Digitalmars-d mailing list