about summary refs log tree commit diff homepage
path: root/test/Replay/libkleeruntest
diff options
context:
space:
mode:
authorCristian Cadar <c.cadar@imperial.ac.uk>2018-07-05 12:17:02 +0100
committerMartinNowack <martin.nowack@gmail.com>2018-08-03 14:04:40 +0100
commitdfefd9710a3a64c5a81936d86f8b87d7ebc2e0b7 (patch)
tree89bc77f1406dabf7a3bacd97c9e5cae0d2842c6a /test/Replay/libkleeruntest
parent4e4744750e623f07e8a8dfa4156ba7333e787647 (diff)
downloadklee-dfefd9710a3a64c5a81936d86f8b87d7ebc2e0b7.tar.gz
Fixed runtest library to handle the case of a NULL "name" argument in klee_make_symbolic. Changed a test case to check this feature.
Diffstat (limited to 'test/Replay/libkleeruntest')
-rw-r--r--test/Replay/libkleeruntest/replay_two_objects.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Replay/libkleeruntest/replay_two_objects.c b/test/Replay/libkleeruntest/replay_two_objects.c
index 779e1b65..7cbfe306 100644
--- a/test/Replay/libkleeruntest/replay_two_objects.c
+++ b/test/Replay/libkleeruntest/replay_two_objects.c
@@ -15,7 +15,7 @@ int main(int argc, char** argv) {
   int x = 0;
   int y = 0;
   klee_make_symbolic(&x, sizeof(x), "x");
-  klee_make_symbolic(&y, sizeof(x), "y");
+  klee_make_symbolic(&y, sizeof(y), NULL);
 
   klee_assume(x == 1);
   klee_assume(y == 128);