;;; TOOL: run-objdump
;;; ARGS0: -v
;;; ARGS1: -x
(module
  (import "ignored" "test" (func (param i32 i64 f32 f64)))
  (import "ignored" "test2" (func (param i32) (result i32)))
  (import "ignored" "testmem" (memory 0))
  (import "ignored" "testtable" (table 0 anyfunc))
  (import "ignored" "testexcept" (except i32))
)
(;; 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: 02                                        ; num types
; type 0
000000b: 60                                        ; func
000000c: 04                                        ; num params
000000d: 7f                                        ; i32
000000e: 7e                                        ; i64
000000f: 7d                                        ; f32
0000010: 7c                                        ; f64
0000011: 00                                        ; num results
; type 1
0000012: 60                                        ; func
0000013: 01                                        ; num params
0000014: 7f                                        ; i32
0000015: 01                                        ; num results
0000016: 7f                                        ; i32
0000009: 0d                                        ; FIXUP section size
; section "Import" (2)
0000017: 02                                        ; section code
0000018: 00                                        ; section size (guess)
0000019: 05                                        ; num imports
; import header 0
000001a: 07                                        ; string length
000001b: 6967 6e6f 7265 64                        ignored  ; import module name
0000022: 04                                        ; string length
0000023: 7465 7374                                test  ; import field name
0000027: 00                                        ; import kind
0000028: 00                                        ; import signature index
; import header 1
0000029: 07                                        ; string length
000002a: 6967 6e6f 7265 64                        ignored  ; import module name
0000031: 05                                        ; string length
0000032: 7465 7374 32                             test2  ; import field name
0000037: 00                                        ; import kind
0000038: 01                                        ; import signature index
; import header 2
0000039: 07                                        ; string length
000003a: 6967 6e6f 7265 64                        ignored  ; import module name
0000041: 07                                        ; string length
0000042: 7465 7374 6d65 6d                        testmem  ; import field name
0000049: 02                                        ; import kind
000004a: 00                                        ; limits: flags
000004b: 00                                        ; limits: initial
; import header 3
000004c: 07                                        ; string length
000004d: 6967 6e6f 7265 64                        ignored  ; import module name
0000054: 09                                        ; string length
0000055: 7465 7374 7461 626c 65                   testtable  ; import field name
000005e: 01                                        ; import kind
000005f: 70                                        ; anyfunc
0000060: 00                                        ; limits: flags
0000061: 00                                        ; limits: initial
; import header 4
0000062: 07                                        ; string length
0000063: 6967 6e6f 7265 64                        ignored  ; import module name
000006a: 0a                                        ; string length
000006b: 7465 7374 6578 6365 7074                 testexcept  ; import field name
0000075: 04                                        ; import kind
0000076: 01                                        ; exception type count
0000077: 7f                                        ; i32
0000018: 5f                                        ; FIXUP section size

import.wasm:	file format wasm 0x1

Section Details:

Type[2]:
 - type[0] (i32, i64, f32, f64) -> nil
 - type[1] (i32) -> i32
Import[5]:
 - func[0] sig=0 <test> <- ignored.test
 - func[1] sig=1 <test2> <- ignored.test2
 - memory[0] pages: initial=0 <- ignored.testmem
 - table[0] elem_type=anyfunc init=0 max=0 <- ignored.testtable
 - except[0] (i32) <- ignored.testexcept

Code Disassembly:

;;; STDOUT ;;)
