scala_school2 icon indicating copy to clipboard operation
scala_school2 copied to clipboard

Interpreter sandbox

Open mergeconflict opened this issue 11 years ago • 1 comments

Users shouldn't be allowed to troll like:

System.exit(0)

or

while (true) println("LOL")

or

val f = new File("/")
f.delete()

I think we should be able to use levee (forked to GitHub here) for this...

mergeconflict avatar Jun 28 '13 22:06 mergeconflict

@andrewnguyen I think we're getting close. We shouldn't load levee-instrumentor as an agent. Instead I think we should override IMain's classloader, and call into levee-instrumentor there.

mergeconflict avatar Jul 11 '13 08:07 mergeconflict