New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Restore 'androguard cg' callgraph generation #985
Conversation
…displaying them with matplotlib. still need to save raw graph formats
…ajek) formats. document current limitation that is preventing yaml and gpickle due to BufferedReader attributes not being serializable. created --output-type option for specifying graph format to export
…include the callee method EncodedMethod attribute instead of the the MethodAnalysis
…odAnalysis object, not an EncodedMethod or ExternalMethod
…thodAnalysis object, not an EncodedMethod or ExternalMethod
@ehrenb thank you very much for this!!
|
Yes, I'll have this done in a couple of days hopefully. When it's done I'll let you know here. |
…hl files for other platforms. For some reason, recent version of the subpackage are only marked for macos. Pip does not have this issue, only Poetry. see python-poetry/poetry#8540 and corrscope/corrscope@060f044
i see also the note for installing :
if i am not mistaken these are required only for opening the exported formats, right? |
Those dependencies were required for using the '--show' flag which uses matplotlib + qt5 to render. I had to install them on Ubuntu 22.04, but did not test other OS's or Ubuntu versions. Feel free to add them in where you'd like, for now I've put them in the README. |
Please take another look at the latest. The QT dependency issue was specific to Poetry, and is fixed by locking it to a specific subpackage of PyQt5 (subpackage PyQt5-Q5, which is confusing). I also added test_callgraph.py with tests that validate number of nodes and edges in various scenarios within TestActivity.apk. |
Tested with the following commands: