← 返回命令列表

Linux command

dexdump 命令

文本

复制后可按需替换文件名、目录或参数。

常用示例

Dump a DEX file

dexdump [classes.dex]

Dump with disassembly

dexdump -d [classes.dex]

Dump headers only

dexdump -f [classes.dex]

Output to file

dexdump [classes.dex] -o [output.txt]

说明

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.

参数

-d
Disassemble code sections.
-f
Display file header details.
-h
Display file header summary.
-l _layout_
Output layout: plain, xml.
-o _file_
Output to file instead of stdout.

FAQ

What is the dexdump command used for?

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.

How do I run a basic dexdump example?

Run `dexdump [classes.dex]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does -d do in dexdump?

Disassemble code sections.