obfuscation with non-stubs enabled extensions

obfuscation with non-stubs enabled extensions

Post by John Dougl » Thu, 20 May 2004 12:14:43


I believe I have two options if I wish to conceal the tcl source code when
distributing an application:
1. wrapping my app into a starkit and executing it with a tclkit;
2. obfuscating my application
Wrapping does not work if the app is dependent on any extensions that are
not stub enabled.
(I tried tclkit and dqkit. These successfully wrap the interpreter only, not
a stub dependent app.)

My question is can obfuscating work with a non-stub enabled dependent
application?
And can this be done if an application has multiple source files?
Will the ActiveState Tcl Dev Kit Compiler do this?

Specifically, my desire is to wrap or conceal tcl source that uses BLT.
I've tried unsuccessfully to find the stubs enabled version of BLT. (It
seems to have mysteriously vanished. All web and comp.lang.tcl archive
references to the once existing source and binary lead to dead-ends. I'm
about ready to give up, sadly and frustratedly say goodbye to BLT, and
convert my code to make us of plplot and treecontrol.)

Thanks,
Doug
 
 
 

obfuscation with non-stubs enabled extensions

Post by Gerald W. » Thu, 20 May 2004 13:01:26


You want the byte compiler and the bload command.

--
+--------------------------------+---------------------------------------+
| Gerald W. Lester | "The man who fights for his ideals is |
| XXXX@XXXXX.COM | the man who is alive." -- Cervantes |
+--------------------------------+---------------------------------------+

 
 
 

obfuscation with non-stubs enabled extensions

Post by jcw » Thu, 20 May 2004 19:32:01

"John Douglas" < XXXX@XXXXX.COM > wrote...
[...]

I'm confused, dqkit contains BLT - so it should be able to do #1 *and* BLT.

- use dqkit, create a starkit (or starpack with dqkit as base)
- include tbcload extension
- use prowrap/tcldevkit to byte-compile


There isn't one, AFAIK. And it's probably not entirely trivial, either.
The person to contact is George Howlett, BLT's author.

-jcw
 
 
 

obfuscation with non-stubs enabled extensions

Post by John Dougl » Mon, 24 May 2004 12:59:17

> > (I tried tclkit and dqkit. These successfully wrap the interpreter only,
not
BLT.

Yes. I was using it incorrectly as though it were a tclkit. This dqkit
skeleton example
http://www.yqcomputer.com/
shows how to use dqkit.


There was at one time according to the archives...

Thanks,
Doug