Open ArpitaDutta opened 4 months ago
If you want to use z3, I would suggest using it via the SMT interface. I think z3 has a DIMACS interface but it's a bit of a strange way to use it.
Try using
cbmc --incremental-smt2-solver 'z3 --smt2 -in' yourfile.c
or
cbmc --smt2 yourfile.c
CBMC version: 5.80.0 (cbmc-5.80.0) Operating system:Ubuntu 16.04 Exact command line resulting in the issue: cbmc undCBMCSmall.c --external-sat-solver z3 What behaviour did you expect: VERIFICATION SUCCESSFUL What happened instead: VERIFICATION ERROR
For the following program, I am getting
VERIFICATION ERROR
whereas the bug is unreachable in the program.Output obtained: