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
c2eecb04
Commit
c2eecb04
authored
4 years ago
by
Loïc Correnson
Browse files
Options
Downloads
Patches
Plain Diff
[wp] revert formals allocation in pre
parent
3150f058
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/plugins/wp/cfgCalculus.ml
+4
-3
4 additions, 3 deletions
src/plugins/wp/cfgCalculus.ml
with
4 additions
and
3 deletions
src/plugins/wp/cfgCalculus.ml
+
4
−
3
View file @
c2eecb04
...
...
@@ -342,15 +342,16 @@ struct
let
requires_init
=
if
init
then
b
.
bhv_requires
else
[]
in
(* pre-state *)
W
.
label
env
.
we
None
Clabels
.
pre
@@
(* frame-in *)
W
.
scope
env
.
we
formals
SC_Frame_in
@@
(* pre-conditions *)
List
.
fold_right
(
use_property
env
)
(
default_requires
env
.
mode
kf
)
@@
List
.
fold_right
(
use_property
env
)
b
.
bhv_assumes
@@
List
.
fold_right
(
prove_property
env
)
requires_init
@@
List
.
fold_right
(
use_property
env
)
b
.
bhv_requires
@@
List
.
fold_right
(
prove_property
env
)
b
.
bhv_smokes
@@
List
.
fold_right
(
use_property
env
)
side_behaviors
w
List
.
fold_right
(
use_property
env
)
side_behaviors
@@
(* frame-in *)
W
.
scope
env
.
we
formals
SC_Frame_in
w
let
do_post
env
~
formals
(
b
:
CfgAnnot
.
behavior
)
w
=
W
.
scope
env
.
we
formals
SC_Frame_out
@@
...
...
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