Frama-C:
Plug-ins:
Libraries:

Frama-C API - Make

This functor provides the partitioning algorithm constructing a WTO.

Parameters

module Node : sig ... end

Signature

type node = Node.t
type pref = node -> node -> int

Partial order of preference for the choice of the head of a loop. pref current_head new_candidate must return < 0 if new_candidate is preferred to current_head. Use "(fun _ _ -> 0)" for no specific preference.

val partition : pref:pref -> init:node -> succs:(node -> node list) -> node partition

Implements Bourdoncle "Efficient chaotic iteration strategies with widenings" algorithm to compute a WTO.

val pretty_partition : Stdlib.Format.formatter -> node partition -> unit
val pretty_component : Stdlib.Format.formatter -> node component -> unit
val equal_component : node component -> node component -> bool
val equal_partition : node partition -> node partition -> bool