Skip to content

Commit 7f76539

Browse files
authored
Merge pull request #219 from yonggamer/master
Update Decompile info on README.md
2 parents a5390a3 + 2b35506 commit 7f76539

1 file changed

Lines changed: 20 additions & 4 deletions

File tree

README.md

Lines changed: 20 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,9 @@ Options:
8181
*See<Notes> below.
8282
-o Output path. Optional, if not provided then a new file
8383
will be generated on same directory as input
84+
-remove-annotation [Baksmali] Type name of annotation to remove from dex
85+
e.g: -remove-annotation Lkotlin/Metadata;
86+
*Can be multiple.
8487
-res-dir Sets resource files root dir name. e.g. for obfuscation
8588
to move files from 'res/*' to 'r/*' or vice versa.
8689
-sig Signatures directory path.
@@ -91,21 +94,34 @@ Options:
9194
versions up to 042.
9295
2) jf : Use library by JesusFreke/smali, supports dex
9396
versions 035 and below.
94-
*Default = jf
95-
**WARN: The default value will be replaced by
96-
"internal" on coming versions.
97+
*Default = internal
9798
*See <Notes> below.
9899
[internal, jf]
100+
-comment-level [Baksmali] Sets the comment level.
101+
1) off : No comment will be printed.
102+
2) basic : Prints basic and resource id comments.
103+
3) detail : Including <basic>, Prints class & method
104+
relation comments.
105+
4) detail2 : Including <detail>, Prints encoded hex
106+
strings with literal as comment.
107+
5) full : Prints all comments.
108+
**Default = detail
109+
[off, basic, detail, detail2, full]
99110
Flags:
100111
-dex Copy raw dex files / skip smali.
101112
-dex-markers Dumps dex markers (applies only when smali mode).
113+
-dex-profile Decodes dex profile binary files under assets/dexopt to
114+
readable json files.
102115
-f Force delete output path.
103116
-h | -help | --help Displays this help and exit.
104117
-keep-res-path Keeps original res/* file paths:
105118
*Applies only when decoding to xml
106119
*All res/* files will be placed on dir <res-files>
107120
*The relative paths will be linked to values/*xml
121+
-no-cache Do not create dex .cache files.
108122
-no-dex-debug Drops all debug info from smali/dex.
123+
-smali-registers [Baksmali] Use ".registers" directive instead of the
124+
default ".locals".
109125
-split-json Splits resources.arsc into multiple parts as per type
110126
entries (use this for large files)
111127
-vrd Validate resources dir name
@@ -130,7 +146,7 @@ Notes:
130146
* Builds with similar dex-section order as r8/dx.
131147
* Convenient dex markers editing, see file smali/classes/dex-file.json
132148
* Additional helpful smali comments: e.g class/method hierarchy.
133-
* Supports whitespaces on class simple name as introduced on dex 041+
149+
* Supports whitespaces on class simple name as introduced on dex 040+
134150
2) [-load-dex] To print correct class/method hierarchy, it is necessary to
135151
load all dex files at once. This may result high memory consumption and
136152
could fail with "OutOfMemoryError" thus you are required to limit the

0 commit comments

Comments
 (0)