Hacker News new | ask | show | jobs
by andromeduck 3021 days ago
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.

1 comments

RWX doesn't prevent ROP!
Sure but I brought up rwx for their data execution point and g-free/indirect return for ROP mitigation.