• ripe_banana@lemmy.world
    link
    fedilink
    arrow-up
    3
    ·
    1 year ago

    Hmm i guess I just haven’t spent enough time trying to parse unminified js.

    I still would think though, if the code is simple enough to understand when you unminify the js, equivalent code should be similarly simple to understand if it’s wasm passed through IDA.

    • FooBarrington@lemmy.world
      link
      fedilink
      arrow-up
      3
      ·
      edit-2
      1 year ago

      You lose way more information during compilation than you do during minification. This makes reversing the latter much easier than the former.

      Remember that JS is much, much higher level than WASM is. Each language will have their own special behaviours and constructs when compiled to WASM, so reversing an algorithm can look completely differently depending on the source language and environment.

      • ripe_banana@lemmy.world
        link
        fedilink
        arrow-up
        2
        ·
        1 year ago

        Ya, okay that is understandable.

        To be honest I have never tried a wasm reversing challenge. I may need to give it a shot.