Frama-C API - Mt_summary
Summary of an Mthread analysis, used by server requests for the dedicated component in Ivette.
val compute : Mt_thread.analysis_state -> unitComputes the summary from an analysis state.
Summary for each thread.
type mutex_summary = {taken : Mutex.Set.t;(*Set of locks taken.
*)released : Mutex.Set.t;(*Set of locks released.
*)
}type queue_summary = {created : Mqueue.Set.t;(*Set of message queues created.
*)receivers : Mqueue.Set.t;(*Set of message queues receiving some message.
*)senders : Mqueue.Set.t;(*Set of message queues sending some messages.
*)
}module ThreadTable : Frama_c_kernel.State_builder.Hashtbl with type key = Thread.t and type data = thread_summaryTable binding each analyzed thread to its summary.
Summary of accesses to shared memory.
An access is a combination between a zone accessed, a kind of access (read, write) and a protection status.
val access_zone : access -> Frama_c_kernel.Locations.Zone.tMemory zone of an access.
val access_kind : access -> Mt_shared_vars_types.access_kindKind of an access: read or write.
val access_protection : access -> Mt_shared_vars_types.protectionMutex protection of an access.
val access_id : access -> stringUnique id of an access.
module AccessTable : Frama_c_kernel.State_builder.Hashtbl with type key = access and type data = Frama_c_kernel.Cil_datatype.Stmt.Set.tTable binding each access to the set of source code locations where it occurs.
