Module Api.Slice

module Slice: sig .. end

Slice

Slice


type t = SlicingTypes.sl_fct_slice 
val dyn_t : t Type.t

Functions with journalized side effects

val create : Cil_types.kernel_function -> t
val remove : t -> unit
val remove_uncalled : unit -> unit

No needs of Journalization

val get_all : Cil_types.kernel_function -> t list
val get_function : t -> Cil_types.kernel_function
val get_callers : t -> t list
val get_called_slice : t -> Cil_types.stmt -> t option
val get_called_funcs : t -> Cil_types.stmt -> Cil_types.kernel_function list
val get_mark_from_stmt : t -> Cil_types.stmt -> Api.Mark.t
val get_mark_from_label : t -> Cil_types.stmt -> Cil_types.label -> Api.Mark.t
val get_mark_from_local_var : t -> Cil_types.varinfo -> Api.Mark.t
val get_mark_from_formal : t -> Cil_datatype.Varinfo.t -> Api.Mark.t
val get_user_mark_from_inputs : t -> Api.Mark.t
val get_num_id : t -> int
val from_num_id : Cil_types.kernel_function -> int -> t

Debug

val pretty : Stdlib.Format.formatter -> t -> unit