trietptm / zynamics

Automatically exported from code.google.com/p/zynamics
0 stars 0 forks source link

Get calling functions from a Binnavi's script #36

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Open a script (python) window in a function disassembly window/view
2. Use `cg` or `cf` to access the View2d or the other Graphs of the current 
function
3. How to get the calling functions of the current function?

What is the expected output? What do you see instead?
I see that there is a 'calling functions' tab that displays them, but couldn't 
find an api chain for getting them from the scripting/plugin system.

What version of the product are you using? On what operating system?
Binnavi 6.0.0 (I think it's still beta). On Windows 7.

Original issue reported on code.google.com by cacho...@gmail.com on 4 Dec 2014 at 12:43

GoogleCodeExporter commented 9 years ago
Found an api chain using getCallgraph->getNodes->FunctionBlock and there I 
manage to do it with getParents and getFunction filtering the Address from the 
Function objects I already have.

So I implemented a helper with that, consider it closed.

Original comment by cacho...@gmail.com on 8 Dec 2014 at 6:28

GoogleCodeExporter commented 9 years ago

Original comment by timkor...@google.com on 28 Apr 2015 at 8:10