Class Ltl_to_acsl_visitors.visit_adding_pre_post_from_buch


class visit_adding_pre_post_from_buch : Promelaast.buchautomata -> bool -> object .. end
This visitor add a specification to each fonction and to each loop, according to specifications stored into Data_for_ltl.
Inherits

Given a couple of bool array (States , Transitions), this function computes a predicate and add it as an invariant.

Given the number of states a by-case post-condition and a state number, it returns a bool array with nb_states cells. A cell is true if and only if the associated post-condition is equivalent to the one of the given state.

method vfunc : Cil_types.fundec -> Cil_types.fundec Cil.visitAction
method vstmt_aux : Cil_types.stmt -> Cil_types.stmt Cil.visitAction