Skip to content

SVCOMP-benchmark incorrect (valid-deref) #3427

Closed
@xbauch

Description

@xbauch

Reporting on one SVCOMP benchmarks that were working in previous versions (5.8) but CBMC give incorrect result now. The benchmark code is here:

https://github.com/sosy-lab/sv-benchmarks/blob/master/c/memsafety/test-0521_true-valid-memsafety.c

CBMC version: 5.10
Operating system: 64-bit linux
Exact command line resulting in the issue: ./cbmc --graphml-witness witness.graphml --32 --propertyfile ../sv-benchmarks/c/MemSafety.prp ../sv-benchmarks/c/memsafety/test-0521_true-valid-memsafety.i
What behaviour did you expect:

VERIFICATION SUCCESSFUL
EC=42
UNKNOWN

What happened instead:

Violated property:
file ../sv-benchmarks/c/memsafety/test-0521_true-valid-memsafety.i line 715 function main
dereference failure: dead object in *pdst
!(POINTER_OBJECT(pdst) == POINTER_OBJECT(__CPROVER_dead_object))

VERIFICATION FAILED
EC=10
FALSE(valid-deref)

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