Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
frama-c
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
pub
frama-c
Commits
65312ded
Commit
65312ded
authored
3 years ago
by
François Bobot
Browse files
Options
Downloads
Patches
Plain Diff
[WP] Side step mis-documentation in Why3 by always setting a memlimit
parent
0d437d3f
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/plugins/wp/ProverWhy3.ml
+3
-2
3 additions, 2 deletions
src/plugins/wp/ProverWhy3.ml
with
3 additions
and
2 deletions
src/plugins/wp/ProverWhy3.ml
+
3
−
2
View file @
65312ded
...
...
@@ -1249,10 +1249,11 @@ let digest wpo drv prover task =
let
batch
pconf
driver
?
script
~
timeout
~
steplimit
prover
task
=
let
steps
=
match
steplimit
with
Some
0
->
None
|
_
->
steplimit
in
let
limit
=
let
memlimit
=
Why3
.
Whyconf
.
memlimit
(
Why3
.
Whyconf
.
get_main
(
Why3Provers
.
config
()
))
in
let
def
=
Why3
.
Call_provers
.
empty_limit
in
{
def
with
Why3
.
Call_provers
.
limit_time
=
Why3
.
Opt
.
get_def
def
.
limit_time
timeout
;
{
Why3
.
Call_provers
.
limit_time
=
Why3
.
Opt
.
get_def
def
.
limit_time
timeout
;
Why3
.
Call_provers
.
limit_steps
=
Why3
.
Opt
.
get_def
def
.
limit_time
steps
;
Why3
.
Call_provers
.
limit_mem
=
memlimit
;
}
in
let
with_steps
=
match
steps
,
pconf
.
Why3
.
Whyconf
.
command_steps
with
|
None
,
_
->
false
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment