Machine.Local
Local state of the machine.
val get : 'a Bap_primus.Std.Primus.Machine.state -> 'a t
get state
extracts the state.
val put : 'a Bap_primus.Std.Primus.Machine.state -> 'a -> unit t
put state x
saves a machine state
val update : 'a Bap_primus.Std.Primus.Machine.state -> f:('a -> 'a) -> unit t
update state ~f
updates a state using function f
.