首页 开发技术 其它     /    simple-sandbox:具有Node.jsAPI的简单Linux沙箱-源码

simple-sandbox:具有Node.jsAPI的简单Linux沙箱-源码

上传者: weixin_42102220 | 上传时间:2023/9/14 12:31:22 | 文件大小:41KB | 文件类型:ZIP
C++
simple-sandbox:具有Node.jsAPI的简单Linux沙箱-源码
简单沙箱一个带有Node.jsAPI的简单Linux沙箱。
由SYZOJ使用。
先决条件配套您需要在系统中安装build-essentials(g++,make等)和fmt库才能构建C++部分。
所需的最低g++版本是g++-8。
建议使用支持C++17文件系统的较新版本的clang++。
安装它们的方式(在Ubuntu18.04中):aptinstallbuild-essentialclang++-9libfmt-dev核心您需要在内核中启用内存交换帐户(在Debian8中默认为禁用)。
您可以通过检查是否存在/sys/fs/cgroup/memory/memory.memsw.usage_in_bytes来验证这/sys/fs/cgroup/memory/memory.memsw.usage_in_bytes如果该文件不存在,则可能

文件下载

资源详情

[{"title":"(26个子文件41KB)simple-sandbox:具有Node.jsAPI的简单Linux沙箱-源码","children":[{"title":"simple-sandbox-master","children":[{"title":"yarn.lock <span style='color:#111;'>37.25KB</span>","children":null,"spread":false},{"title":"src","children":[{"title":"interfaces.ts <span style='color:#111;'>5.03KB</span>","children":null,"spread":false},{"title":"utils.ts <span style='color:#111;'>102B</span>","children":null,"spread":false},{"title":"index.ts <span style='color:#111;'>1.57KB</span>","children":null,"spread":false},{"title":"nativeAddon.ts <span style='color:#111;'>114B</span>","children":null,"spread":false},{"title":"tsconfig.json <span style='color:#111;'>333B</span>","children":null,"spread":false},{"title":"sandboxProcess.ts <span style='color:#111;'>5.07KB</span>","children":null,"spread":false}],"spread":true},{"title":".vscode","children":[{"title":"settings.json <span style='color:#111;'>1.09KB</span>","children":null,"spread":false}],"spread":true},{"title":".npmignore <span style='color:#111;'>1.08KB</span>","children":null,"spread":false},{"title":"demo","children":[{"title":"demo.js <span style='color:#111;'>1.92KB</span>","children":null,"spread":false}],"spread":true},{"title":"CMakeLists.txt <span style='color:#111;'>805B</span>","children":null,"spread":false},{"title":"LICENSE <span style='color:#111;'>1.04KB</span>","children":null,"spread":false},{"title":"README.md <span style='color:#111;'>3.47KB</span>","children":null,"spread":false},{"title":".gitignore <span style='color:#111;'>1.17KB</span>","children":null,"spread":false},{"title":"native","children":[{"title":"sandbox.h <span style='color:#111;'>3.73KB</span>","children":null,"spread":false},{"title":"pipe.cc <span style='color:#111;'>500B</span>","children":null,"spread":false},{"title":"sandbox.cc <span style='color:#111;'>13.30KB</span>","children":null,"spread":false},{"title":"addon.cc <span style='color:#111;'>9.14KB</span>","children":null,"spread":false},{"title":"cgroup.h <span style='color:#111;'>1.26KB</span>","children":null,"spread":false},{"title":"cgroup.cc <span style='color:#111;'>5.69KB</span>","children":null,"spread":false},{"title":"semaphore.h <span style='color:#111;'>275B</span>","children":null,"spread":false},{"title":"pipe.h <span style='color:#111;'>177B</span>","children":null,"spread":false},{"title":"utils.h <span style='color:#111;'>1.23KB</span>","children":null,"spread":false},{"title":"semaphore.cc <span style='color:#111;'>1.71KB</span>","children":null,"spread":false},{"title":"utils.cc <span style='color:#111;'>1019B</span>","children":null,"spread":false}],"spread":false},{"title":"package.json <span style='color:#111;'>804B</span>","children":null,"spread":false}],"spread":false}],"spread":true}]

评论信息

免责申明

【好快吧下载】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【好快吧下载】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【好快吧下载】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,8686821#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明