Comments (2)
IIRC the incremental mode works with MiniSAT because the SMT back-end is very much one-shot. The work that @thomasspriggs was doing on the new SMT back-end would resolve that in the longer term.
from cbmc.
Looks like this should work with the new incremental SMT back end with a few minor fixes -
- Some command line argument / option fixing to ensure the correct decision procedure is used. The "refine" option causes a SAT based
bv_refinementt
to be used insolver_factory.cpp
even when an SMT solver is specified. I think "refine" and SMT options should probably be considered to be mutually exclusive and hence generate a usage error. The current behaviour is to ignore the SMT argument as outlined in this issue. - The
--incremental-loop
argument incbmc_parse_options.cpp
automatically switches on therefine
andrefine-arrays
options. This doesn't necessarily seem to be desirable behaviour; particularly given the aforementioned incompatibilities. - The
single_loop_incremental_symex_checkert
currently uses thepush()
andpop()
interface of the decision procedure. A minor change to implement this in the new SMT decision procedure is required. As incremental solving is supported along withpush
andpop
in the AST the implementation is trivial -
void smt2_incremental_decision_proceduret::push()
{
solver_process->send(smt_push_commandt{1});
}
void smt2_incremental_decision_proceduret::pop()
{
solver_process->send(smt_pop_commandt{1});
}
from cbmc.
Related Issues (20)
- Unwind Issue: How to make a loop inductive? HOT 49
- aarch64: error: incompatible type for argument 1 of '__CPROVER_OBJECT_SIZE HOT 1
- goto-cc 6.0.0 fails compilation of s2n-tls unit on Linux, but works on macOS HOT 10
- Simple error message if --smt2 set and no Z3 on PATH HOT 1
- Non-termination of CBMC on use of size_t as type of a quantified variable HOT 14
- Simple modular reasoning example with contracts fails HOT 9
- List of C/C++ Compiler Support HOT 1
- centos compile cbmc 6.0.1 failed HOT 6
- Model loop invariant with __CPROVER_loop_entry and __CPROVER_loop_old HOT 4
- Multiplication of complex number is modelled incorrectly HOT 1
- Bitwuzla reports error on simple function verification HOT 1
- Run CBMC regression tests with Bitwuzla HOT 1
- Big performance regression of cbmc --cover in 6.0.1 HOT 7
- goto-instrument for k-induction fails invariant check on SV-COMP style single loop reachability problem
- [QUESTION] The Function of CBMC HOT 1
- Better side-effect checks for loop contracts
- Mal-formed SMT2 generated for Bitwuzla HOT 2
- Conflicting solver selection should make CBMC fail
- Symbol Table Error When Using "--race-check" in goto-instrument with CBMC for Global Array
- [QUESTION] Variables for Control Flow Trace Debugging
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cbmc.