diff options
author | Cristian Cadar <c.cadar@imperial.ac.uk> | 2023-11-08 18:18:47 +0000 |
---|---|---|
committer | MartinNowack <2443641+MartinNowack@users.noreply.github.com> | 2024-01-30 17:30:11 +0000 |
commit | 513de049a419f550198da0d96e9442579c09239c (patch) | |
tree | a6e4a974339bdd11aa280551bf304c168f8db3a0 /test | |
parent | 4e99f8f1c7a336d83168ceb07b576a63b838cb2e (diff) | |
download | klee-513de049a419f550198da0d96e9442579c09239c.tar.gz |
Removed --zero-seed-extension, and merge it with --allow-seed-extension. This reworked logic also fixes a buffer overflow which could be triggered during seed extension.
Diffstat (limited to 'test')
-rw-r--r-- | test/Feature/SeedConcretizeExtendFP.c (renamed from test/Feature/SeedConcretizePatchedFP.c) | 2 | ||||
-rw-r--r-- | test/Runtime/POSIX/SeedAndFail.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/test/Feature/SeedConcretizePatchedFP.c b/test/Feature/SeedConcretizeExtendFP.c index b8b758b5..6a8de589 100644 --- a/test/Feature/SeedConcretizePatchedFP.c +++ b/test/Feature/SeedConcretizeExtendFP.c @@ -7,7 +7,7 @@ // RUN: not test -f %t.klee-out/test000002.ktest // RUN: rm -rf %t.klee-out-2 -// RUN: %klee --exit-on-error --output-dir=%t.klee-out-2 --seed-file %t.klee-out/test000001.ktest --allow-seed-extension --zero-seed-extension %t.bc 2>&1 | FileCheck %s +// RUN: %klee --exit-on-error --output-dir=%t.klee-out-2 --seed-file %t.klee-out/test000001.ktest --allow-seed-extension %t.bc 2>&1 | FileCheck %s #include "klee/klee.h" diff --git a/test/Runtime/POSIX/SeedAndFail.c b/test/Runtime/POSIX/SeedAndFail.c index c9ef0168..b39a8bd5 100644 --- a/test/Runtime/POSIX/SeedAndFail.c +++ b/test/Runtime/POSIX/SeedAndFail.c @@ -2,7 +2,7 @@ // RUN: rm -rf %t.klee-out // RUN: %klee --output-dir=%t.klee-out --libc=uclibc --posix-runtime %t.bc --sym-files 1 10 2>%t.log // RUN: rm -rf %t.klee-out-2 -// RUN: %klee --output-dir=%t.klee-out-2 --seed-dir=%t.klee-out --zero-seed-extension --libc=uclibc --posix-runtime %t.bc --sym-files 1 10 --max-fail 1 +// RUN: %klee --output-dir=%t.klee-out-2 --seed-dir=%t.klee-out --allow-seed-extension --libc=uclibc --posix-runtime %t.bc --sym-files 1 10 --max-fail 1 // RUN: ls %t.klee-out-2 | grep -c assert | grep 4 #include <string.h> |