MCPcopy Index your code
hub / github.com/keystone-engine/keypatch / ida_get_disasm_range

Method ida_get_disasm_range

keypatch.py:361–370  ·  view source on GitHub ↗
(self, start, end)

Source from the content-addressed store, hash-verified

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

Callers 2

patch_codeMethod · 0.95
fill_codeMethod · 0.95

Calls 1

asm_normalizeMethod · 0.95

Tested by

no test coverage detected