News for hackers. Stuff that matters.
Re:Heavy lifting with McSema 2.0 by kodablah on Tuesday January 23, 2018 @04:00PM (#16217636)
I was peeking at McSema the other day. An idea I was tossing around in my head is whether I could have closed-source generic binaries run in WASM with it.

Edit: just saw I'm not the only one w/ the thought - https://twitter.com/dguido/status/497835951767695360

Re:Heavy lifting with McSema 2.0 by workthrowaway27 on Tuesday January 23, 2018 @04:09PM (#16217724)
That's a neat idea. Does WASM provide support for calling OS functions? Or would you have to emulate them somehow?
Re:Heavy lifting with McSema 2.0 by kodablah on Tuesday January 23, 2018 @05:33PM (#16218492)
Emscripten emulates syscalls in a lot of ways. I think the LLVM standalone WASM (i.e. sans emscripten) expects those to be imported but I don't remember.
Re:Heavy lifting with McSema 2.0 by tyoma on Tuesday January 23, 2018 @04:38PM (#16217969)
Maybe its possible to forge something together with emscripten?