Repository navigation
Decompiling
#4378
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Hi,
I've been trying to use these tools to decompile smart contracts for Elrond blockchain network.
I'm getting pretty good results but I was wondering if some options can be sent to wasm-dis or wasm2js so that function names are replaced with actual names.
I get like function $23() and so on.
But somewhere in the file there is a mapping structure like this:
return {
"memory": Object.create(Object.prototype, {
"grow": {
"value": __wasm_memory_grow
},
"buffer": {
"get": function () {
return buffer;
}
}
}),
"init": $23,
"getLockedEgldBalance": $24,
"getWrappedEgldTokenId": $25,
"unwrapEgld": $26,
"wrapEgld": $31,
"callBack": $33,
"__data_end": global$1,
"__heap_base": global$2
};
}
All reactions