Frama-C API - Clabels
Normalized C-labels
Structural representation of logic labels. Compatible with stdlib comparison and structural equality.
val is_here : c_label -> bool
module T : sig ... end
val pre : c_label
val here : c_label
val next : c_label
val init : c_label
val post : c_label
val exit : c_label
val break : c_label
val continue : c_label
val default : c_label
val loopentry : c_label
val loopcurrent : c_label
val formal : string -> c_label
val case : int64 -> c_label
val stmt : Frama_c_kernel.Cil_types.stmt -> c_label
val stmt_post : Frama_c_kernel.Cil_types.stmt -> c_label
val loop_entry : Frama_c_kernel.Cil_types.stmt -> c_label
val loop_current : Frama_c_kernel.Cil_types.stmt -> c_label
val to_logic : c_label -> Frama_c_kernel.Cil_types.logic_label
val of_logic : Frama_c_kernel.Cil_types.logic_label -> c_label
Assumes the logic label only comes from normalized or non-ambiguous labels. Ambiguous labels are: Old, LoopEntry and LoopCurrent, since they points to different program points dependending on the context.
val is_post : Frama_c_kernel.Cil_types.logic_label -> bool
Checks whether the logic-label is Post
or to_logic post
val pretty : Stdlib.Format.formatter -> c_label -> unit
val name : Frama_c_kernel.Cil_types.logic_label -> string
val lookup : (Frama_c_kernel.Cil_types.logic_label * Frama_c_kernel.Cil_types.logic_label) list -> string -> Frama_c_kernel.Cil_types.logic_label
lookup bindings lparam
retrieves the actual label for the label in bindings
for label parameter lparam
.