Make.StateA mapping for variables (Binsec_kernel.Dba.Var.t -> value) and memory accesses (value -> value).
val lookup : Binsec_kernel.Dba.Var.t -> t -> Value.tlookup var s returns the value assigned to var in s.
val read :
addr:Value.t ->
int ->
Binsec_kernel.Machine.endianness ->
t ->
Value.t * tread ~addr len d s returns len bytes of the value stored at address addr in the main memory array @, together with the updated state s. The byte order is determined by the endianness d.
val select :
string ->
addr:Value.t ->
int ->
Binsec_kernel.Machine.endianness ->
t ->
Value.t * tselect m ~addr len d s returns len bytes of the value stored at address addr in the memory array m, together with the updated state s. The byte order is determined by the endianness d.