![]() |
|
#5
|
||||
|
||||
|
Well, you finally gave me the push I needed to dabble in python scripts for the first time. I ended up with this :
Code:
from idaapi import * ea = get_screen_ea() seg = getseg(ea) i = 0 while seg.name == 0xff00003e : adr = find_not_func(0, SEARCH_DOWN) jumpto(adr, -1, 0x0001) add_func(adr, BADADDR) i = i + 1 print "Finished, %d funcs created" % i Next ones to tackle are 1) all those damned case/switch tables IDA leaves outside the func so it then gives each case address a global name. Really is one of my pet hates. 2) why can't it convert a huge pile of UNICODE strings to actual strings instead of leaving each one mis-identified as a table of offsets, which in turn put a load of nonsense address labels all over the place, often in code and quite often splitting an asm statement ![]() How do other people deal with those last 2 problems? Git |
| The Following User Gave Reputation+1 to Git For This Useful Post: | ||
Storm Shadow (09-23-2014) | ||
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| IDA Script Function rename for Delphi VCL (x32 - x64) | Coldzer0 | Community Tools | 0 | 05-12-2018 21:51 |
| GMP function | Git | General Discussion | 4 | 06-16-2011 21:33 |
| C++ Help (Hooking a function) | Peter[Pan] | General Discussion | 8 | 08-31-2004 20:37 |