jeb 4.18 enumeration class decompilation bug

27 views
Skip to first unread message

bhwxha

unread,
Jul 7, 2022, 4:30:28 AMJul 7
to JEB Decompiler

com.qq.e.comm.plugin.a.d.a(com.qq.e.comm.managers.GDTADManager, org.json.JSONObject, com.qq.e.comm.plugin.a.c) : void 

jadx:
jadx.png

First, look at the enumeration class com.qq.e.comm.plugin.i.b

jeb com.qq.e.comm.plugin.i.b.png

Go back to the method code, compare the above jadx pseudocode, you can see that the imei is incorrectly translated to a.
This includes the following translations of enumeration class member properties, all of which are incorrect.

jeb.png

Please fix the relevant bugs as soon as possible, thank you!

Nicolas Falliere

unread,
Jul 13, 2022, 9:54:13 AMJul 13
to bhwxha, JEB Decompiler
Hello,

This is not a bug although I understand it does look like one! For obfuscated enums, the recovered enumeration names are only displayed within the enum itself. If you decide to use them, you need to edit the enum entries, and replace the original name (that is right, the original name would be displayed in the Rename pop-up), and input the new input as a way to confirm that you want to use it.
That was the intended behavior, since enum names may be considered untrustworthy meta-data. However, I'll look into adding support to allow the user to auto-rename all enum fields to their recovered names.

Best regards,
--
Nicolas Falliere (ni...@pnfsoftware.com)
JEB Decompiler, Founder and Architect


--
You received this message because you are subscribed to the Google Groups "JEB Decompiler" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jeb-decompile...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jeb-decompiler/d48ae987-cdd3-49f2-9d79-fe6826123c2bn%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages