News for hackers. Stuff that matters.
Re:Heavy lifting with McSema 2.0 by tyoma on Tuesday January 23, 2018 @03:49PM (#16217551)
One of the McSema contributors here.

McSema 2.0 has been a very big release for us with a complete re-architecture of how we do instruction semantics definitions and lifting. Aside from architectural improvements, it is also much faster than before!

Transpiling from x86-64 <-> AArch64 has been something we thought should be possible and we were very excited to get it working.

We're planning some more blog posts in the near future to talk about other McSema features and some use cases for x86 to LLVM translation.

Re:Heavy lifting with McSema 2.0 by mike-myers on Tuesday January 23, 2018 @03:35PM (#16217407)
Decompiler authors should take a look at the library, Remill, released with McSema 2.0. It lifts more of x86-64 than RetDec or fcd currently do.
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?
Re:Heavy lifting with McSema 2.0 by kristianp on Wednesday January 24, 2018 @12:28AM (#16220549)
Is the name of this product a play on Macsyma[1]?

[1] https://en.wikipedia.org/wiki/Macsyma

Re:Heavy lifting with McSema 2.0 by k4st on Wednesday January 24, 2018 @02:55PM (#16225743)
No, it's closer to [m]achine [c]ode [sema]ntics.