this post was submitted on 17 Sep 2023
50 points (89.1% liked)

Programming

17326 readers
235 users here now

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities !webdev@programming.dev



founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] ripe_banana@lemmy.world 3 points 1 year ago (1 children)

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 3 points 1 year ago* (last edited 1 year ago) (1 children)

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 2 points 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.