Re: Comparing class files for equivalence
- From: Roedy Green <look-on@xxxxxxxxxxxxxxxxxxxx>
- Date: Wed, 14 Sep 2005 20:24:26 GMT
On 14 Sep 2005 04:16:33 -0700, "Mahmoud Abdel-Fattah"
<mahmoud.afattah@xxxxxxxxx> wrote or quoted :
>I have a group of class files that were apparently compiled with two
>different compilers, and I want to know if these files were compiled
>out of the same source files. I tried decompiling them with jad, but I
>found a lot of differences in the decompiled source code that do not
>eventually change the logic behind the code. Is there a way somebody
>may suggest to test two groups of classes for having equivalent logic?
>Are there any tools that do equivalence checking of two classes?
What happens if you decompile them both and recompile them with the
same compiler, say JET which might optimise out the minor differences.
--
Canadian Mind Products, Roedy Green.
http://mindprod.com Again taking new Java programming contracts.
.
- Follow-Ups:
- Re: Comparing class files for equivalence
- From: Mahmoud Abdel-Fattah
- Re: Comparing class files for equivalence
- References:
- Comparing class files for equivalence
- From: Mahmoud Abdel-Fattah
- Comparing class files for equivalence
- Prev by Date: Re: Eclipse/CVS/Ant
- Next by Date: Look what I found, free grid java applet !
- Previous by thread: Comparing class files for equivalence
- Next by thread: Re: Comparing class files for equivalence
- Index(es):
Relevant Pages
|