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
df8f7447
Commit
df8f7447
authored
3 years ago
by
Valentin Perrelle
Committed by
David Bühler
3 years ago
Browse files
Options
Downloads
Patches
Plain Diff
[Eva] Use binding operator
parent
bc2bd27d
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/value/partitioning/partition.ml
+3
-3
3 additions, 3 deletions
src/plugins/value/partitioning/partition.ml
with
3 additions
and
3 deletions
src/plugins/value/partitioning/partition.ml
+
3
−
3
View file @
df8f7447
...
@@ -412,7 +412,7 @@ struct
...
@@ -412,7 +412,7 @@ struct
let
build
i
acc
=
let
build
i
acc
=
let
value
=
Abstract
.
Val
.
inject_int
(
Cil
.
typeOf
exp
)
i
in
let
value
=
Abstract
.
Val
.
inject_int
(
Cil
.
typeOf
exp
)
i
in
let
state
=
let
state
=
Abstract
.
Eval
.
assume
~
valuation
state
exp
value
>>-
fun
valuation
->
let
*
valuation
=
Abstract
.
Eval
.
assume
~
valuation
state
exp
value
in
(* Check the reduction *)
(* Check the reduction *)
Abstract
.
Dom
.
update
(
Abstract
.
Eval
.
to_domain_valuation
valuation
)
state
Abstract
.
Dom
.
update
(
Abstract
.
Eval
.
to_domain_valuation
valuation
)
state
in
in
...
@@ -472,8 +472,8 @@ struct
...
@@ -472,8 +472,8 @@ struct
in
in
let
source
=
fst
(
predicate
.
Cil_types
.
pred_loc
)
in
let
source
=
fst
(
predicate
.
Cil_types
.
pred_loc
)
in
let
aux
positive
=
let
aux
positive
=
Abstract
.
Dom
.
reduce_by_predicate
env
state
predicate
positive
let
+
state'
=
>>-:
fun
state'
->
Abstract
.
Dom
.
reduce_by_predicate
env
state
predicate
positive
in
let
x
=
Abstract
.
Dom
.
evaluate_predicate
env
state'
predicate
in
let
x
=
Abstract
.
Dom
.
evaluate_predicate
env
state'
predicate
in
if
x
==
Unknown
if
x
==
Unknown
then
then
...
...
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