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
43bd8326
Commit
43bd8326
authored
8 years ago
by
Julien Signoles
Committed by
Kostyantyn Vorobyov
8 years ago
Browse files
Options
Downloads
Patches
Plain Diff
apply Project.on more carefully
parent
5b21aefc
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/e-acsl/visit.ml
+10
-11
10 additions, 11 deletions
src/plugins/e-acsl/visit.ml
with
10 additions
and
11 deletions
src/plugins/e-acsl/visit.ml
+
10
−
11
View file @
43bd8326
...
@@ -635,17 +635,16 @@ you must call function `__e_acsl_memory_init` by yourself.@]";
...
@@ -635,17 +635,16 @@ you must call function `__e_acsl_memory_init` by yourself.@]";
if
not
(
may_safely_ignore
assigned_lv
)
&&
if
not
(
may_safely_ignore
assigned_lv
)
&&
Mmodel_analysis
.
must_model_lval
~
kf
~
stmt
checked_lv
Mmodel_analysis
.
must_model_lval
~
kf
~
stmt
checked_lv
then
then
(* must be in the new project to build a new stmt *)
let
new_stmt
=
Project
.
on
(* must be in the new project to build a new stmt *)
prj
Project
.
on
(
fun
()
->
prj
let
new_stmt
=
Misc
.
mk_debug_mmodel_stmt
Misc
.
mk_debug_mmodel_stmt
(
Misc
.
mk_initialize
loc
assigned_lv
)
(
Misc
.
mk_initialize
loc
assigned_lv
)
in
in
let
before
=
Cil
.
memo_stmt
self
#
behavior
stmt
in
let
before
=
Cil
.
memo_stmt
self
#
behavior
stmt
in
let
new_stmt
=
Cil
.
memo_stmt
self
#
behavior
new_stmt
in
let
new_stmt
=
Cil
.
memo_stmt
self
#
behavior
new_stmt
in
function_env
:=
Env
.
add_stmt
~
before
!
function_env
new_stmt
)
function_env
:=
Env
.
add_stmt
~
before
!
function_env
new_stmt
()
method
!
vinst
=
function
method
!
vinst
=
function
|
Set
(
old_lv
,
_
,
_
)
->
|
Set
(
old_lv
,
_
,
_
)
->
...
...
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