LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

dexdump

Android DEX file analysis and disassembly tool

TLDR

Dump a DEX file
$ dexdump [classes.dex]
copy
Dump with disassembly
$ dexdump -d [classes.dex]
copy
Dump file header summary
$ dexdump -f [classes.dex]
copy
Dump exported items only
$ dexdump -e -d [classes.dex]
copy
Output to file
$ dexdump [classes.dex] -o [output.txt]
copy

SYNOPSIS

dexdump [options] dexfile

DESCRIPTION

dexdump displays detailed information about Android DEX (Dalvik Executable) files. It can dump class definitions, method signatures, field information, and disassemble bytecode into human-readable format.The tool is part of the Android SDK build tools and provides insight into the structure of compiled Android applications. It can output information in plain text or XML format for further processing.DEX files contain compiled Java bytecode for the Dalvik VM or Android Runtime (ART). dexdump helps developers and security researchers understand app internals, debug compilation issues, and perform reverse engineering analysis.

PARAMETERS

-d

Disassemble code sections.
-f
Display summary information from file header.
-h
Display file header details.
-e
Display exported items only.
-a
Display annotations.
-c
Verify checksum and exit.
-g
Dump CFG for methods (Graphviz dot format).
-l layout
Output layout: plain, xml.
-o file
Output to file instead of stdout.

INSTALL

sudo apt install dexdump
copy

SEE ALSO

apktool(1), jadx(1), dex2jar(1)

RESOURCES

Copied to clipboard
Kai