强大、安全、领先的评测机
Go to file
2020-10-28 18:56:19 +08:00
example 添加示例,添加 cpp 系统调用 2020-10-28 15:51:08 +08:00
plugins/js add js compiler 2020-10-28 18:56:19 +08:00
proto Update 2020-10-22 10:39:29 +00:00
runner Update 2020-08-30 18:15:48 +08:00
src add js compiler 2020-10-28 18:56:19 +08:00
.gitignore Update 2020-10-22 10:01:18 +00:00
build.rs Update 2020-08-22 23:22:59 +08:00
Cargo.toml Update 2020-10-22 10:01:18 +00:00
Dockerfile 移除对 macOS 的支持(因为关键的特性做不到) 2020-09-07 17:44:41 +08:00
LICENSE Initial commit 2020-01-23 23:06:24 +08:00
README.md 更改日志输出 2020-10-27 17:56:23 +08:00

river

环境要求

  • linux

Example

{
  "language": 0,
  "judge_type": 0,
  "compile_data": {
    "code": "I2luY2x1ZGUgPHN0ZGlvLmg+CmludCBtYWluKCkgewogIHByaW50ZigiSGVsbG8gV29ybGQhXG4iKTsKICByZXR1cm4gMDsKfQ=="
  },
  "judge_data": {
    "in_data": "SGVsbG8gV29ybGQh",
    "out_data": "SGVsbG8gV29ybGQh",
    "time_limit": 1000,
    "memory_limit": 65535
  }
}

TODOs

已经完成基本功能,后续需要优化

  • 基于 ptrace 的精准内存测量
  • 基于 cgroups 的资源控制
  • 用户、组限制
  • 示例代码
  • 安全测试
  • 优化 args 生成代码,减少测量出的用户代码执行时间
  • special judge
  • docker 部署
  • 更多语言支持
  • 使用配置文件配置语言