Skip to content

Incremental unwinding of one specified loop -- rebase #5217

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 20 commits into from
Feb 11, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
c6ee001
Allow disabling optimized assertion conversion
peterschrammel Feb 9, 2019
d303856
Hidden field is used for hiding in trace
peterschrammel Feb 9, 2019
2b69678
Allow symex to temporarily ignore assertions
peterschrammel Feb 3, 2019
b2925a9
Allow symex_target_equationt to separately convert assertions
peterschrammel Feb 3, 2019
96bf769
Use only remaining properties in property decider
peterschrammel Feb 9, 2019
73941a5
Add callback to decide on interrupting goto-symex
peterschrammel Feb 9, 2019
3ef378d
Add symex BMC incremental one loop
peterschrammel Feb 9, 2019
1f5c582
Add single-loop incremental symex checker
peterschrammel Feb 2, 2019
fb3674b
Add options for incremental one-loop BMC
peterschrammel Feb 3, 2019
6fe6359
Add --incremental-loop to CBMC
peterschrammel Feb 3, 2019
85b0e82
Fix quoting in test command
peterschrammel Feb 9, 2019
666606c
Make sure output buffers are flushed before writing exit code
peterschrammel Mar 10, 2019
772084f
Clean up cbmc-incr-oneloop tests
peterschrammel Feb 9, 2019
732814c
Set induction tests to FUTURE
peterschrammel Feb 10, 2019
dfbc0d4
Clang-format cbmc-incr-oneloop tests
peterschrammel Feb 10, 2019
8fb9cd3
Ignore properties before unwind min
peterschrammel Feb 10, 2019
07e3177
Add documentation and refactor incremental one loop changes
petr-bauch Jan 30, 2020
39c5ac8
Add tests for traces in one-loop checker
petr-bauch Feb 4, 2020
eebfcd9
Fix ignoring properties before unwind min (off-by-one)
petr-bauch Feb 5, 2020
ca7dc8c
Add missing newline symbol
petr-bauch Feb 7, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion regression/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ set(test_pl_path "${CMAKE_CURRENT_SOURCE_DIR}/test.pl")
macro(add_test_pl_profile name cmdline flag profile)
add_test(
NAME "${name}-${profile}"
COMMAND ${test_pl_path} -e -p -c ${cmdline} ${flag} ${ARGN}
COMMAND ${test_pl_path} -e -p -c "${cmdline}" ${flag} ${ARGN}
WORKING_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}"
)
set_tests_properties("${name}-${profile}" PROPERTIES
Expand Down Expand Up @@ -31,6 +31,7 @@ add_subdirectory(goto-instrument)
add_subdirectory(cpp)
add_subdirectory(cbmc-concurrency)
add_subdirectory(cbmc-cover)
add_subdirectory(cbmc-incr-oneloop)
add_subdirectory(goto-instrument-typedef)
add_subdirectory(smt2_solver)
add_subdirectory(smt2_strings)
Expand Down
1 change: 1 addition & 0 deletions regression/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ DIRS = cbmc \
cpp \
cbmc-concurrency \
cbmc-cover \
cbmc-incr-oneloop \
goto-instrument-typedef \
smt2_solver \
smt2_strings \
Expand Down
3 changes: 3 additions & 0 deletions regression/cbmc-incr-oneloop/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
add_test_pl_tests(
"perl -e 'alarm shift @ARGV; exec @ARGV' 8 $<TARGET_FILE:cbmc> --slice-formula"
)
5 changes: 3 additions & 2 deletions regression/cbmc-incr-oneloop/Makefile
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
default: tests.log

# Note the `perl -e` serves the purpose of providing timeout
test:
@../test.pl -c "perl -e 'alarm shift @ARGV; exec @ARGV' 30 ../../../src/cbmc/cbmc --slice-formula"
@../test.pl -c "perl -e 'alarm shift @ARGV; exec @ARGV' 8 ../../../src/cbmc/cbmc --slice-formula"

tests.log: ../test.pl
@../test.pl -c "perl -e 'alarm shift @ARGV; exec @ARGV' 30 ../../../src/cbmc/cbmc --slice-formula"
@../test.pl -c "perl -e 'alarm shift @ARGV; exec @ARGV' 8 ../../../src/cbmc/cbmc --slice-formula"

show:
@for dir in *; do \
Expand Down
Loading