Skip to content

A simple sandbox for compiling and running C, C++, or Java programs using seccomp.

Notifications You must be signed in to change notification settings

airstone42/mini-sandbox

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 

Repository files navigation

mini-sandbox

Usage:
    -c                compile only
    -r                execute only
    -p                compile and run
    -l lang           set language, c, c++ or java
    -f source         source code filename
    -e executable     executable file filename or java class filename
    -d directory      java classpath argument
    -i input          input file redirection
    -o output         output file redirection
    -x error          stderr redirection

Examples:
    mini-sandbox -l c -f test.c -e test -i in.txt -o out.txt
    mini-sandbox -l java -f Main.java -e Main -i in.txt -o out.txt
    mini-sandbox -p -l java -f Main.java -e Main -d main -i in.txt -o out.txt

About

A simple sandbox for compiling and running C, C++, or Java programs using seccomp.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published