konsoletyper / teavm

Compiles Java bytecode to JavaScript, WebAssembly and C
https://teavm.org
Apache License 2.0
2.55k stars 262 forks source link

Add obfuscated mode for WebAssembly #807

Open konsoletyper opened 8 months ago

konsoletyper commented 8 months ago

In this mode, all call site information should be stripped. This will result in peculiar stack traces in exceptions, but will also reduce security risks and wasm file size. An extra tool can be used to de-obfuscate stack traces (together with additional JSON, produced by compiler). This is how things exactly work in C backend.