I have defined a custom section using the below code in my program.
#[link_section = "new-section"]
pub static FIRST: [u8; 13] = *b"Hello, World!";
After compiling it to wasm, I used wasm-objdump to find the custom header related offset in the wasm module.
Right now, I want to know is there any relation between the offset of the custom data in the wasm binary and the offset of the data in linear memory?
I could find the solution, so close it!
julia has marked this topic as resolved.
Last updated: Dec 23 2024 at 13:07 UTC