about summary refs log tree commit diff homepage
path: root/www/code-examples/demo.c
blob: 2bf1c00d54b54cbdd46f02b1f7d31eb9d841b714 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
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);
}