News for hackers. Stuff that matters.
Re:Making WebAssembly better for Rust and for all languages by andromeduck on Wednesday March 14, 2018 @10:04PM (#16590008)
While webasm isn't vulnurable to traditional ROP attacks, it will also lose at least as much performance penalty as IR + g-free/indirect return.

Memory protection in terms of r/w/x been solved for at least about 3 decades now. It would be absolutely trivial to enforce via binary/IR distribution.

At the end of the day webasm is just a shitty IR that only exists because it's the path of least resistance on the web. There's really no point in going from lang-> llvm -> webasm -> llvm -> exec when you can just go from lang -> llvm -> asm.

Re:Making WebAssembly better for Rust and for all languages by pcwalton on Thursday March 15, 2018 @12:10AM (#16590355)
RWX doesn't prevent ROP!
Re:Making WebAssembly better for Rust and for all languages by andromeduck on Thursday March 15, 2018 @02:25PM (#16595316)
Sure but I brought up rwx for their data execution point and g-free/indirect return for ROP mitigation.