Skip to content

CBMC never finishes verification when using --floatbv and --smt2 #1944

Closed
@mikhailramalho

Description

@mikhailramalho

Hi all,

I'm trying to dump the SMT formula of programs with floating-points and I get the following output:

$ time cbmc round_nondet_true-unreach-call.c --floatbv --smt2
CBMC version 5.8 64-bit x86_64 linux
Parsing round_nondet_true-unreach-call.c
file <command-line> line 0: <command-line>:0:0: warning: "__STDC_VERSION__" redefined
<built-in>: note: this is the location of the previous definition
Converting
Type-checking round_nondet_true-unreach-call
Generating GOTO Program
Adding CPROVER library (x86_64)
file <command-line> line 0: <command-line>:0:0: warning: "__STDC_VERSION__" redefined
<built-in>: note: this is the location of the previous definition
file <command-line> line 0: <command-line>:0:0: warning: "__STDC_VERSION__" redefined
<built-in>: note: this is the location of the previous definition
Removal of function pointers and virtual functions
Generic Property Instrumentation
Running with 8 object bits, 56 offset bits (default)
Starting Bounded Model Checking
aborting path on assume(false) at file round_nondet_true-unreach-call.c line 6 function __VERIFIER_assert thread 0
aborting path on assume(false) at file round_nondet_true-unreach-call.c line 6 function __VERIFIER_assert thread 0
aborting path on assume(false) at file round_nondet_true-unreach-call.c line 6 function __VERIFIER_assert thread 0
size of program expression: 578 steps
simple slicing removed 7 assignments
Generated 3 VCC(s), 3 remaining after simplification
Generated 3 VCC(s), 3 remaining after simplification
Passing problem to SMT2 QF_AUFBV using Z3
converting SSA

It's running for a couple of days now.

No crash or high memory usage (~50MB).

It happens in the programs floats-esbmc-regression/nondet.c from SV-COMP.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions