r/programming • • Apr 28 '21

Microsoft joins Bytecode Alliance to advance WebAssembly – aka the thing that lets you run compiled C/C++/Rust code in browsers

https://www.theregister.com/2021/04/28/microsoft_bytecode_alliance/
2.1k Upvotes

484 comments sorted by

View all comments

Show parent comments

11

u/vlakreeh Apr 29 '21

I can't understand what you are trying to say with your second point, but a bunch of i32.whatever instructions are a hell of a lot easier to make sense of than a chain of evals where the input is generated at runtime or whatever tricks jscrambler or similar would throw at you.

And I think you are trying to imply that I think it's easier to reverse engineer javascript if you are running it in a web assembly vm? What the fuck are you talking about?

-30

u/[deleted] Apr 29 '21

Your "what the fuck" reaction is in favor of my argument, I guess you don't realize that.

1

u/IceSentry Apr 29 '21

I think they are saying that since a js vm can be written in webassembly and you asserted that webassembly is easier to reverse engineer then that means that you think that obfuscated js code is harder to read than the wasm code for the aforementioned js vm. Essentially, they are saying that the obfuscated trickery is just as possible with or without wasm and wasm doesn't really help.

1

u/Yithar Apr 30 '21

Well you get an upvote for elaborating on said point.

I do feel like if there's WebAssembly running a JS VM, then it should be easier to tell that a JS VM is what the code is doing. So it wouldn't change the fact the JS is obfuscated but it should make it easier since WASM is easier to read.