News for hackers. Stuff that matters.
Re:Wgpu-rs on the web by postalrat on Thursday April 23, 2020 @10:54PM (#22964181)
I'm no expert but I believe in wasm memory and code are separate.
Re:Wgpu-rs on the web by pjmlp on Friday April 24, 2020 @03:13AM (#22965446)
Yes it follows Harvard architecture, still you can produce exploits by corrupting memory, no need to rewrite code, it just becomes harder to achieve them.

Basically by corrupting memory, you can achieve that the executing path changes and what was false is now true, thus influencing the outcome of what gets called and their parameters, without having to change any byte of the code.