Xref: utzoo comp.unix.programmer:2145 comp.lang.c:40483 Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!caen!spool.mu.edu!snorkelwacker.mit.edu!bloom-picayune.mit.edu!news From: mlevin@jade.tufts.edu Newsgroups: comp.unix.programmer,comp.lang.c Subject: methods for putting labels into your software? Message-ID: <1991Jun26.165609.9692@athena.mit.edu> Date: 26 Jun 91 16:56:09 GMT Article-I.D.: athena.1991Jun26.165609.9692 Sender: news@athena.mit.edu (News system) Distribution: usa Organization: Me, Myself, and I, inc. Lines: 14 I'd like to hear suggestions, or any tricks that the pros out there know about, for putting some kind of text label or code into your executable (compiled and linked from C code) so that if anyone were to copy a part of the code, you could know it was a copy by somehow seeking out that label. For example, I guess you could probably define a static string in your C program which contained a code word, and then you could know if a given program was copied from yours by doing "strings a.out | grep keyword" or something. I am looking for ideas that are less obvious to detect - a method such that someone copying the code wasn't likely to notice and edit out (with a patch or something). Any ideas would be appreciated. Mike Levin