5 ms·
But if the WASM was compiled from javascript or some other language that isn't very C-like then the de-compiled C or C++ code is going to be very difficult to f
by voxic11 7y ago
But if the WASM was compiled from javascript or some other language that isn't very C-like then the de-compiled C or C++ code is going to be very difficult to follow.
At the very least with obfuscated javascript you are going from js => js => js. Rather then from js => WASM => C++.
- iudqnolq 7y agoBut going to c instead of js is an implentation technicality. If WASM becomes commonplace I'd be shocked if some group of kind souls doesn't open source a decompiler to minified js .
- coolreader18 7y agoThere already is a compiler from wasm to asm.js, so I assume it wouldn't be too difficult to go from wasm to more typical js.
- iudqnolq 7y agoGood to know!
- jcranmer 7y agoYou're not going from JS to WASM, you're going from C/C++/Rust to WASM.