1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75
|
0x0: 0x0 0x61 0x73 0x6d ; wasm magic header
0x4: 0x1 0x0 0x0 0x0 ; wasm version
; section Type
0xa: 0x1 ; section code
0xa: 0xa ; section size
0xb: 0x2 ; num types
; type 0
0xc: 0x60 ; func
0xd: 0x1 ; number
0xe: 0x7e ; i64
0xf: 0x0 ; number
; type 1
0x10: 0x60 ; func
0x11: 0x1 ; number
0x12: 0x7f ; i32
0x13: 0x1 ; number
0x14: 0x7f ; i32
; section Function
0x16: 0x3 ; section code
0x16: 0x3 ; section size
0x17: 0x2 ; num funcs
0x18: 0x0 ; type index
0x19: 0x1 ; type index
; section Memory
0x1b: 0x5 ; section code
0x1b: 0x4 ; section size
0x1c: 0x1 ; num elements
0x1d: 0x3 ; limit type (shared)
0x1e: 0x1 ; min
0x1f: 0x1 ; max
; section Export
0x21: 0x7 ; section code
0x21: 0x1a ; section size
0x22: 0x2 ; num exports
0x22: 0x4 ; string length
0x27: ; export name (init)
0x28: 0x0 ; export kind
0x29: 0x0 ; export index
0x29: 0xf ; string length
0x39: ; export name (i32.atomic.load)
0x3a: 0x0 ; export kind
0x3b: 0x1 ; export index
; section Code
0x3d: 0xa ; section code
0x3d: 0x14 ; section size
0x3e: 0x2 ; number functions
; function body 0
0x3f: 0x9 ; function body size
0x40: 0x0 ; num locals
0x41: 0x41 ; i32.const
0x42: 0x0 ; i32 value
0x43: 0x20 ; get_local
0x44: 0x0 ; argument 0
0x45: 0x37 ; u64.store
0x46: 0x3 ; align
0x47: 0x0 ; offset
0x48: 0xb ; end
; function body 1
0x49: 0x8 ; function body size
0x4a: 0x0 ; num locals
0x4b: 0x20 ; get_local
0x4c: 0x0 ; argument 0
0x4e: 0xfe10 ; i32.atomic.load
0x4f: 0x2 ; align
0x50: 0x0 ; offset
0x51: 0xb ; end
; section Custom
0x53: 0x0 ; section code
0x53: 0x22 ; section size
0x53: 0x4 ; string length
0x58: ; section name (name)
0x5c: 0x4 ; string length
0x67: 0x5 ; string length
0x70: 0x4 ; string length
; end of program
|