Last active
October 12, 2021 16:37
-
-
Save oznotes/e92abc02b443737495824797442eaec1 to your computer and use it in GitHub Desktop.
IDA MakeCode Automation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# IDAPython documentation is at https://www.hex-rays.com/products/ida/support/idapython_docs/ | |
import idautils | |
import idc | |
for ea in idautils.Segments(): | |
segend = idc.get_segm_attr(ea, idc.SEGATTR_END) | |
start = ea | |
while start < segend: | |
idc.create_insn(start) | |
start = ida_search.find_unknown(start+1, idc.SEARCH_DOWN) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment