Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

TCL code obfuscater

Status
Not open for further replies.

johnlopez2000

Programmer
Aug 2, 2002
90
US
Does anyone have a good TCL code obfuscator?

I'd like to rip out all comments, linefeeds, and unecessary white space from a TCL program before I deploy it. I realize that this is not foolproof in keeping code "safe" from analysis, but it would help, and I think the code would also run faster. Unfortunately, because the TCL interpreter is buried in an application that the TCL code runs in, I can not create an "compiled" version of the program. Another option would be some kind of "p-code" compile like some 4GLs do.

Anything will help here.

thanks


John Lopez
Enterprise PDM & Integration Consulting
Development for MatrixOne PDM Systems
consulting4matrix@hotmail.com
 
Jonny --
You can create a compile version ..

There are programs out there that will "wrap" your tcl code, essentially creating an executable file. I've been using one for some time now -- nice thing about it: you don't need to have tcl/tk on the system you intend to run your program on. Try TclPro ...

cptk
 
Dear CPTK,

thanks for the info, however I use TCL-Pro and am familiar with the TCL psuedo-compile (actual wraps TCL source with an interpreter and bundles it all together in an EXE).

In my case, my code is running in an eMatrix database, and MUST execute through their embeded interpreter, hence no chance to "compile".

Therefore the need to a code obfuscator. I need to protect the source without compiling, particularly a license manager that I must build in since my customer is a little slow to payoff.

So, the code is eccentially human readable, but must be obfuscated to both bury the myriad functions contained therein and also any reasonable chance that they will hack my license manager.

Thanks


John Lopez
Enterprise PDM & Integration Consulting
Development for MatrixOne PDM Systems
consulting4matrix@hotmail.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top