blob: d20d07d215dc8d2ddf5de8f47ebffe443d35adf7 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
// RUN: %clang %s -emit-llvm %O0opt -c -o %t1.bc
// RUN: rm -rf %t.klee-out
// RUN: %klee --output-dir=%t.klee-out --exit-on-error %t1.bc
#include "klee/klee.h"
void f(int *addr) {
klee_make_symbolic(addr, sizeof *addr, "moo");
}
int main() {
int x;
f(&x);
return x;
}
|