diffblue / cprover-sv-comp Goto Github PK
View Code? Open in Web Editor NEWCPROVER wrappers and configuration for the Software Verification Competition (SV-COMP)
CPROVER wrappers and configuration for the Software Verification Competition (SV-COMP)
CBMC prints the values for __VERIFIER_nondet
in both its console logs and GraphML witnesses when an error path is found.
However, sometimes these values do not match.
Here is an example.
./cbmc --graphml-witness witness.graphml --propertyfile unreach-call.prp --64 cambridge.2.prop1-back-serstep.c > exe.log
The input and output files are also available here: example.zip
The values for input_149 = __VERIFIER_nondet_ushort()
at line 181 of the program in exe.log
and witness.graphml
mismatch, as shown by
$ grep "input_149=" exe.log
input_149=0 (00000000 00000000)
input_149=0 (00000000 00000000)
input_149=0 (00000000 00000000)
input_149=0 (00000000 00000000)
input_149=0 (00000000 00000000)
input_149=0 (00000000 00000000)
input_149=0 (00000000 00000000)
input_149=0 (00000000 00000000)
input_149=65535 (11111111 11111111)
input_149=65535 (11111111 11111111)
input_149=65535 (11111111 11111111)
$ grep -A 2 '<data key="startline">181</data>' witness.graphml
<data key="startline">181</data>
<data key="threadId">0</data>
<data key="assumption">\result = 0;</data>
--
<data key="startline">181</data>
<data key="threadId">0</data>
<data key="assumption">\result = 0;</data>
--
<data key="startline">181</data>
<data key="threadId">0</data>
<data key="assumption">\result = 0;</data>
--
<data key="startline">181</data>
<data key="threadId">0</data>
<data key="assumption">\result = 0;</data>
--
<data key="startline">181</data>
<data key="threadId">0</data>
<data key="assumption">\result = 0;</data>
--
<data key="startline">181</data>
<data key="threadId">0</data>
<data key="assumption">\result = 0;</data>
--
<data key="startline">181</data>
<data key="threadId">0</data>
<data key="assumption">\result = 0;</data>
--
<data key="startline">181</data>
<data key="threadId">0</data>
<data key="assumption">\result = 0;</data>
--
<data key="startline">181</data>
<data key="threadId">0</data>
<data key="assumption">\result = 0;</data>
--
<data key="startline">181</data>
<data key="threadId">0</data>
<data key="assumption">\result = 0;</data>
--
<data key="startline">181</data>
<data key="threadId">0</data>
<data key="assumption">\result = 0;</data>
Both files contain 11 occurrences of input_149
.
However, the values are different in the last 3 loop iterations (65535 vs. 0).
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.