Some apps' analysis failed using dare tool

62 views
Skip to first unread message

Sponge Tian

unread,
Sep 9, 2014, 4:36:06 PM9/9/14
to dare-a...@googlegroups.com

Hi,

I used Dare tools to reverse some apk to jar files. I do not know why but it looks like there may be some classes lost. I used jd-jui to open these jars and found that there are missing classes.

Please see the image in the attachment. The C package in genimi has nothing (no options when I click c package), classes are missing. Although, when using apktool (smali code) I can see the classes.

My question is does dare have any problems in the translation especially if the app is obfuscated or encrypted? If not how dare handles obfuscated apps?

Thank you so much!






Damien Octeau

unread,
Sep 11, 2014, 1:30:39 AM9/11/14
to dare-a...@googlegroups.com, riri...@gmail.com
Hi,

Are you using the -p option? If so, some classes may be removed if the Dalvik verifier detects that a class is unverifiable (which usually happens when its superclass is not available). In theory this should not be code that is ever actually executed. Please try again without the -p option if you want to decompile all classes. You can let me know if it still doesn’t work.

Dare does not do anything special about obfuscation. This just means that Dare outputs obfuscated .class files.

Thanks,
Damien


--
You received this message because you are subscribed to the Google Groups "dare" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dare-android...@googlegroups.com.
To post to this group, send email to dare-a...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dare-android/6b3d1ff1-1445-455a-8b14-7530623b0aea%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Sponge Tian

unread,
Sep 14, 2014, 1:46:59 PM9/14/14
to dare-a...@googlegroups.com, riri...@gmail.com
I tried both with and without -p options, it seemed that there were still classes lost. Also I tried another tool called: dex2jar which met the same problem.
I doubt whether it is the application itself problem or anything else.   

Best,
Ke

Dalvik Retargeting (Dare)

unread,
Sep 17, 2014, 2:59:30 PM9/17/14
to dare-a...@googlegroups.com, riri...@gmail.com
Ke,

Could it be that jd-gui cannot decompile these class files? Have you checked inside the output directory (the retargeted/ directory in the case of Dare) that the class is not there?

Thanks,
Damien


Reply all
Reply to author
Forward
0 new messages