Commit Graph

577 Commits

Author SHA1 Message Date
Bob Pan
00e9d9e6b7 auto test d2j-error-zips/*-error.zip 2021-10-30 00:33:25 +08:00
Bob Pan
7a9bf1960e java 8 now 2021-10-30 00:31:35 +08:00
Bob Pan
97f9882123 start v2.2 2021-10-30 00:21:19 +08:00
Bob Pan
b12d69cb64 set version to 2.1 2021-10-30 00:21:19 +08:00
Bob Pan
6f30d4bb29
move to github (#512)
* move to github
2021-10-29 23:33:24 +08:00
Bob Pan
0f16a77a16 update to gradle 6.9.1 2021-10-29 23:04:52 +08:00
Bob Pan
43e9e862c6
Merge pull request #219 from ayyrickay/2.x
Add clearer usage instructions and do some minor formatting
2021-10-29 22:24:40 +08:00
Bob Pan
8d836c537c
Merge branch '2.x' into 2.x 2021-10-29 22:23:12 +08:00
Bob Pan
4d30f5dc2a
Merge pull request #128 from jschmid/patch-1
Fixed README formatting
2021-10-29 22:16:32 +08:00
Bob Pan
b92ee55e6f
Merge pull request #386 from paulo-raca/largerHeap
Increase heap size
2021-10-29 22:13:21 +08:00
Bob Pan
f5e8f37acb
Merge pull request #217 from claui/fix-format-exception
Fix IllegalFormatConversionException
2021-10-29 22:11:59 +08:00
Bob Pan
ebec2585b1
Merge pull request #327 from echooo10/bugfix_issue#207
fix issue #207
2021-10-29 22:03:18 +08:00
Paulo Costa
f08ad61328 Increase heap size
-Xmx1024 is not enough to decompile Android's framework.jar
2020-06-24 14:58:31 -03:00
陈艺玲
e39b41f8e5 fix issue #207 2019-12-05 10:18:23 +08:00
Ricky
d0aecd0594
Update README.md 2019-10-15 20:16:50 -04:00
Bob Pan
d7a86110ba fix crash on pattern empty-try-catch-with-goto-head 2019-09-05 15:21:28 +08:00
Ricky
22cbacb586
Update README.md
Fix typo
2019-04-04 00:36:08 -07:00
Ricky
5b25afb769 Add clearer usage instructions and do some minor formatting
Based off of @friederbluemle's instructions in https://github.com/pxb1988/dex2jar/issues/170
2018-10-04 12:50:43 -07:00
Claudia
fb9361a578
Fix IllegalFormatConversionException
This commit fixes a `java.util.IllegalFormatConversionException`,
which would occur when decompiling certain APKs:

```
com.googlecode.d2j.DexException: Error process class: [731]Landroid/support/e/a;
  at com.googlecode.d2j.reader.DexFileReader.accept(DexFileReader.java:604)
  at com.googlecode.d2j.reader.DexFileReader.accept(DexFileReader.java:565)
  at com.googlecode.d2j.smali.Baksmali.to(Baksmali.java:99)
  at com.googlecode.d2j.smali.BaksmaliCmd.doCommandLine(BaksmaliCmd.java:60)
  at com.googlecode.dex2jar.tools.BaseCmd.doMain(BaseCmd.java:288)
  at com.googlecode.d2j.smali.BaksmaliCmd.main(BaksmaliCmd.java:24)
Caused by: java.util.IllegalFormatConversionException: d != java.lang.String
  at java.base/java.util.Formatter$FormatSpecifier.failConversion(Formatter.java:4421)
  at java.base/java.util.Formatter$FormatSpecifier.printInteger(Formatter.java:2936)
  at java.base/java.util.Formatter$FormatSpecifier.print(Formatter.java:2890)
  at java.base/java.util.Formatter.format(Formatter.java:2671)
  at java.base/java.util.Formatter.format(Formatter.java:2607)
  at java.base/java.lang.String.format(String.java:2734)
  at com.googlecode.d2j.smali.BaksmaliDumpOut.s(BaksmaliDumpOut.java:62)
  at com.googlecode.d2j.smali.BaksmaliCodeDumper.visitFilledNewArrayStmt(BaksmaliCodeDumper.java:252)
  at com.googlecode.d2j.node.DexCodeNode$FilledNewArrayStmtNode.accept(DexCodeNode.java:300)
  at com.googlecode.d2j.node.DexCodeNode.accept(DexCodeNode.java:62)
  at com.googlecode.d2j.smali.BaksmaliDumper.baksmaliCode(BaksmaliDumper.java:517)
  at com.googlecode.d2j.smali.BaksmaliDumper.baksmaliMethod(BaksmaliDumper.java:445)
  at com.googlecode.d2j.smali.BaksmaliDumper.baksmaliClass(BaksmaliDumper.java:397)
  at com.googlecode.d2j.smali.BaksmaliDexFileVisitor$1.visitEnd(BaksmaliDexFileVisitor.java:60)
  at com.googlecode.d2j.reader.DexFileReader.accept(DexFileReader.java:601)
  ... 5 more
```
2018-09-22 15:04:07 +02:00
Bob Pan
9cfc8ba805 support method handle of type INVOKE_CONSTRUCTOR/INVOKE_DIRECT/INVOKE_INTERFACE 2018-09-05 17:23:07 +08:00
Bob Pan
b5771406a9 translate DEX_037 to V1_8
fix https://github.com/pxb1988/dex2jar/issues/194
2018-07-04 20:13:22 +08:00
Bob Pan
f5855ebfcb fix test fail 2018-06-14 13:51:42 +08:00
Bob Pan
6e085153cf insert a Nop between two LabelStmt if both have phis
fixes https://github.com/pxb1988/dex2jar/issues/186
2018-06-06 17:49:28 +08:00
Bob Pan
85b1b3b8dd [dex038] write class version 1.7 if dex version > DEX_037 2018-06-06 11:48:28 +08:00
Bob Pan
5341bd145d fixed issue 185
https://github.com/pxb1988/dex2jar/issues/185

some zip use a large comment filed which will exceed the zip file content.
2018-06-06 11:14:11 +08:00
Bob Pan
b006a5c9ca find test file by resource 2018-06-06 11:12:53 +08:00
Bob Pan
eca2c98278 fix test error 2018-04-02 18:26:59 +08:00
Bob Pan
ffd6e395b8 fix build error 2018-04-02 18:19:23 +08:00
Bob Pan
9b80989060 use dx from android-build-tools 27.0.3 2018-04-02 16:45:24 +08:00
Bob Pan
24b0643dd5 remove maven pom.xml 2018-04-02 16:44:36 +08:00
Bob Pan
3c8e43e61a use jdk8 for travis 2018-04-02 16:31:28 +08:00
Bob Pan
b0c2a60808 update gradle to 4.0 2018-04-02 11:31:37 +08:00
Bob Pan
ac1f325f43 add test case for method code too large 2018-04-02 11:26:29 +08:00
Bob Pan
90f8d1eb80 null safe in LambadaNameSafeClassAdapter 2018-04-02 10:37:32 +08:00
Bob Pan
e3ff06d9d8 sort locals in RemoveConstantFromSSA 2018-04-02 10:37:08 +08:00
Bob Pan
373446a00e change to super OnUseCallBack 2018-04-02 10:36:37 +08:00
Bob Pan
3192470689 special allow merge of Z and I 2018-04-02 10:36:08 +08:00
Bob Pan
bf54180dec github has attachement support 2018-03-27 11:42:04 +08:00
Bob Pan
5a2f61965c fix search for smalis on ideaj 2018-03-27 11:40:08 +08:00
Bob Pan
31ff5bba8c reset deobf init 2018-03-27 11:39:37 +08:00
Bob Pan
1238d14b14 skip exception 2018-03-21 12:08:35 +08:00
Bob Pan
1d515072d5 handle InvokePolymorphicExpr as java8 style 2017-08-02 16:33:14 +08:00
Bob Pan
3e93d2021f d2j-smali support polymorphic/custom 2017-08-02 16:32:20 +08:00
Bob Pan
bac5d542a6 support translate INVOKE_POLYMORPHIC 2017-07-26 02:04:15 +08:00
Jonas Schmid
211c4817f2 Fixed README formatting 2017-07-21 16:40:45 +02:00
Bob Pan
6b08884da9 'dex 038' support 2017-07-16 00:28:05 +08:00
Bob Pan
dd9d7221e4 Merge pull request #88 from kcheng-mvp/2.x
add support ignore a class
2017-01-18 13:36:43 +08:00
Bob Pan
23ded14162 Merge pull request #70 from barriosnahuel/patch-1
Add usage section to README
2017-01-18 13:36:20 +08:00
Bob Pan
bd88098213 Merge pull request #73 from TWiStErRob/patch-1
Add links for GitHub
2017-01-18 13:35:35 +08:00
Bob Pan
14ecdee422 [type] merge all array values
fix https://github.com/pxb1988/dex2jar/issues/101
2017-01-18 13:27:48 +08:00