LLVM Project News and Details from the Trenches

Showing posts with label KLEE. Show all posts
Showing posts with label KLEE. Show all posts

Wednesday, April 7, 2010

What's wrong with this code?

A user on IRC sent me this interesting KLEE example today, which I thought was cute enough I should post it.

If you aren't familiar with it, KLEE is a tool for symbolic execution of LLVM code. It is way too complicated to explain here, but for the purposes of this example all you need to know is that it tries to explore all possible paths through a program.