There's a code, which is probably written in C and compiled into wasm. I don't own the source, I'd just like to peek into the code what it does.
This particular code takes a string as a parameter, and does some magic checks on it, then returns some number.
I started debugging it in Firefox, but I'm stuck at the first step. I pass the function a string parameter, but in the debugger I see it as: (param $var0 i32)
Even though it's a string I can see it as: 5253456
It looks like some kind of pointer, which would be logical, but I'm unsure where is it stored? How can I see the contents of it? Of course, in my current case it's just the parameter, I control the data of it, but I'd like to know generally how these pointer-like things are handled and how can I debug it to see and maybe even control the data it uses.
Edit: I've got some cool answers about how wasm stores memory object, now I'm curious how to easily read that memory region from browser-debugger.