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
734e2c69
Commit
734e2c69
authored
1 year ago
by
David Bühler
Browse files
Options
Downloads
Patches
Plain Diff
[Eva] Uses name Context instead of Ctx in the equality domain.
parent
4d09870e
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/plugins/eva/domains/equality/equality_domain.ml
+5
-4
5 additions, 4 deletions
src/plugins/eva/domains/equality/equality_domain.ml
src/plugins/eva/domains/equality/equality_domain.mli
+5
-9
5 additions, 9 deletions
src/plugins/eva/domains/equality/equality_domain.mli
with
10 additions
and
13 deletions
src/plugins/eva/domains/equality/equality_domain.ml
+
5
−
4
View file @
734e2c69
...
...
@@ -127,7 +127,7 @@ module Internal = struct
let
pretty
fmt
(
eqs
,
_
,
_
)
=
Equality
.
Set
.
pretty
fmt
eqs
let
pretty_debug
fmt
(
eqs
,
deps
,
modified
)
=
let
_
pretty_debug
fmt
(
eqs
,
deps
,
modified
)
=
Format
.
fprintf
fmt
"@[<v>@[<hov 2>Eqs: %a@]@.@[<hov 2>Deps: %a@]@.@[<hov 2>Changed: %a@]@]"
Equality
.
Set
.
pretty
eqs
Deps
.
pretty
deps
...
...
@@ -179,19 +179,20 @@ let project (t, _, _) = t
module
type
Context
=
Abstract
.
Context
.
External
module
type
Value
=
Abstract
.
Value
.
External
module
Make
(
Ctx
:
Context
)
(
Value
:
Value
with
type
context
=
Ctx
.
t
)
=
struct
module
Make
(
Context
:
Context
)
(
Value
:
Value
with
type
context
=
Context
.
t
)
=
struct
include
Internal
include
Store
let
get_cvalue
=
Value
.
get
Main_values
.
CVal
.
key
type
context
=
Ct
x
.
t
type
context
=
C
ontex
t
.
t
type
value
=
Value
.
t
type
location
=
Precise_locs
.
precise_location
type
origin
let
return_context
_
=
`Value
Ct
x
.
top
let
return_context
_
=
`Value
C
ontex
t
.
top
let
reduce_further
(
equalities
,
_
,
_
)
expr
value
=
let
atom
=
HCE
.
of_exp
expr
in
...
...
This diff is collapsed.
Click to expand it.
src/plugins/eva/domains/equality/equality_domain.mli
+
5
−
9
View file @
734e2c69
...
...
@@ -38,14 +38,10 @@ val project: t -> Equality.Set.t
module
type
Context
=
Abstract
.
Context
.
External
module
type
Value
=
Abstract
.
Value
.
External
module
Make
(
Ctx
:
Context
)
(
Value
:
Value
with
type
context
=
Ctx
.
t
)
:
sig
include
Abstract_domain
.
S
with
type
context
=
Ctx
.
t
and
type
value
=
Value
.
t
and
type
location
=
Precise_locs
.
precise_location
and
type
state
=
t
val
pretty_debug
:
Format
.
formatter
->
t
->
unit
end
module
Make
(
Context
:
Context
)
(
Value
:
Value
with
type
context
=
Context
.
t
)
:
Abstract_domain
.
S
with
type
context
=
Context
.
t
and
type
value
=
Value
.
t
and
type
location
=
Precise_locs
.
precise_location
and
type
state
=
t
val
registered
:
Abstractions
.
Domain
.
registered
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