Click here to Skip to main content
15,907,183 members
Home / Discussions / C#
   

C#

 
AnswerRe: Bindng and display problem Pin
Wendelius14-Jan-09 11:28
mentorWendelius14-Jan-09 11:28 
GeneralRe: Bindng and display problem Pin
wi5nia14-Jan-09 11:31
wi5nia14-Jan-09 11:31 
GeneralRe: Bindng and display problem Pin
Wendelius14-Jan-09 11:44
mentorWendelius14-Jan-09 11:44 
GeneralRe: Bindng and display problem Pin
wi5nia14-Jan-09 11:53
wi5nia14-Jan-09 11:53 
GeneralRe: Bindng and display problem Pin
Wendelius14-Jan-09 12:00
mentorWendelius14-Jan-09 12:00 
QuestionXDate in ZedGraph Pin
Rayya14-Jan-09 9:23
Rayya14-Jan-09 9:23 
AnswerRe: XDate in ZedGraph Pin
EliottA14-Jan-09 12:44
EliottA14-Jan-09 12:44 
QuestionTelephone answering mechine service c# Pin
rikigr414-Jan-09 8:40
rikigr414-Jan-09 8:40 
AnswerRe: Telephone answering mechine service c# Pin
#realJSOP14-Jan-09 9:46
professional#realJSOP14-Jan-09 9:46 
GeneralRe: Telephone answering mechine service c# Pin
User 665814-Jan-09 10:09
User 665814-Jan-09 10:09 
AnswerRe: Telephone answering mechine service c# Pin
Rutvik Dave14-Jan-09 11:18
professionalRutvik Dave14-Jan-09 11:18 
GeneralRe: Telephone answering mechine service c# Pin
rikigr414-Jan-09 21:18
rikigr414-Jan-09 21:18 
GeneralRe: Telephone answering mechine service c# Pin
yafa15-Jan-09 4:03
yafa15-Jan-09 4:03 
AnswerRe: Telephone answering mechine service c# Pin
gisa shel riki14-Jan-09 22:08
gisa shel riki14-Jan-09 22:08 
QuestionHow to determine if two C# exe come from the same source Pin
cwster14-Jan-09 8:03
cwster14-Jan-09 8:03 
AnswerRe: How to determine if two C# exe come from the same source Pin
Scott Dorman14-Jan-09 9:00
professionalScott Dorman14-Jan-09 9:00 
GeneralRe: How to determine if two C# exe come from the same source Pin
cwster14-Jan-09 9:39
cwster14-Jan-09 9:39 
GeneralRe: How to determine if two C# exe come from the same source Pin
Scott Dorman14-Jan-09 9:43
professionalScott Dorman14-Jan-09 9:43 
GeneralRe: How to determine if two C# exe come from the same source Pin
cwster14-Jan-09 9:54
cwster14-Jan-09 9:54 
GeneralRe: How to determine if two C# exe come from the same source Pin
Scott Dorman14-Jan-09 9:57
professionalScott Dorman14-Jan-09 9:57 
GeneralRe: How to determine if two C# exe come from the same source Pin
Dave Kreskowiak14-Jan-09 10:35
mveDave Kreskowiak14-Jan-09 10:35 
AnswerRe: How to determine if two C# exe come from the same source [modified] Pin
Luc Pattyn14-Jan-09 9:07
sitebuilderLuc Pattyn14-Jan-09 9:07 
GeneralRe: How to determine if two C# exe come from the same source Pin
cwster14-Jan-09 9:46
cwster14-Jan-09 9:46 
AnswerRe: How to determine if two C# exe come from the same source [modified] Pin
Luc Pattyn14-Jan-09 9:59
sitebuilderLuc Pattyn14-Jan-09 9:59 
Hi,


cwster wrote:
It's fairly common, at least in the embedded development world, to compare "executables" in this manner,


I am aware of that, however the original question seemed very general; under controlled circumstances
(same PC, same tools, same settings, etc, the only possible difference is in one or more source files) one can do much better obviously.

On the other hand, COFF/IntelHex/whatever you use to download code would be much simpler than the
Windows Portable Executable file format.

But anyway, I can always come up with a different source that results in an "exe" that is so similar that no tool in the world will be able to tell whether the original source file was used or not.
(comments, local var names, declaration order, etc etc).

Suggestion: calculate checksums for each source file (use a separate tool that runs before building
the "exe", and somehow add a DATA section that gets to contain those checksums (this is not hard
when another little tool creates a new source file from all the checksums, possibly using
assembly code or linker commands).

Alternative: you could replace checksums by embedded version numbers, if you would trust those.
That would require e.g. an editor that always increments the version number automatically.

Smile | :)
Luc Pattyn [Forum Guidelines] [My Articles]

I use ListBoxes for line-oriented text (not TextBoxes), and PictureBoxes for pictures (not drawings).


modified on Friday, June 10, 2011 12:26 PM

AnswerRe: How to determine if two C# exe come from the same source Pin
#realJSOP14-Jan-09 9:46
professional#realJSOP14-Jan-09 9:46 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.