Disassemble instructions from the address space of the process. @type lpAddress: int @param lpAddress: Memory address where to read the code from. @type dwSize: int @param dwSize: Size of binary code to disassemble. @rtype: list of tuple( long,
(self, lpAddress, dwSize)
| 1596 | return aProcess.disassemble_string(lpAddress, code) |
| 1597 | |
| 1598 | def disassemble(self, lpAddress, dwSize): |
| 1599 | """ |
| 1600 | Disassemble instructions from the address space of the process. |
| 1601 | |
| 1602 | @type lpAddress: int |
| 1603 | @param lpAddress: Memory address where to read the code from. |
| 1604 | |
| 1605 | @type dwSize: int |
| 1606 | @param dwSize: Size of binary code to disassemble. |
| 1607 | |
| 1608 | @rtype: list of tuple( long, int, str, str ) |
| 1609 | @return: List of tuples. Each tuple represents an assembly instruction |
| 1610 | and contains: |
| 1611 | - Memory address of instruction. |
| 1612 | - Size of instruction in bytes. |
| 1613 | - Disassembly line of instruction. |
| 1614 | - Hexadecimal dump of instruction. |
| 1615 | """ |
| 1616 | aProcess = self.get_process() |
| 1617 | return aProcess.disassemble(lpAddress, dwSize) |
| 1618 | |
| 1619 | def disassemble_around(self, lpAddress, dwSize=64): |
| 1620 | """ |
no test coverage detected