exported / paimei

Automatically exported from code.google.com/p/paimei
GNU General Public License v2.0
1 stars 0 forks source link

AttributeError: 'function' object has no attribute 'branches_from' #14

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
# What steps will reproduce the problem?
1. 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?

Original issue reported on code.google.com by tosanj...@gmail.com on 13 Aug 2010 at 1:18

GoogleCodeExporter commented 9 years ago
I 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"?    

Original comment by tosanj...@gmail.com on 15 Aug 2010 at 8:04