Attributes for Inner Classes

48 views
Skip to first unread message

Mike Strobel

unread,
Sep 18, 2013, 1:29:11 PM9/18/13
to dare-a...@googlegroups.com
Hello,

I author a Java decompiler called Procyon, and this morning someone reported an issue wherein inner classes converted with Dare are not being decompiled inline as expected.  Looking at the converted `.class` files, it seems that Dare does not emit InnerClasses attributes (JVMS 4.7.6).  Some tools, including Procyon, rely on the presence of these attributes to distinguish inner classes from other classes.  Dare also does not appear to emit the EnclosingMethod attribute (JVMS 4.7.7) for local classes, though this is generally of less importance.

Emitting these attributes would improve Dare's ability to interoperate smoothly with other bytecode analysis tools.  Is this a planned feature?

Cheers,
Mike Strobel

Dalvik Retargeting (Dare)

unread,
Sep 18, 2013, 10:53:36 PM9/18/13
to dare-a...@googlegroups.com
Hi Mike,

It is indeed something that I'd like to add, so I've created a feature request on the Dare Github repository.

Best,
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/9bc83df9-bae1-4ddf-b23b-d6d876558a84%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply all
Reply to author
Forward
0 new messages