News for hackers. Stuff that matters.
Re:JXCore LLVM JavaScript Frontend by KMag on Wednesday February 12, 2014 @07:37PM (#7228565)
Instead of arbitrary LLVM bitcode, you probably want a subset with some statically verifiable security properties, as a form of very lightweight sandboxing. Google has already created this, and calls it PNaCl.

Running arbitrary LLVM bitcode would make browser exploits trivial, unless you ran the bitcode in a sandboxed subprocess. PNaCl's sandboxing is much lighter weight than requiring IPC to interact with the browser.

EDIT: Just realized this is mostly redundant with another reply, but hopefully gives a bit more detail for those not interested in following links.

There are no comments on this comment yet.