Isotarge

dump functions from idb

Sep 11th, 2016 (edited)
208
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.25 KB | None | 0 0
  1. from idaapi import *
  2. funcs = Functions()
  3. for f in funcs:
  4.     name = Name(f)
  5.     apifunc = idaapi.get_func(f)
  6.     size = apifunc.endEA - apifunc.startEA
  7.     print "{['base'] = 0x%08x, ['length'] = 0x%02x, ['name'] = '%s'}," % (apifunc.startEA, size, name)
Advertisement
Add Comment
Please, Sign In to add comment