zhangwenan / smali

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

Error when decompiling a .dex #44

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What seems to be the problem?

When i using baksmali-1.2.4.jar to decompile it,it show me this msg:
---------------------------------------------------------------------
Error occured while disassembling class Lcom.wyse.pocketcloudfree.Aux; - skippin
g class
java.io.IOException: 拒绝访问。
        at java.io.WinNTFileSystem.createFileExclusively(Native Method)
        at java.io.File.createNewFile(Unknown Source)
        at org.jf.baksmali.baksmali.disassembleDexFile(baksmali.java:179)
        at org.jf.baksmali.main.main(main.java:278)
---------------------------------------------------------------------
It will not show when i decompiled other classes.dex.Only this one.

I upload it in attach file,could you please check it,and fix it?

What is the exact smali/baksmali command that you ran?
java -jar baksmali-1.2.4.jar classes.dex -o smali

Original issue reported on code.google.com by ch3...@gmail.com on 25 Sep 2010 at 9:54

Attachments:

GoogleCodeExporter commented 9 years ago
This is an interesting issue. Apparently, on windows, you can't have a file 
name aux, or aux.<whatever>. 
(http://www.blindedbytech.com/2006/11/16/forbidden-file-and-folder-names-on-wind
ows/).

I've added some logic to handle this case
http://code.google.com/p/smali/source/detail?r=790

Thanks for the bug report!

Original comment by JesusFr...@gmail.com on 25 Sep 2010 at 4:07

GoogleCodeExporter commented 9 years ago
yep! Revision 790 is working well! Thanks for fix! Cheers!

Original comment by ch3...@gmail.com on 26 Sep 2010 at 3:04