diff options
author | Ben Smith <binji@chromium.org> | 2016-02-27 15:44:14 -0800 |
---|---|---|
committer | Ben Smith <binji@chromium.org> | 2016-02-28 17:03:15 -0800 |
commit | 20135f5f783b8f5cfa5f94683bc8c667e60d4a68 (patch) | |
tree | 0031a2b357728bfdc22196055ae58b541c82ea26 /test/dump/loop.txt | |
parent | 6da3f5272ccc3be7384f0a5e5886ee85f755fec8 (diff) | |
download | wabt-20135f5f783b8f5cfa5f94683bc8c667e60d4a68.tar.gz wabt-20135f5f783b8f5cfa5f94683bc8c667e60d4a68.tar.bz2 wabt-20135f5f783b8f5cfa5f94683bc8c667e60d4a68.zip |
binary format has magic and version number
Diffstat (limited to 'test/dump/loop.txt')
-rw-r--r-- | test/dump/loop.txt | 35 |
1 files changed, 19 insertions, 16 deletions
diff --git a/test/dump/loop.txt b/test/dump/loop.txt index 68e20eb4..5c496fd4 100644 --- a/test/dump/loop.txt +++ b/test/dump/loop.txt @@ -5,23 +5,26 @@ (nop) (nop)))) (;; STDOUT ;;; -0000000: 01 ; WASM_BINARY_SECTION_SIGNATURES -0000001: 01 ; num signatures +0000000: 0061 736d ; WASM_BINARY_MAGIC +0000004: 0a00 0000 ; WASM_BINARY_VERSION +0000008: 01 ; WASM_BINARY_SECTION_SIGNATURES +0000009: 01 ; num signatures ; signature 0 -0000002: 00 ; num params -0000003: 00 ; result_type -0000004: 02 ; WASM_BINARY_SECTION_FUNCTIONS -0000005: 01 ; num functions +000000a: 00 ; num params +000000b: 00 ; result_type +000000c: 02 ; WASM_BINARY_SECTION_FUNCTIONS +000000d: 01 ; num functions ; function 0 -0000006: 00 ; func flags -0000007: 0000 ; func signature index -0000009: 0000 ; func body size -000000b: 02 ; OPCODE_LOOP -000000c: 02 ; num expressions -000000d: 00 ; OPCODE_NOP -000000e: 00 ; OPCODE_NOP -0000009: 0400 ; FIXUP func body size -000000f: 06 ; WASM_BINARY_SECTION_END +000000e: 00 ; func flags +000000f: 0000 ; func signature index +0000011: 0000 ; func body size +0000013: 02 ; OPCODE_LOOP +0000014: 02 ; num expressions +0000015: 00 ; OPCODE_NOP +0000016: 00 ; OPCODE_NOP +0000011: 0400 ; FIXUP func body size +0000017: 06 ; WASM_BINARY_SECTION_END ;; dump -0000000: 0101 0000 0201 0000 0004 0002 0200 0006 +0000000: 0061 736d 0a00 0000 0101 0000 0201 0000 +0000010: 0004 0002 0200 0006 ;;; STDOUT ;;) |