Skip to content

Instantly share code, notes, and snippets.

@oznotes
Last active October 12, 2021 16:36
Show Gist options
  • Save oznotes/835a5aa4161bffa95340e35852d95c05 to your computer and use it in GitHub Desktop.
Save oznotes/835a5aa4161bffa95340e35852d95c05 to your computer and use it in GitHub Desktop.
Function Create IDA
import idautils
import idc
for ea in idautils.Segments():
segend = idc.get_segm_attr(ea, idc.SEGATTR_END)
start = ea
while start < segend:
ida_funcs.add_func(start)
start += 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment