# # Simple IDA Python script to force creating functions at positions where an instruction was found # but no function was created by IDA. It works with any IDA supported processor. # from idc import * from idaapi import * seg = SegByName(".text") start_ea = SegByBase(seg) end_ea = SegEnd(start_ea) print("Forcing to create functions from 0x%08x to 0x%08x" % (start_ea, end_ea)) for head in Heads(start_ea, end_ea): if get_func(head) is None: MakeFunction(head)