This method enables standard type disassembly.
Each disassembled instruction triggers the
virtual CADIDisassemblerStatus CADIDisassembler::GetDisassembly( CADIDisassemblerCB *callback, const CADIAddr_t &address, CADIAddr_t &nextAddr, const uint32_t mode, uint32_t desiredCount = 1) = 0;
- is the callback object to receive the disassembly.
- passes the address of the instruction to disassemble
and to return the address of the next valid instruction. Mandatory
if the return value is
returns the address of the next instruction. This must be used if the return value is
nextAddrmust be a hint to the next address that might result in successful disassembly.
- contains the execution mode. If 0, use the current execution mode.
can be used to disassemble a sequence of instructions. Up to
desiredCountcalls are made to
The first instruction is the instruction pointed to by
address. The sequence of disassembled instructions stops if an error such as, for example, no instruction or illegal address, occurs while attempting to disassemble an instruction
- return value
- is the status. The possible values are defined by the