-
Notifications
You must be signed in to change notification settings - Fork 277
New option --mmio-regions to specify memory regions #6747
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
base: develop
Are you sure you want to change the base?
Conversation
Is that a 'check' or an 'instrumentation'? |
Codecov Report
@@ Coverage Diff @@
## develop #6747 +/- ##
=========================================
Coverage 77.81% 77.82%
=========================================
Files 1570 1569 -1
Lines 180682 180565 -117
=========================================
- Hits 140601 140522 -79
+ Misses 40081 40043 -38
Continue to review full report at Codecov.
|
It affects what checks are generated (instrumented?). |
The test goes as follows: how would the flow with goto-cc look like? |
I see two possible approaches we could take, with the current PR implementing the first variant, but we could also go for option 2 (or any other approach that I might not be aware of at this time):
|
This new option will enable us to eventually drop support for __CPROVER_allocated_memory, which 1) requires awkward scanning of goto functions in goto_check_c, 2) wrongly suggests these declarations are limited to some scope, and 3) yields a spurious undefined-function warning in symex.
ac2eaf3
to
fafe18a
Compare
If "2" seems more like the the right thing to do, then let's do the right thing rather than the easy thing. |
Can we make sure this PR also adds documentation to the user manual about the behaviour of MMIO? |
Documentation here: #7157 |
@kroening - now that we have the requested documentation can we have approval for this PR? |
CBMC should not get new options that change the model. Modeling should be done in |
@tautschnig As a PR (#6748) depending on this is marked |
This new option will enable us to eventually drop support for
__CPROVER_allocated_memory, which