You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The decompiled output from wasm-decompile can be challenging to interpret since the function table is omitted from the resulting files. Annotating the function index within the output aids in comprehending which function is being invoked by the call_indirect instruction.
Consider the following WebAssembly text file, a.wat:
This decompiled file lacks information about the function table. Moreover, the arguments of the call_indirect function are not immediately clear.
For clearer understanding, consider the decompiled output if it were presented in the following manner:
With such modifications, it would be more apparent which function the call_indirect is calling.
The text was updated successfully, but these errors were encountered:
getumen
changed the title
Output results of the wasm-decompile to be easier to understand what function is called by call_indirect
Output results of the wasm-decompile to be easier to understand which function is called by call_indirect
Feb 5, 2024
The decompiled output from wasm-decompile can be challenging to interpret since the function table is omitted from the resulting files. Annotating the function index within the output aids in comprehending which function is being invoked by the call_indirect instruction.
Consider the following WebAssembly text file, a.wat:
After running the following commands:
I obtained the decompiled output as such:
This decompiled file lacks information about the function table. Moreover, the arguments of the call_indirect function are not immediately clear.
For clearer understanding, consider the decompiled output if it were presented in the following manner:
With such modifications, it would be more apparent which function the call_indirect is calling.
The text was updated successfully, but these errors were encountered: