ANDROCG(1)
β¨ NAME β¨
Okay bestie, meet androcg π
It's all about reverse engineering and pentesting for Android applications π± Literally iconic.
π¦ SYNOPSIS π¦
androcg [OPTIONS] APK
So you hand it an APK, toss in whatever options you want, and it does its thing π§
πΈ DESCRIPTION πΈ
Heads up, bestie, this little warning is baked right into the page, so don't panic if you see it π
/usr/lib/python3.14/site-packages/androguard/core/bytecodes/apk.py:1039:
SyntaxWarning: "\>" is an invalid escape sequence. Such sequences will
not work in the future. Did you mean "\\>"? A raw string is also an
option.
Thus specifiying {"name": "foobar"} will match on <bla name="foobar" \> π
Create a call graph and export it into a graph format πΈοΈ It's giving organized chaos.
The default is to create a file called callgraph.gml in the current directory! No cap, that's where it lands π
Classnames are found in the type "Lfoo/bar/bla;" β¨
Example:
$ androguard cg examples/tests/hello-world.apk
π OPTIONS π
-o,--output TEXTβ Pick the filename for your output file. The extension decides which format gets used π [default:callgraph.gml]-s,--showβ Instead of saving the graph, print it withmathplotlibπΌοΈ (you might not see anything, so don't stress!)-v,--verboseβ Print more output, for when you want all the tea π΅--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β Don't store methods that have no xrefs π ββοΈ--helpβ Show the help message and exit π
androcg 3.4.0a1, September 2025, ANDROCG(1) π That's the whole tea, bestie! Go be a menace to some APKs ππ«Ά
π¦ where this page comes from
- fedora 43: python3-androguard 3.4.0a1-7.fc43 Β· Apache-2.0
- π girlified by claude-haiku-5-5 on : a language model's rewrite of the original, under its terms