;;; TOOL: run-objdump
;;; ARGS0: -v
;;; ARGS1: -x
(module
  (memory 1)
  (data (i32.const 10) "hello")
  (data (i32.const 2147483648) "goodbye, Lorem ipsum dolor sit amet, consectetur"))
(;; STDERR ;;;
0000000: 0061 736d                                 ; WASM_BINARY_MAGIC
0000004: 0100 0000                                 ; WASM_BINARY_VERSION
; section "Memory" (5)
0000008: 05                                        ; section code
0000009: 00                                        ; section size (guess)
000000a: 01                                        ; num memories
; memory 0
000000b: 00                                        ; limits: flags
000000c: 01                                        ; limits: initial
0000009: 03                                        ; FIXUP section size
; section "DataCount" (12)
000000d: 0c                                        ; section code
000000e: 00                                        ; section size (guess)
000000f: 02                                        ; data count
000000e: 01                                        ; FIXUP section size
; truncate to 13 (0xd)
; section "Data" (11)
000000d: 0b                                        ; section code
000000e: 00                                        ; section size (guess)
000000f: 02                                        ; num data segments
; data segment header 0
0000010: 00                                        ; segment flags
0000011: 41                                        ; i32.const
0000012: 0a                                        ; i32 literal
0000013: 0b                                        ; end
0000014: 05                                        ; data segment size
; data segment data 0
0000015: 6865 6c6c 6f                              ; data segment data
; data segment header 1
000001a: 00                                        ; segment flags
000001b: 41                                        ; i32.const
000001c: 8080 8080 78                              ; i32 literal
0000021: 0b                                        ; end
0000022: 30                                        ; data segment size
; data segment data 1
0000023: 676f 6f64 6279 652c 204c 6f72 656d 2069 
0000033: 7073 756d 2064 6f6c 6f72 2073 6974 2061 
0000043: 6d65 742c 2063 6f6e 7365 6374 6574 7572   ; data segment data
000000e: 44                                        ; FIXUP section size
;;; STDERR ;;)
(;; STDOUT ;;;

memory.wasm:	file format wasm 0x1

Section Details:

Memory[1]:
 - memory[0] pages: initial=1
Data[2]:
 - segment[0] memory=0 size=5 - init i32=10
  - 000000a: 6865 6c6c 6f                             hello
 - segment[1] memory=0 size=48 - init i32=2147483648
  - 80000000: 676f 6f64 6279 652c 204c 6f72 656d 2069  goodbye, Lorem i
  - 80000010: 7073 756d 2064 6f6c 6f72 2073 6974 2061  psum dolor sit a
  - 80000020: 6d65 742c 2063 6f6e 7365 6374 6574 7572  met, consectetur

Code Disassembly:

;;; STDOUT ;;)
