Armv7decoder.ArmToDbaSourceval decode :
Binsec.Lreader.t ->
Binsec.Virtual_address.t ->
Binsec.Instruction.Generic.t * Binsec.Dhunk.tdecode r addr decodes what is at address addr in reader r.
val cached_decode :
Binsec.Lreader.t ->
Binsec.Virtual_address.t ->
Binsec.Instruction.Generic.t * Binsec.Dhunk.tUse let decode = cached_decode reader in decode addr1; ... decode addrn;
if you want to use a cached decoder, adapted for a new reader.
The cached decoder assumes that the code will not change dynamically.