Frama-C API - Context
include Abstract_context.S
val top : tThe default context used in a top abstract state, or if no domain has been enabled — or no domain providing this context.
val narrow : t -> t -> t Eval.or_bottomIn a product of abstract domains, merges the context provided by the abstract state of each domain.
val structure : t Eva__.Abstract.Context.structureval get : 'a Eva__.Structure.Key_Context.key -> (t -> 'a) optionFor a key of type k key:
- if the values of type
tcontain a subpart of typekfrom a module identified by the key, thenget keyreturns an accessor for it. - otherwise,
get keyreturns None.
For a key of type k key:
- if the values of type
tcontain a subpart of typekfrom a module identified by the key, thenset key v treturns the valuetin which this subpart has been replaced byv. - otherwise,
set key _is the identity function.
Iterators on the components of a structure.
type polymorphic_iter_fun = {iter : 'a. 'a Eva__.Structure.Key_Context.key -> (module Abstract_context.S with type t = 'a) -> 'a -> unit;
}val iter : polymorphic_iter_fun -> t -> unittype 'b polymorphic_fold_fun = {fold : 'a. 'a Eva__.Structure.Key_Context.key -> (module Abstract_context.S with type t = 'a) -> 'a -> 'b -> 'b;
}val fold : 'b polymorphic_fold_fun -> t -> 'b -> 'btype polymorphic_map_fun = {map : 'a. 'a Eva__.Structure.Key_Context.key -> (module Abstract_context.S with type t = 'a) -> 'a -> 'a;
}val map : polymorphic_map_fun -> t -> t