Re: Comparing class files for equivalence



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.
.



Relevant Pages

  • Re: C# Faster Than VB?
    ... > and coding preference? ... I understand that all languages are compiled to ... Due to minor differences in the compilers ...
    (microsoft.public.dotnet.framework)
  • Comparing class files for equivalence
    ... 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 ... found a lot of differences in the decompiled source code that do not ... Prev by Date: ...
    (comp.lang.java.softwaretools)