Wp.TacticalSourceTactics Entry Points
Tactical
and compose = private | Cint of Frama_c_kernel.Integer.t| Range of int * int| Code of Lang.F.term * string * selection listWhen subclause clause p, we have clause = Step H and H -> p, or clause = Goal G and p -> G.
Debug only
Debug only
val checkbox :
id:string ->
title:string ->
descr:string ->
?default:bool ->
unit ->
bool field * parameterUnless specified, default is false.
val spinner :
id:string ->
title:string ->
descr:string ->
?default:int ->
?vmin:int ->
?vmax:int ->
?vstep:int ->
unit ->
int field * parameterUnless specified, default is vmin or 0 or vmax, whichever fits. Range must be non-empty, and default shall fit in.
val selector :
id:string ->
title:string ->
descr:string ->
?default:'a ->
options:'a named list ->
?equal:('a -> 'a -> bool) ->
unit ->
'a field * parameterUnless specified, default is head option. Default equality is (=). Options must be non-empty.
val composer :
id:string ->
title:string ->
descr:string ->
?default:selection ->
?filter:(Lang.F.term -> bool) ->
unit ->
selection field * parameterUnless specified, default is Empty selection.
val search :
id:string ->
title:string ->
descr:string ->
browse:'a browser ->
find:'a finder ->
unit ->
'a named option field * parameterSearch field.
browse s n is the lookup function, used in the GUI only. Shall returns at most n results applying to selection s.find n is used at script replay, and shall retrieve the selected item's id later on.val replace_single :
at:int ->
(string * Conditions.condition) ->
Conditions.sequent ->
string * Conditions.sequentFor each pattern (descr,guard,src,tgt) replace src with tgt under condition guard, inserted in position at.
Apply process, but only after proving some condition