(self, start, end)
| 359 | |
| 360 | # return asm instructions from start to end |
| 361 | def ida_get_disasm_range(self, start, end): |
| 362 | codes = [] |
| 363 | while start < end: |
| 364 | asm = self.asm_normalize(idc.GetDisasm(start)) |
| 365 | if asm == None: |
| 366 | asm = '' |
| 367 | codes.append(asm) |
| 368 | start = start + idc.ItemSize(start) |
| 369 | |
| 370 | return codes |
| 371 | |
| 372 | # get disasm from IDA |
| 373 | # return '' on invalid address |
no test coverage detected