home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / lang / pascal / 4569 < prev    next >
Encoding:
Text File  |  1992-07-27  |  1.7 KB  |  41 lines

  1. Newsgroups: comp.lang.pascal
  2. Path: sparky!uunet!cs.utexas.edu!torn!news.ccs.queensu.ca!dmurdoch
  3. From: dmurdoch@QueensU.CA (Duncan Murdoch)
  4. Subject: Re: code Scrambler?
  5. Message-ID: <Bs28AC.H8B@knot.ccs.queensu.ca>
  6. Sender: news@knot.ccs.queensu.ca (Netnews control)
  7. Organization: Queen's University, Kingston, Canada
  8. References: <31537@adm.brl.mil>
  9. Date: Mon, 27 Jul 1992 18:20:36 GMT
  10. Lines: 29
  11.  
  12. In article <31537@adm.brl.mil> J_SCHULL@acc.haverford.edu (Jonathan Schull) writes:
  13. >
  14. >I'm developing a proprietary .TPU tool.  I can't distribute the
  15. >source code, and want to make it difficult for hackers to be able
  16. >to reconstruct it by examining the .TPU file.  Are there
  17. >utilities out there for scrambling variable names, before
  18. >compiling final source code, so that there are no recognizable
  19. >variable names available used as landmarks in the TPU?
  20. >
  21. >Other approaches to suggest?
  22.  
  23. There aren't any names in a .TPU file that aren't necessary, if you
  24. compile it with the $D-,L- options.  The only names you'll get are the
  25. names of interfaced symbols and the names of units which the .TPU uses.
  26. I don't think you'd want to scramble either of those.
  27.  
  28. BTW, if you don't make source code available for your unit, there will
  29. be a large body of users (including me) who won't use it.  The nature of
  30. the .TPU design is such that it's necessarily version-specific; if I
  31. don't have the source code for all third-party units, I'm stuck in a
  32. particular TP version.  This doesn't mean you should give away source
  33. code, but please make it optionally available.  
  34.  
  35. One thing that would be useful for people in your position would be a
  36. source scrambler, that stripped comments and white space, and changed
  37. local names, but I've never seen one.
  38.  
  39. Duncan Murdoch
  40. dmurdoch@mast.queensu.ca
  41.