OSDN Git Service

original
[gb-231r1-is01/Gingerbread_2.3.3_r1_IS01.git] / dalvik / tools / dexdeps / README.txt
1 dexdeps -- DEX external dependency dump
2
3
4 This tool dumps a list of fields and methods that a DEX file uses but does
5 not define.  When combined with a list of public APIs, it can be used to
6 determine whether an APK is accessing fields and calling methods that it
7 shouldn't be.  It may also be useful in determining whether an application
8 requires a certain minimum API level to execute.
9
10 Basic usage:
11
12   dexdeps [options] <file.{dex,apk,jar}>
13
14 For zip archives (including .jar and .apk), dexdeps will look for a
15 "classes.dex" entry.
16
17 Supported options are:
18
19   --format={brief,xml}
20
21     Specifies the output format.
22
23     "brief" produces one line of output for each field and method.  Field
24     and argument types are shown as descriptor strings.
25
26     "xml" produces a larger output file, readable with an XML browser.  Types
27     are shown in a more human-readable form (e.g. "[I" becomes "int[]").