oatdump使用命令

来源:互联网 发布:大学生网络暴力论文 编辑:程序博客网 时间:2024/06/05 20:05

使用oatdump将程序执行堆栈信息打印出来:

oatdump --oat-file=/home/wanghailu/subhdd/vvvWindow/aaaaaaaaaaa/Settings.odex  > ~/Settings.txt


wanghailu@ubuntu:base$ oatdump No arguments specifiedUsage: oatdump [options] ...    Example: oatdump --image=$ANDROID_PRODUCT_OUT/system/framework/boot.art    Example: adb shell oatdump --image=/system/framework/boot.art  --oat-file=<file.oat>: specifies an input oat filename.      Example: --oat-file=/system/framework/boot.oat  --image=<file.art>: specifies an input image location.      Example: --image=/system/framework/boot.art  --boot-image=<file.art>: provide the image location for the boot class path.      Do not include the arch as part of the name, it is added automatically.      Example: --boot-image=/system/framework/boot.art  --instruction-set=(arm|arm64|mips|mips64|x86|x86_64): for locating the image      file based on the image location set.      Example: --instruction-set=x86      Default: x86_64  --output=<file> may be used to send the output to a file.      Example: --output=/tmp/oatdump.txt  --dump:raw_mapping_table enables dumping of the mapping table.      Example: --dump:raw_mapping_table  --dump:raw_gc_map enables dumping of the GC map.      Example: --dump:raw_gc_map  --no-dump:vmap may be used to disable vmap dumping.      Example: --no-dump:vmap  --no-disassemble may be used to disable disassembly.      Example: --no-disassemble  --list-classes may be used to list target file classes (can be used with filters).      Example: --list-classes      Example: --list-classes --class-filter=com.example.foo  --list-methods may be used to list target file methods (can be used with filters).      Example: --list-methods      Example: --list-methods --class-filter=com.example --method-filter=foo  --symbolize=<file.oat>: output a copy of file.oat with elf symbols included.      Example: --symbolize=/system/framework/boot.oat  --class-filter=<class name>: only dumps classes that contain the filter.      Example: --class-filter=com.example.foo  --method-filter=<method name>: only dumps methods that contain the filter.      Example: --method-filter=foo  --export-dex-to=<directory>: may be used to export oat embedded dex files.      Example: --export-dex-to=/data/local/tmp  --addr2instr=<address>: output matching method disassembled code from relative                          address (e.g. PC from crash dump)      Example: --addr2instr=0x00001a3b

0 0
原创粉丝点击