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
Snippets
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
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
Charles Southerland
frama-c
Commits
0df0c707
Commit
0df0c707
authored
4 years ago
by
David Bühler
Browse files
Options
Downloads
Patches
Plain Diff
[Eva] Fixes a crash in the subdivision of evaluations.
parent
54a79c73
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/engine/subdivided_evaluation.ml
+3
-1
3 additions, 1 deletion
src/plugins/value/engine/subdivided_evaluation.ml
with
3 additions
and
1 deletion
src/plugins/value/engine/subdivided_evaluation.ml
+
3
−
1
View file @
0df0c707
...
...
@@ -231,7 +231,9 @@ let compare_bound ival_compare_bound v1 v2 =
let
f1
=
Cvalue
.
V
.
project_ival
v1
in
let
f2
=
Cvalue
.
V
.
project_ival
v2
in
ival_compare_bound
f1
f2
with
Cvalue
.
V
.
Not_based_on_null
->
assert
false
(* Cannot compare pointers. This case can however happens on subdivisions
of a pointer subexpression to reduce a bigger numeric expression. *)
with
Cvalue
.
V
.
Not_based_on_null
->
0
let
has_greater_min_bound
=
compare_bound
Ival
.
has_greater_min_bound
let
has_smaller_max_bound
=
compare_bound
Ival
.
has_smaller_max_bound
...
...
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