[IDAPython]: Fast make everywhere as function in specified region
def make_all_func(start,end):
cur = start
while True:
print "Making %x" % cur
idc.MakeFunction(cur)
endchunk = idc.get_fchunk_attr(cur, FUNCATTR_END)
cur = endchunk if endchunk != BADADDR else NextAddr(cur)
if cur > end:
break
make_all_func(0x828001148, 0x828007D84)
This version supports the function chunk, which will be much more robust than func.endEA
Enjoy!
