1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
/* * First KLEE tutorial: testing a small function */ #include <klee/klee.h> int my_islower(int x) { if (x >= 'a' && x <= 'z') return 1; else return 0; } int main() { char c; klee_make_symbolic(&c, sizeof(c), "input"); return my_islower(c); }