Analyzing IDB...
Analyzing functions...
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "D:\Program Files\IDA\python\init.py", line 62, in runscript
execfile(script, globals())
File "D:/PaiMei-1.1-REV122/pida_dump.py", line 69, in <module>
module = pida.module(GetInputFile(), signature, depth, analysis)
File "C:\Python25\Lib\site-packages\pida\module.py", line 92, in __init__
func = function(ea, self.depth, self.analysis, self)
File "C:\Python25\lib\site-packages\pida\function.py", line 157, in __init__
self.__init_basic_blocks__()
File "C:\Python25\lib\site-packages\pida\function.py", line 224, in __init_basic_blocks__
branches_from = self._branches_from(ea)
File "C:\Python25\lib\site-packages\pida\function.py", line 318, in _branches_from
if len(xrefs) == 1 and xrefs[0] == NextNotTail(ea):
TypeError: object of type 'generator' has no len()
软件版本:IDA5.5+Python2.5,其它软件均是基于Python2.5的
用过OpenRCE里面提出的方法:if len(list(xrefs)) == 1 and list(xrefs)[0] == NextNotTail(ea)