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/func-multi.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/func-multi.txt')
-rw-r--r-- | test/dump/func-multi.txt | 44 |
1 files changed, 23 insertions, 21 deletions
diff --git a/test/dump/func-multi.txt b/test/dump/func-multi.txt index 8d5a12f9..fce9c52d 100644 --- a/test/dump/func-multi.txt +++ b/test/dump/func-multi.txt @@ -4,30 +4,32 @@ (func) (func)) (;; 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: 03 ; num functions +000000a: 00 ; num params +000000b: 00 ; result_type +000000c: 02 ; WASM_BINARY_SECTION_FUNCTIONS +000000d: 03 ; num functions ; function 0 -0000006: 00 ; func flags -0000007: 0000 ; func signature index -0000009: 0000 ; func body size -0000009: 0000 ; FIXUP func body size +000000e: 00 ; func flags +000000f: 0000 ; func signature index +0000011: 0000 ; func body size +0000011: 0000 ; FIXUP func body size ; function 1 -000000b: 00 ; func flags -000000c: 0000 ; func signature index -000000e: 0000 ; func body size -000000e: 0000 ; FIXUP func body size +0000013: 00 ; func flags +0000014: 0000 ; func signature index +0000016: 0000 ; func body size +0000016: 0000 ; FIXUP func body size ; function 2 -0000010: 00 ; func flags -0000011: 0000 ; func signature index -0000013: 0000 ; func body size -0000013: 0000 ; FIXUP func body size -0000015: 06 ; WASM_BINARY_SECTION_END +0000018: 00 ; func flags +0000019: 0000 ; func signature index +000001b: 0000 ; func body size +000001b: 0000 ; FIXUP func body size +000001d: 06 ; WASM_BINARY_SECTION_END ;; dump -0000000: 0101 0000 0203 0000 0000 0000 0000 0000 -0000010: 0000 0000 0006 +0000000: 0061 736d 0a00 0000 0101 0000 0203 0000 +0000010: 0000 0000 0000 0000 0000 0000 0006 ;;; STDOUT ;;) |