使任意函数安全运行?

发布于 2024-12-03 12:11:22 字数 234 浏览 4 评论 0原文

我正在在线维基百科中编写我的程序的文档,我的目的是删除该内容来自程序本身,有时或按需。

为了额外的安全性,在线获取显示功能本身会很酷,但是除非我确信它们可以安全运行,即它们不会修改重要变量,进行系统调用,也不会窃取,否则我不能这样做来自用户的信息。这是在 Elisp 上实现的还是可以实现的?

I'm writing the docs of my program online, in a wiki, and my intent is to rip that content from the program itself, either from time to time or on demand.

For extra leetness, it would be cool to the get the display functions themselves online, but this I cannot do unless I'm assured that they are safe to run, ie, they won't modify important variables, make system calls, nor steal information from the user. Is this implemented on Elisp or implementable?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

浊酒尽余欢 2024-12-10 12:11:22

听起来您希望能够在沙箱中运行 elisp 代码。通过谷歌搜索,我找到了 sandbox.el。我还没有尝试过,但这可能是一个很好的起点。

It sounds like you want to be able to run your elisp code in a sandbox. A bit of googling lead me to sandbox.el. I haven't tried it, but it might be a good place to start.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文