androcg - Man Page

Reverse engineering and pentesting for Android applications

Synopsis

androcg [Options] APK

Description

Create a call graph and export it into a graph format.

The default is to create a file called callgraph.gml in the current directory!

classnames are found in the type "Lfoo/bar/bla;".

Example:

$ androguard cg examples/tests/hello-world.apk

Options

-o,  --output TEXT

Filename of the output file, the extension is used to decide which format to use  [default: callgraph.gml]

-s,  --show

instead of saving the graph, print it with mathplotlib (you might not see anything!)

-v,  --verbose

Print more output

--classname TEXT

Regex to filter by classname  [default: .*]

--methodname TEXT

Regex to filter by methodname  [default: .*]

--descriptor TEXT

Regex to filter by descriptor  [default: .*]

--accessflag TEXT

Regex to filter by accessflags  [default: .*]

--no-isolated / --isolated

Do not store methods which has no xrefs

--help

Show this message and exit.

Info

April 2025 androcg 3.4.0a1