blob: e2ce8de0b23d9cd7f6bdd802d45f4dcbbdab3505 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
// RUN: %llvmgcc -emit-llvm -g -c %s -o %t.bc
// RUN: rm -rf %t.klee-out
// RUN: %klee --output-dir=%t.klee-out --exit-on-error %t.bc > %t.log
#include <stdlib.h>
int main(int argc, char *argv[]) {
int *a = (int *)memalign(8, sizeof(int) * 5);
for (int i = 0; i < 5; ++i) {
a[i] = (i * 100) % 23;
}
free(a);
return 0;
}
|