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
67470c7b
Commit
67470c7b
authored
3 years ago
by
David Bühler
Browse files
Options
Downloads
Patches
Plain Diff
[Eva] Fixes a possible crash when reporting red statuses.
parent
ab0d080e
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/utils/red_statuses.ml
+2
-1
2 additions, 1 deletion
src/plugins/value/utils/red_statuses.ml
with
2 additions
and
1 deletion
src/plugins/value/utils/red_statuses.ml
+
2
−
1
View file @
67470c7b
...
@@ -147,7 +147,8 @@ let compute_information (kinstr, alarm_or_prop, contexts) =
...
@@ -147,7 +147,8 @@ let compute_information (kinstr, alarm_or_prop, contexts) =
match
alarm_or_prop
with
match
alarm_or_prop
with
|
Alarm
alarm
->
|
Alarm
alarm
->
let
kf
,
stmt
=
kinstr_to_stmt
kinstr
in
let
kf
,
stmt
=
kinstr_to_stmt
kinstr
in
let
code_annot
,
_
=
Alarms
.
to_annot
kinstr
alarm
in
let
loc
=
Cil_datatype
.
Stmt
.
loc
stmt
in
let
code_annot
,
_
=
Alarms
.
to_annot
kinstr
~
loc
alarm
in
let
property
=
Property
.
ip_of_code_annot_single
kf
stmt
code_annot
in
let
property
=
Property
.
ip_of_code_annot_single
kf
stmt
code_annot
in
kf
,
property
,
true
kf
,
property
,
true
|
Prop
ip
->
kf_of_property
ip
,
ip
,
false
|
Prop
ip
->
kf_of_property
ip
,
ip
,
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