haco20292 / dex2jar

Automatically exported from code.google.com/p/dex2jar
0 stars 0 forks source link

生成文件中的函数不能用JD-GUI解析 #37

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.使用dex2jar处理附件
2.对得到jar中的"/JigsawView.class"使用 JD-GUI 0.3.3 
无法获得initJigsaw函数的正确源代码,Jad v1.5.8g 
可解析但也有提示"Couldn't fully decompile method <init>"
3.

What is the expected output? What do you see instead?
以下为JD-GUI 0.3.3提示
  // ERROR //
  public void initJigsaw(int paramInt1, int paramInt2)
  {
    // Byte code:
    //   0: aload_0
    //   1: getfield 73 com/huzi/puzzle/jigsaw/JigsawView:mBlocks   Ljava/util/ArrayList;
    //   4: invokevirtual 323   java/util/ArrayList:clear   ()V
    //   7: aload_0
    //   8: getfield 293    com/huzi/puzzle/jigsaw/JigsawView:origImage Landroid/graphics/Bitmap;
    //   11: invokevirtual 131  android/graphics/Bitmap:getWidth    ()I
    //   14: istore_3
    //   15: aload_0
    //   16: getfield 63    com/huzi/puzzle/jigsaw/JigsawView:xN    I
    //   19: istore 4
    //   21: iload_3
...
    //   2360: fdiv
    //   2361: fstore 19
    //   2363: goto -2073 -> 290
  }
What version of the product are you using? On what operating system?
dex2jar-0.0.7.7-SNAPSHOT
Win7 jdk1.6_23 

Please provide any additional information below.
附件和Issues 36是同一个文件

Original issue reported on code.google.com by yyjdel...@gmail.com on 19 Dec 2010 at 12:18

Attachments:

GoogleCodeExporter commented 9 years ago
再发一个自己写的文件,Download$2.class,JD-GUI 
0.3.3不能解析,错误情况和上面相同,Jad 
v1.5.8g解析代码正确,不知道是谁的问题,英文不好,先发在这边�
��看

Original comment by yyjdel...@gmail.com on 19 Dec 2010 at 12:25

Attachments:

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
(以下内容均指第一个文件)

如用dex2jar-0.0.7-SNAPSHOT生成jar则在JD-GUI 0.3.3可正常解析此函数
0.0.7.6正常
0.0.7.8错误

Original comment by yyjdel...@gmail.com on 27 Dec 2010 at 4:16