Protect.exe 用于 AutoLISP 代码保护
我正在为 IntelliCAD 联盟的成员开发一个基于 LISP 的架构包。 根据我在网站上找到的建议,我使用 Kelvinator 来格式化和伪装一些代码。 现在我尝试使用 Protect.exe 来加密代码。 该exe似乎可以工作,直到我尝试在输出文件名中使用文件夹名称:
protect es.lsp L kelvinated\protected\es.lsp
首先,我可以这样做吗? Protect.exe 会像这样工作吗?还是输入和输出文件必须位于同一文件夹中?
另外,有一次我尝试了此操作,但收到了“堆栈溢出”错误。 因此,我在这里。
I am developing an architectural LISP-based package for a member of the IntelliCAD consortium. Per recommendations I have found on websites, I have used the Kelvinator to deformat and disguise some of the code. Now I am attempting to use Protect.exe to encrypt the code. The exe seemed to work until I tried to put use a folder name in the output file name thus:
protect es.lsp L kelvinated\protected\es.lsp
First of all, can I do this? Will protect.exe work like this, or do the input and output file have to be in the same folder?
Also, one time I tried this and I got a "stack overflow" error. Therefore, I am here.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
Kelvinator/protect 等都是相当老的实用程序,你知道它们上次更新是什么时候吗? 副标题,他们可能会期待老式的 8.3 文件/文件夹名称。
至于“这会起作用吗?”,我不能说,因为我在为其他人编写 lisp 时使用不同的方案来保护我的工作(vlx/fas、bricscad 的加密器、我自己的加载器/混淆器......)。
在这种情况下,堆栈溢出表明存在递归错误,也许是在它尝试协调您提供的路径时。
您是否尝试过使用 DOS 短路径? 将路径放在引号中? 使用正斜杠? 使用双反斜杠?
如果传递“/”会发生什么? (和替代)在命令行上,它提供任何帮助吗?
最后,如果它拒绝处理文件,除非它们共享相同的目录,您总是可以在前端使用一个批处理文件来为您做家务。
迈克尔.
Kelvinator/protect et al are pretty old utilities, do you know the last time they were updated? Subtitle, they may expect old school 8.3 file / folder names.
As for "will this work?", I cannot say, as I use different schemes to protect my work when writing lisp for others (vlx/fas, bricscad's encryptor, my own loader / obfuscators ...).
A stack overflow in this context suggests a recursion error, perhaps when it tries to reconcile the pathing you're providing.
Have you tried to use the DOS short path? Putting the path in quotes? Using forward slashes? Using double backslashes?
What happens if you pass "/?" (and alternates) on the command line, does it provide any help?
Finally, if it refuses to process the files unless they share they same directory you could always front end with with a batch file that does the housekeeping for you.
Michael.