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
76fcf7f9
Commit
76fcf7f9
authored
1 year ago
by
David Bühler
Browse files
Options
Downloads
Patches
Plain Diff
[Eva] Abstractions.ml: minor change.
parent
7b8add68
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/plugins/eva/engine/abstractions.ml
+3
-3
3 additions, 3 deletions
src/plugins/eva/engine/abstractions.ml
src/plugins/eva/engine/abstractions.mli
+3
-3
3 additions, 3 deletions
src/plugins/eva/engine/abstractions.mli
with
6 additions
and
6 deletions
src/plugins/eva/engine/abstractions.ml
+
3
−
3
View file @
76fcf7f9
...
...
@@ -765,18 +765,18 @@ module Domain = struct
let
build
domains
=
(* Build the contexts *)
let
interactive_ctx
c
=
Context
.(
make_interactive
c
|>
assert_not_unit
)
in
let
contexts
=
List
.
fold_left
add_contexts
Context
.
init
domains
in
let
interactive_ctx
c
=
Context
.(
make_interactive
c
|>
assert_not_unit
)
in
let
module
Contexts
=
(
val
interactive_ctx
contexts
)
in
(* Build the values *)
let
init_values
=
Value
.
init
(
module
Contexts
)
in
let
interactive_value
v
=
Value
.(
make_interactive
v
|>
assert_not_unit
)
in
let
values
=
List
.
fold_left
add_values
init_values
domains
in
let
interactive_value
v
=
Value
.(
make_interactive
v
|>
assert_not_unit
)
in
let
module
Values
=
(
val
interactive_value
values
)
in
(* Build the locations *)
let
init_locations
=
Location
.
init
(
module
Values
)
in
let
interactive_loc
l
=
Location
.(
make_interactive
l
|>
assert_not_unit
)
in
let
locations
=
List
.
fold_left
add_locations
init_locations
domains
in
let
interactive_loc
l
=
Location
.(
make_interactive
l
|>
assert_not_unit
)
in
let
module
Locs
=
(
val
interactive_loc
locations
)
in
(* Build the domains *)
let
init_domain
=
init
(
module
Contexts
)
(
module
Values
)
(
module
Locs
)
in
...
...
This diff is collapsed.
Click to expand it.
src/plugins/eva/engine/abstractions.mli
+
3
−
3
View file @
76fcf7f9
...
...
@@ -24,9 +24,6 @@
module
Domain
:
sig
module
type
Context
=
Abstract
.
Context
.
External
module
type
Value
=
Abstract
.
Value
.
External
(** Witness of the registration of an abstract domain, it can be used to
programmatically enable the domain. *)
type
registered
...
...
@@ -52,6 +49,9 @@ module Domain : sig
name
:
string
->
descr
:
string
->
?
experimental
:
bool
->
?
priority
:
int
->
(
unit
->
(
module
Abstract_domain
.
Leaf
))
->
unit
module
type
Context
=
Abstract
.
Context
.
External
module
type
Value
=
Abstract
.
Value
.
External
(** Functor domain which can be built over any value abstractions, but with
fixed locations dependencies. *)
module
type
Functor
=
sig
...
...
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