Skip to content
Snippets Groups Projects
Commit b17d3375 authored by David Bühler's avatar David Bühler
Browse files

[Eva] api: Exports the key of the equality domain.

parent f089cd27
No related branches found
No related tags found
No related merge requests found
...@@ -123,9 +123,6 @@ module Internal = struct ...@@ -123,9 +123,6 @@ module Internal = struct
let log_category = dkey let log_category = dkey
type equalities = Equality.Set.t
let project (t, _, _) = t
let pretty fmt (eqs, _, _) = Equality.Set.pretty fmt eqs let pretty fmt (eqs, _, _) = Equality.Set.pretty fmt eqs
let pretty_debug fmt (eqs, deps, modified) = let pretty_debug fmt (eqs, deps, modified) =
...@@ -170,6 +167,10 @@ end ...@@ -170,6 +167,10 @@ end
module Store = Domain_builder.Complete (Internal) module Store = Domain_builder.Complete (Internal)
type t = Internal.t
let key = Store.key
let project (t, _, _) = t
(* ------------------------- Abstract Domain -------------------------------- *) (* ------------------------- Abstract Domain -------------------------------- *)
......
...@@ -31,12 +31,14 @@ type call_init_state = ...@@ -31,12 +31,14 @@ type call_init_state =
| ISEmpty (** completely empty state, without impact on Memexec. *) | ISEmpty (** completely empty state, without impact on Memexec. *)
type t
val key: t Abstract_domain.key
val project: t -> Equality.Set.t
module Make (Value : Abstract.Value.External) : sig module Make (Value : Abstract.Value.External) : sig
include Abstract_domain.Leaf with type value = Value.t include Abstract_domain.Leaf with type value = Value.t
and type location = Precise_locs.precise_location and type location = Precise_locs.precise_location
and type state = t
val pretty_debug : Format.formatter -> t -> unit val pretty_debug : Format.formatter -> t -> unit
type equalities
val project : t -> equalities
end end
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment