快速命名ida未知函数
first=0
next=FirstSeg()
print SegName(next)
while first!=next:
first=next
next=NextSeg(first)
print SegName(next)
if SegName(next) == ".text" or SegName(next) == "INIT":
codebegin=next
codeend=NextSeg(next)
while codebegin <= codeend:
#push ebp;mov ebp, esp
if((Dword(codebegin)&0xFFFFFF) == 0xEC8B55 and GetFunctionName(codebegin) == ""):
MakeFunction(codebegin)
codebegin=codebegin+16
可以可以!!
页:
[1]