Decompiling Deuce bytecode

6 views
Skip to first unread message

Arie Zilberstein

unread,
Oct 15, 2009, 10:11:59 AM10/15/09
to deuce-stm-...@googlegroups.com

Hi,

 

In order to better understand the transformations that Deuce is performing, I'd like to decompile the .class files that it generates in offline mode. However this proves very difficult. I have tried 3 different decompilers (jad, jd, dava) and neither one can stomach Deuce's bytecode output J

 

Jad – crashes on the FieldsHolder classes, gives incorrect results for the augmented methods (those that accept Context).

Jd – doesn't crash, but all FieldsHolders are empty, and all augmented methods are silently missing from its output.

Dava – crashes while looking for field x__ADDRESS__.

 

Did anyone have any luck decompiling Deuce's output?

 

Thanks,

Arie

Pascal Felber

unread,
Oct 15, 2009, 6:23:02 PM10/15/09
to deuce-stm-...@googlegroups.com
Hi,

I successfully used JD with previous versions of Deuce but did not try
with the latest one. Decompilers likely fail because Deuce generate
code that, although valid, is unlike anything a compiler would produce.

You can simply use javap -c, but it requires some familiarity with
Java bytecode.

Pascal
Reply all
Reply to author
Forward
0 new messages