|Home > Iris APIs > Disassembly API|
Some instances can provide a disassembled view of their memory. Because disassembly is just a form of
memory_read(), a memory space id must be provided.
The main interface function is
disassembler_getDisassembly(), which offers a disassembled view of a memory location. The other disassembler functions offer more exotic functionality, for example querying disassembler modes and disassembling individual opcodes.
Target instances that do not support disassembly must return
E_function_not_supported_by_instance for the
$PVLIB_HOME/Iris/Examples/Client/Disassembly/ contains an example client application that demonstrates how to use this API.