
paimei - issue #14
AttributeError: 'function' object has no attribute 'branches_from'
What steps will reproduce the problem?
- Just call the method "branches_from' with in a python script. I see in Doc that this method is available to use. When I browse the code of 'function.py', there is no method with the said name. However, I see a method "_branches_from".
What is the expected output? What do you see instead?
Expect to get a List of addresses being referred from the current address. I get an error AttributeError: 'function' object has no attribute 'branches_from'
What version of the product are you using? On what operating system?
Windows Xp sp3, PaiMei-1.1-REV122, Python 2.5.4, IDApro 5.5
Is there any plan to release Paimei version which is compatible with IDApro 5.5 onwards?
Comment #1
Posted on Aug 15, 2010 by Happy RabbitI noticed another thing. When I try to make a graphs within a function (i.e. its CFG), it is not connect fully. I get several subgraphs, instead og one control flow graph. And interestingly, I get branches of BLUE color only!!! It means either we get immediate 'implicit' branches OR we get only one branch (len(xrefs)=1) as return of branches_from() method. Is this something to do with the change in IDApro 5.5 as now it returns a "Generator" object rather than a "List"?
Status: New
Labels:
Type-Defect
Priority-Medium