Re: Looking for smarter tools to compare the similarity between software



Daniel T. wrote:
In article <1142198855.770946.57170@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>,
gpsabove@xxxxxxxxx wrote:

I know those kind of software that compare the software based on "codes
similarity", such as Windiff or comp. It is pretty easy to fool these
kind of tools, since if we change the variable names, or repelace while
with do, if with switch, or similar tricks to an existing software, the
tools will tell us the existing software is different from its
variants, since it compare the software based on characters and
strings.

I am looking for a smarter tools, which can do the job in a better
ways. For example, compare the memory usage and allocation of two piece
of software. So if you only do some superficial changes or facelift
works to an existing software, the tools will report the new software
is very similar to its precedent, and better to give a number to
represent the similarity. Anybody heard of this kind of tools?

Why don't you write something that loads in and compares the object
code? Something like that might work but I don't know for sure...

Well, someone can still permute the order of functions. Your diff util
might be able to detect the code motion anyways, but it will fail to
deal with code segment relative data offsets (which is now an issue
with AMD64).

--
Paul Hsieh
http://www.pobox.com/~qed/
http://bstring.sf.net/

.



Relevant Pages


Loading