Or we should call it 'Judge Utils'. This libray will provide various method, which will be needed in online-judge system.
See what we've got (or plan to do) currently:
- a compiler which build target from given src to some place
- a sandbox mainly based on
rlimit
andseccomp
, helps you to spawn process safely - a monitor (or judger) with sandboxes, enables you to run single part of judge test_case (if you got everything needed for judge)
Currently we are using a very normal approach by just running the following command:
strace $program_path
It will be better if we have a strace runned executor.