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
5d461160
Commit
5d461160
authored
3 years ago
by
David Bühler
Browse files
Options
Downloads
Patches
Plain Diff
[Eva] Fixes abstract_memory with respect to the new hptmap signature.
parent
3c15d950
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/kernel_services/abstract_interp/abstract_memory.ml
+7
-4
7 additions, 4 deletions
src/kernel_services/abstract_interp/abstract_memory.ml
with
7 additions
and
4 deletions
src/kernel_services/abstract_interp/abstract_memory.ml
+
7
−
4
View file @
5d461160
...
@@ -167,16 +167,19 @@ struct
...
@@ -167,16 +167,19 @@ struct
module
Prototype
(
module
Prototype
(
FieldMap
:
FieldMap
:
sig
sig
type
t
type
'
a
map
type
v
=
t
memory
and
t
=
v
map
include
Hptmap_sig
.
S
include
Hptmap_sig
.
S
with
type
t
:=
t
with
type
'
a
map
:=
'
a
map
and
type
key
=
Cil_types
.
fieldinfo
and
type
key
=
Cil_types
.
fieldinfo
and
type
v
=
t
memory
and
type
v
:=
v
and
type
t
:=
v
map
end
)
=
end
)
=
struct
struct
type
t
=
FieldMap
.
t
memory
type
t
=
FieldMap
.
t
memory
let
rec
pretty
fmt
=
let
rec
pretty
fmt
:
t
->
'
a
=
let
rec
leading_indexes
acc
=
function
let
rec
leading_indexes
acc
=
function
|
Array
a
->
leading_indexes
(
a
.
array_range
::
acc
)
a
.
array_value
|
Array
a
->
leading_indexes
(
a
.
array_range
::
acc
)
a
.
array_value
|
(
Raw
_
|
Scalar
_
|
Struct
_
|
Union
_
)
as
m
->
List
.
rev
acc
,
m
|
(
Raw
_
|
Scalar
_
|
Struct
_
|
Union
_
)
as
m
->
List
.
rev
acc
,
m
...
...
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