;;; TOOL: run-objdump ;;; ARGS0: -v ;;; ARGS1: -x --headers (module (func $a) (func $b) (func $start) (start $start)) (;; STDOUT ;;; 0000000: 0061 736d ; WASM_BINARY_MAGIC 0000004: 0100 0000 ; WASM_BINARY_VERSION ; section "Type" (1) 0000008: 01 ; section code 0000009: 00 ; section size (guess) 000000a: 01 ; num types ; type 0 000000b: 60 ; func 000000c: 00 ; num params 000000d: 00 ; num results 0000009: 04 ; FIXUP section size ; section "Function" (3) 000000e: 03 ; section code 000000f: 00 ; section size (guess) 0000010: 03 ; num functions 0000011: 00 ; function 0 signature index 0000012: 00 ; function 1 signature index 0000013: 00 ; function 2 signature index 000000f: 04 ; FIXUP section size ; section "Start" (8) 0000014: 08 ; section code 0000015: 00 ; section size (guess) 0000016: 02 ; start func index 0000015: 01 ; FIXUP section size ; section "Code" (10) 0000017: 0a ; section code 0000018: 00 ; section size (guess) 0000019: 03 ; num functions ; function body 0 000001a: 00 ; func body size (guess) 000001b: 00 ; local decl count 000001c: 0b ; end 000001a: 02 ; FIXUP func body size ; function body 1 000001d: 00 ; func body size (guess) 000001e: 00 ; local decl count 000001f: 0b ; end 000001d: 02 ; FIXUP func body size ; function body 2 0000020: 00 ; func body size (guess) 0000021: 00 ; local decl count 0000022: 0b ; end 0000020: 02 ; FIXUP func body size 0000018: 0a ; FIXUP section size start.wasm: file format wasm 0x1 Sections: Type start=0x0000000a end=0x0000000e (size=0x00000004) count: 1 Function start=0x00000010 end=0x00000014 (size=0x00000004) count: 3 Start start=0x00000016 end=0x00000017 (size=0x00000001) start: 2 Code start=0x00000019 end=0x00000023 (size=0x0000000a) count: 3 Section Details: Type[1]: - type[0] () -> nil Function[3]: - func[0] sig=0 - func[1] sig=0 - func[2] sig=0 Start: - start function: 2 Code[3]: - func[0] size=2 - func[1] size=2 - func[2] size=2 Code Disassembly: 00001b func[0]: 00001c: 0b | end 00001e func[1]: 00001f: 0b | end 000021 func[2]: 000022: 0b | end ;;; STDOUT ;;)