LinuxCommandLibrary

dexter

Android DEX file analyzer with call graph generation

TLDR

Analyze a DEX file

$ dexter -i [classes.dex]
copy
Generate call graph
$ dexter -i [classes.dex] --callgraph
copy
Filter by package
$ dexter -i [classes.dex] --package [com.example]
copy

SYNOPSIS

dexter [options]

DESCRIPTION

dexter is an Android DEX file analyzer that provides detailed information about classes, methods, and bytecode. It can generate call graphs to visualize method dependencies and analyze application structure at a deeper level than basic disassemblers.
The tool is particularly useful for understanding complex app architectures, identifying code paths, and analyzing relationships between components. Package filtering allows focusing analysis on specific parts of an application.
Call graph generation helps security researchers identify potential attack vectors and developers understand code flow in unfamiliar codebases.

PARAMETERS

-i, --input file

Input DEX or APK file.
--callgraph
Generate method call graph.
--package name
Filter by package name.
-o, --output file
Output file.

SEE ALSO

dexdump(1), apktool(1)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community