blob: 34405c1f6b2092c867430a1dd53a1e94ea0c620f (
plain) (
blame)
| 1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
 | // RUN: %llvmgcc %s -emit-llvm -O0 -c -o %t1.bc
// RUN: %klee --max-solver-time=1 %t1.bc
#include <stdio.h>
int main() {
  long long int x, y = 102*75678 + 78, i = 101;
  klee_make_symbolic(&x, sizeof(x), "x");
  if (x*x*x*x*x*x*x*x*x*x*x*x*x*x*x*x + (x*x % (x+12)) == y*y*y*y*y*y*y*y*y*y*y*y*y*y*y*y % i)
    printf("Yes\n");
  else printf("No\n");
  
  return 0;
}
 |