Commit Graph

37 Commits

Author SHA1 Message Date
Mikucat
4fcc6e5be2
chore: use pyproject.toml 2024-01-16 11:58:36 +08:00
Mikucat
bc4158fc10
chore: follow PEP 8 package name rule 2024-01-16 11:58:36 +08:00
rainboy
831d2fb729 add readme 📝 2019-04-26 15:43:57 +08:00
rainboy
0aec31f8ea add nodejs test 1 2019-04-26 15:28:35 +08:00
rainboy
d6a3151506 upgrade code format 2019-04-26 15:09:43 +08:00
rainboy
d54b84ab58 use popen to run libjudger.so 2019-04-26 10:54:40 +08:00
rainboy
1dce5f71e3 judger nodejs binding initialize 🎉 2019-04-25 10:14:09 +08:00
virusdefender
c2923381e3 update to 2.0.1 2018-03-23 19:41:54 +08:00
virusdefender
66e6e32ebd add memory limit check only 2018-03-23 18:10:00 +08:00
virusdefender
72a387336a fix memory
add tests
2017-12-20 23:01:05 +08:00
virusdefender
d7c8e51e1d update binding 2017-11-29 15:12:13 +08:00
virusdefender
64eeead91e fix multi bugs
- wrong function return type in Python binding
 - wrong argument number in logger.h
 - add unlimit value check for stack size limit
2017-10-14 21:05:49 +08:00
virusdefender
1b3f8de5e5 fix error data type in Python binding 2017-08-14 13:53:57 +08:00
virusdefender
099ec07db7 add stack size limit 2017-05-06 12:16:58 +08:00
virusdefender
0b1c8ad5fc Python3 use unicode and Python2 use string 2017-04-30 20:34:00 +08:00
ShadowPower
f31135d3a0 fixed reference count 2017-04-30 12:29:34 +08:00
ShadowPower
2deba8dcca Make binding compatible with Python 3 2017-04-30 02:57:55 +08:00
xudianc
3046fde4b4 替换_BSD_SOURCE (#7) 2017-03-31 14:02:14 +08:00
virusdefender
c015447307 add args and env number limit 2016-11-05 09:27:51 +08:00
avaicode
52535d7de8 Lua binding's style and compatibility
- Now it support both lua 5.1 and 5.3(5.2 for sure)
- Constant is provided in another way
2016-10-26 21:17:12 +08:00
Yanghe Sun
121cb2d089 Port to lua is written (#5)
Lua binding by @avaicode

 - Missing break between table and nil added
 - Fixed many small things int the port to Lua
 - Now it will check if args and env is a true list
 - Rename judge to run(the same as python's binding)
 - Removed a useless argument
2016-10-24 11:19:48 +08:00
LiYang
c2520c9c1f 修复部分typo并增加了Python binding中的部分常量 2016-10-13 22:26:51 +08:00
LiYang
de0b62e61a 使用原生fork模式 2016-10-07 19:25:55 +08:00
LiYang
191b4bda0d 重构seccomp部分 2016-10-07 17:19:41 +08:00
LiYang
87719790b3 回滚Python引用计数的部分代码,可能会导致部分内存异常释放的 2016-10-07 14:58:09 +08:00
LiYang
66798a0fe4 fix typo 2016-10-05 00:06:50 +08:00
LiYang
5539bd9934 增加wa和spj_error的code 2016-10-04 23:23:34 +08:00
LiYang
2d09134192 fix typo 2016-10-04 12:59:30 +08:00
LiYang
d23bacd8d5 尝试修复Python binding中的部分内存泄露 2016-10-03 23:33:05 +08:00
LiYang
8e5b45adea fix some typo 2016-09-02 17:33:48 +08:00
LiYang
d9b448a508 修改部分变量名 2016-08-26 22:14:50 +08:00
LiYang
be50b98f66 增加版本号 2016-08-26 21:50:45 +08:00
LiYang
9eaf64ffe2 增加集成测试和部分超时测试 2016-08-23 14:45:13 +08:00
LiYang
055af3fab9 增加一些测试用例 2016-08-23 13:28:22 +08:00
LiYang
fc6ae2e8a0 seccomp_rule_so_path可以为NULL 2016-08-22 13:15:19 +08:00
LiYang
4b55b84f5f 修补重名问题;增加部分常量 2016-08-22 12:55:47 +08:00
LiYang
69713edb78 初步完成Python binding
增加单元测试基础
2016-08-21 18:53:21 +08:00