wasmdec

WebAssembly to C decompiler (by wwwg)

Wasmdec Alternatives

Similar projects and alternatives to wasmdec

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better wasmdec alternative or higher similarity.

wasmdec reviews and mentions

Posts with mentions or reviews of wasmdec. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-11-11.
  • Capturing the WebGPU Ecosystem
    9 projects | news.ycombinator.com | 11 Nov 2023
    I think you're missing a good amount of nuance here

    minified JS can be turned into reasonable JS, yes, but you're probably not going to get TypeScript code back, so the same sort of challenge exists there.

    Assembly -> high-level language is harder, but there are absolutely binary -> C decompilers that are very popular/used in the RE community to make changes to existing programs.

    But that doesn't even matter, WASM is much higher level than assembly, it's a stack machine, there is no arbitrary control flow / labels / `goto`, there are pre-defined data types, etc. all of this means it's easier to convert WASM -> high-level language than it is with a generic x86/arm binary.

    There are WASM decompilers[0][1] which can convert WASM binaries into C code and back.

    In both cases (minified JS and WASM), you're not going to get out exactly what you put in, but WASM doesn't really change the situation very much given the widespread adoption of 'compile to JS' languages like TypeScript these days.

    [0] https://chromium.googlesource.com/external/github.com/WebAss...

    [1] https://github.com/wwwg/wasmdec

  • Would rewriting a JS library in WASM(Rust) provide sufficient obfuscation?
    3 projects | /r/webdev | 28 Dec 2022
    There are wasm2c and wasmdec that decompile to C. There is also rewasm, which decompiles WASM to Rust. But I don't know if they can reconstruct non-trivial logic, e.g. shapes of structures.
  • Wasmdec: Converts WebAssembly binaries to C (2018)
    1 project | news.ycombinator.com | 16 Apr 2022
  • Alternative for an existing plugin
    2 projects | /r/ReverseEngineering | 2 Aug 2021
    Have you considered just transpiling it to C? Assuming it's the pseudocode you're after, that should be enough by itself. You could also lift it and recompile to whatever your preferred architecture is.
  • 152kb WebAssembly interpreter that runs on six OSs with Cosmopolitan
    5 projects | news.ycombinator.com | 28 Feb 2021
    This is not less portable and will beat any wasm interpreter in terms of speed: https://github.com/wwwg/wasmdec
  • A note from our sponsor - InfluxDB
    www.influxdata.com | 2 May 2024
    Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality. Learn more →

Stats

Basic wasmdec repo stats
5
389
0.0
3 months ago

wwwg/wasmdec is an open source project licensed under MIT License which is an OSI approved license.

The primary programming language of wasmdec is C++.


Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com