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
7b761861
Commit
7b761861
authored
3 years ago
by
David Bühler
Browse files
Options
Downloads
Patches
Plain Diff
[Eva] Results: minor simplification.
parent
bdc04dc4
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/value/utils/results.ml
+4
-8
4 additions, 8 deletions
src/plugins/value/utils/results.ml
with
4 additions
and
8 deletions
src/plugins/value/utils/results.ml
+
4
−
8
View file @
7b761861
...
...
@@ -381,7 +381,7 @@ struct
assert
(
Int_Base
.
equal
loc2
.
size
size
);
make_loc
loc
size
and
extract
loc
=
loc
>>>-:
get
>>>-:
Precise_locs
.
imprecise_location
loc
>>>-:
get
>>>-:
Precise_locs
.
imprecise_location
in
extract_loc
res
|>
fst
|>
Response
.
map_join'
extract
join
|>
convert
...
...
@@ -429,14 +429,10 @@ struct
match
r
with
|
`Bottom
|
`Top
->
[]
|
`Value
alarmset
->
let
open
Alarmset
in
let
l
=
ref
[]
in
let
add
alarm
=
function
|
True
->
()
|
False
|
Unknown
->
l
:=
alarm
::
!
l
let
add
alarm
status
acc
=
if
status
<>
Alarmset
.
True
then
alarm
::
acc
else
acc
in
Alarmset
.
iter
add
alarmset
;
!
l
Alarmset
.
fold
add
[]
alarmset
let
is_bottom
:
type
a
c
.
(
a
,
c
)
evaluation
->
bool
=
fun
res
->
...
...
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