Lab · TypeScript · React · Linux syscalls

Syscall Sandbox Visualizer

ดูทีละขั้นว่า online judge ใช้ fork, setrlimit, seccomp และ execve กันโค้ดอันตรายอย่างไร ลองส่งลูปไม่รู้จบหรือ fork bomb แล้วดูผลได้เลยStep through how an online judge uses fork, setrlimit, seccomp and execve to contain hostile code — try an infinite loop or a fork bomb.

1. เลือกโค้ดที่จะส่งเข้า judge
main.c
int main(void) {
  volatile long i = 0;
  while (1) i++;   // never ends
}

CPU ≤ 1sRAM ≤ 64 MBseccomp: allow-list

กด “ขั้นต่อไป” หรือ “เล่นอัตโนมัติ” เพื่อเริ่ม