5.8.1 Disassembling chunks of memory

Use the disassembler_getDisassembly() function to disassemble a chunk of memory.

This function returns lines of disassembled instructions. The number of lines that are returned is specified by the count argument. The amount of memory that a chunk represents depends on the encoding of the instruction set being disassembled. The address of the next instruction following a disassembled chunk is given by the address field of the last DisassemblyLine element of the result value. This function returns count lines, unless an error occurred.

This function can return the following errors:

Non-ConfidentialPDF file icon PDF version101196_0100_03_en
Copyright © 2018, 2019 Arm Limited or its affiliates. All rights reserved.