Michael Tautschnig
be1cbf26cb
Move printf to C library and support return values
...
Code using var = printf(...); (printf does return a value!) previously
resulted in a failing invariant as the symex_assign code assumed the lhs
always was nil. Since symex does not know how to generate a proper
return value, make __CPROVER_printf a void-typed built-in and model
printf around it. Clean up the corresponding goto-convert code.
2019-05-21 16:06:56 +01:00
Michael Tautschnig
3037204ce3
Make overflow expressions available in C/C++ language front-ends
...
This enables testing for arithmetic overflow without generating an
arithmetic overflow.
2019-05-18 15:37:06 +01:00
Petr Bauch
35abeee663
Add User level documentation
...
to CPROVER manual.
2019-05-16 11:57:18 +01:00
Michael Tautschnig
5a2a09ede6
Permit selectively disabling generated assertions
...
Add support for `#pragma CPROVER check disable "<name_of_check>"` to
disable generating assertions for the statement(s) that follow the
pragma.
2019-05-03 20:43:43 +01:00
Michael Tautschnig
cd9b6ffe3a
API Reference: __CPROVER_initialize is not part of the API
...
While it is a function that we generate and internally make heavy use
of, it isn't usable in source code (unlike all other functions
documented in the API Reference).
2019-03-31 17:03:08 +01:00
Michael Tautschnig
c90ace3c4a
API Reference: remove string abstraction functions
...
These functions can only be used with --string-abstraction, which in
turn is unmaintained, untested, and actually broken. Do not suggest
these functions were available.
2019-03-31 17:03:08 +01:00
Daniel Kroening
8b3035f0f7
manual: markdown in jbmc manual
2019-03-23 15:13:02 +00:00
Daniel Kroening
a08649c710
manual: typo
2019-03-23 15:13:02 +00:00
Daniel Kroening
99d9f66405
manual: remove superflous dot
2019-03-23 15:13:02 +00:00
Daniel Kroening
e6f133523e
manual: end a sentence
2019-03-23 15:13:02 +00:00
Daniel Kroening
f10ab3089b
manual: remove unnecessary indentation
2019-03-23 15:13:02 +00:00
Daniel Kroening
3956d7597a
manual: fix formatting of cbmc output
2019-03-23 15:13:02 +00:00
Daniel Kroening
8b7bcb6fa9
manual: fix references
2019-03-23 15:13:02 +00:00
Daniel Kroening
fb3a7f50d0
manual: add return statement to file1.c
2019-03-23 13:44:49 +00:00
Daniel Kroening
d6032f10d1
manual: provide download for "file2.c"
2019-03-23 13:44:49 +00:00
Daniel Kroening
344a074719
manual: remove unneeded indentation
2019-03-23 13:43:03 +00:00
Daniel Kroening
25cfb65f1e
manual: fix highlighting of commands
2019-03-23 13:43:03 +00:00
Daniel Kroening
7d57062670
manual: fix references
2019-03-23 13:43:03 +00:00
Daniel Kroening
b321a4e906
manual: fix cbmc message
2019-03-23 13:43:03 +00:00
Daniel Kroening
d891335a2a
manual: fix reference to uninterpreted functions
2019-03-23 13:43:03 +00:00
Petr Bauch
fce288d0e9
Add cprover manual entry
...
Covering memory-snapshot harness, but not the memory analyzer.
2019-03-18 13:09:38 +00:00
Peter Schrammel
987a5688fa
Add missing modules to folder walkthrough
...
goto-checker and goto-harness have been added recently.
2019-03-10 11:01:41 +00:00
Fotis Koutoulakis
ac740d655a
Add documentation for nondet init of cstrings
2019-03-01 10:58:36 +00:00
Fotis Koutoulakis
0ea5c31e6e
Add goto-harness documentation to cprover-manual
...
This adds some user documentation to goto-harness. Currently only includes
documentation for the call-function harness, not the memory-snapshot harness
2019-02-27 17:17:58 +00:00
Michael Tautschnig
ef193de58e
Remove language_uit as it is no longer used
...
Use initialize_goto_model to obtain goto programs, don't run parse() etc.
directly.
2019-02-04 16:38:21 +00:00
Michael Tautschnig
e3b76c7477
Build coverage reports using CMake
...
Understanding which code is covered by our tests may in future enable automation
to check whether code modifications are covered by tests.
2019-01-15 12:56:15 +00:00
Daniel Kroening
d54d63b2a7
doc: times should have a value
2019-01-06 12:51:25 +00:00
Daniel Kroening
aaf272702b
doc: functions sum should return a value
2019-01-06 12:51:25 +00:00
Peter Schrammel
a4fe9b65e7
Merge pull request #3556 from peterschrammel/remove-old-cvc
...
Remove refs to obsolete solver modules
2018-12-12 13:20:00 +00:00
Peter Schrammel
aa6fdbf44d
Remove obsolete references to SMT1
2018-12-10 22:28:33 +00:00
Peter Schrammel
0a490a3945
Remove outdate references to CVC
2018-12-10 22:28:18 +00:00
Michael Tautschnig
fc2a86e8ce
Merge pull request #3542 from edstenson/review_goto_cc
...
Updated language use in goto-cc.md
2018-12-07 15:55:22 +00:00
Ed Stenson
3674908564
Updated language use in goto-cc.md
2018-12-07 11:27:20 +00:00
Daniel Kroening
76fb32baed
Merge pull request #3533 from edstenson/review_loop_unwinding
...
Updated language use in cbmc-unwinding.md
2018-12-07 08:29:59 +00:00
Daniel Kroening
9c9ebfb7d8
Merge pull request #3538 from edstenson/review_modeling_assumptions
...
Updated language use in modeling-assumptions.md
2018-12-06 20:24:58 +00:00
Daniel Kroening
958ac5f13e
Merge pull request #3543 from edstenson/review_visual_studio
...
Updated language use in visual-studio.md
2018-12-06 20:24:06 +00:00
Daniel Kroening
d666534549
Merge pull request #3539 from edstenson/review_modeling_pointers
...
Updated language use in modeling-pointers.md
2018-12-06 20:23:36 +00:00
Daniel Kroening
a3f8e597c0
Merge pull request #3535 from edstenson/review_test_suite
...
Updated language use in test-suite.md
2018-12-06 20:23:13 +00:00
Michael Tautschnig
713a71fdf4
Merge pull request #3541 from edstenson/review_modeling_floating_point
...
Updated language use in modeling-floating-point.md
2018-12-06 18:21:11 +00:00
Michael Tautschnig
3980efa25d
Merge pull request #3544 from edstenson/review_api
...
Updated language use in api.md
2018-12-06 18:20:19 +00:00
Ed Stenson
8fa508ae3d
Updated language use in api.md
2018-12-06 17:34:41 +00:00
Ed Stenson
3646fb8718
Updated language use in visual-studio.md
2018-12-06 17:29:10 +00:00
Ed Stenson
b94479d7be
Updated language use in modeling-floating-point.md
2018-12-06 16:16:51 +00:00
Michael Tautschnig
8648df3dca
Merge pull request #3537 from edstenson/review_nondeterminism
...
Updated language use in modeling-nondeterminism.md
2018-12-06 16:04:32 +00:00
Michael Tautschnig
09057ac941
Merge pull request #3536 from edstenson/review_properties
...
Updated language use in properties.md
2018-12-06 16:03:10 +00:00
Ed Stenson
80a8f704d8
Include Michael's suggested sentence in cbmc-unwinding.md
2018-12-06 15:57:12 +00:00
Ed Stenson
e0db27208b
Updated language use in modeling-pointers.md
2018-12-06 15:48:00 +00:00
Ed Stenson
534baefbd0
Updated language use in modeling-assumptions.md
2018-12-06 15:37:08 +00:00
Ed Stenson
ea45ab2cfb
Updated language use in properties.md
2018-12-06 15:20:20 +00:00
Ed Stenson
0b10c84b40
Updated language use in test-suite.md
2018-12-06 15:00:12 +00:00