> Hi all,
> I recently had to 'de-obfuscate'(not exactly, may be I can
[quoted text clipped - 7 lines]
>
> I think this is not a valid code.
It's not.
> Can anyone please tell me which decompiler I can use so that i don't get such instructions. I don't
> need the code to be de-obfuscated(which I know is impossible), but to
> be a compiling, decompiled class file.
AFAIK, no Java decompiler is capable of producing fully working code in
mildly-obfuscated cases. For this reason, I prefer to decompile any
complex code by hand from the output of "javap -c"; it's long but is
probably more correct.
> In the code above, if I were to remove all the goto's, should I
> arrange those scraps of codes in the same sequential manner the goto's
> occur. Or, are the goto's a ruse of the obfuscation, so that i may
> ignore the occurrence and the arrangement of gotos.
I would try to rearrange the goto's together, although the usage of the
goto's instead of actual code implies irreducible graph configurations
that complicate things.
> Thanks,
> Ramesh
Ramesh - 05 May 2007 08:48 GMT
> > Hi all,
> > I recently had to 'de-obfuscate'(not exactly, may be I can
[quoted text clipped - 30 lines]
> > Thanks,
> > Ramesh
Thanks Cranmer! I used the javap and got it broken down into bytecode
instructions. I need to remove certain instructions from them. Can you
point me to some links where I can find more about editing bytecodes?
I want this thing for java 1.5. I have taken a look into the JVM specs
by sun.