diff options
author | pipcet <pipcet@users.noreply.github.com> | 2017-04-05 18:28:35 +0000 |
---|---|---|
committer | Sam Clegg <sbc@chromium.org> | 2017-04-05 11:28:35 -0700 |
commit | 56ac5cb143ae9bf12a84ca42cf67ee1cc679c77c (patch) | |
tree | 66e495ce71f7779117dc9d3d10926312558d4ad5 | |
parent | 02c340c691e4f6b8da4dbc1a47ddb1db9dbeffd3 (diff) | |
download | wabt-56ac5cb143ae9bf12a84ca42cf67ee1cc679c77c.tar.gz wabt-56ac5cb143ae9bf12a84ca42cf67ee1cc679c77c.tar.bz2 wabt-56ac5cb143ae9bf12a84ca42cf67ee1cc679c77c.zip |
Use 8 hex digits for wasm version rather than 6. (#391)
85 files changed, 88 insertions, 88 deletions
diff --git a/src/binary-reader-objdump.cc b/src/binary-reader-objdump.cc index 3e117728..5ce12779 100644 --- a/src/binary-reader-objdump.cc +++ b/src/binary-reader-objdump.cc @@ -340,7 +340,7 @@ Result BinaryReaderObjdump::BeginModule(uint32_t version) { } else { basename = options->infile; } - printf("%s:\tfile format wasm %#08x\n", basename, version); + printf("%s:\tfile format wasm %#x\n", basename, version); header_printed = true; } diff --git a/test/dump/basic.txt b/test/dump/basic.txt index 70357804..0edb776a 100644 --- a/test/dump/basic.txt +++ b/test/dump/basic.txt @@ -79,7 +79,7 @@ 0000038: 0b ; end 0000024: 14 ; FIXUP func body size 0000022: 16 ; FIXUP section size -basic.wasm: file format wasm 0x000001 +basic.wasm: file format wasm 0x1 Sections: diff --git a/test/dump/basic_dump_only.txt b/test/dump/basic_dump_only.txt index 12871ae3..8e595467 100644 --- a/test/dump/basic_dump_only.txt +++ b/test/dump/basic_dump_only.txt @@ -13,7 +13,7 @@ i32.add) (export "f" (func $f))) (;; STDOUT ;;; -basic_dump_only.wasm: file format wasm 0x000001 +basic_dump_only.wasm: file format wasm 0x1 Code Disassembly: diff --git a/test/dump/binary.txt b/test/dump/binary.txt index 7b8100bf..04bc0296 100644 --- a/test/dump/binary.txt +++ b/test/dump/binary.txt @@ -275,7 +275,7 @@ 0000015: e201 ; FIXUP func body size ; move data: [14, f9) -> [15, fa) 0000013: e501 ; FIXUP section size -binary.wasm: file format wasm 0x000001 +binary.wasm: file format wasm 0x1 Code Disassembly: diff --git a/test/dump/block-257-exprs-br.txt b/test/dump/block-257-exprs-br.txt index 15a07a17..ddbb012c 100644 --- a/test/dump/block-257-exprs-br.txt +++ b/test/dump/block-257-exprs-br.txt @@ -340,7 +340,7 @@ 0000015: 8902 ; FIXUP func body size ; move data: [14, 120) -> [15, 121) 0000013: 8c02 ; FIXUP section size -block-257-exprs-br.wasm: file format wasm 0x000001 +block-257-exprs-br.wasm: file format wasm 0x1 Code Disassembly: diff --git a/test/dump/block-257-exprs.txt b/test/dump/block-257-exprs.txt index 2c83c5ab..42b6b7bf 100644 --- a/test/dump/block-257-exprs.txt +++ b/test/dump/block-257-exprs.txt @@ -336,7 +336,7 @@ 0000015: 8602 ; FIXUP func body size ; move data: [14, 11d) -> [15, 11e) 0000013: 8902 ; FIXUP section size -block-257-exprs.wasm: file format wasm 0x000001 +block-257-exprs.wasm: file format wasm 0x1 Code Disassembly: diff --git a/test/dump/block.txt b/test/dump/block.txt index 27e1a23a..6d19248d 100644 --- a/test/dump/block.txt +++ b/test/dump/block.txt @@ -62,7 +62,7 @@ 000002a: 0b ; end 0000023: 07 ; FIXUP func body size 0000018: 12 ; FIXUP section size -block.wasm: file format wasm 0x000001 +block.wasm: file format wasm 0x1 Code Disassembly: diff --git a/test/dump/br-block-named.txt b/test/dump/br-block-named.txt index 11ab7c60..c37f4e2c 100644 --- a/test/dump/br-block-named.txt +++ b/test/dump/br-block-named.txt @@ -61,7 +61,7 @@ 000002a: 0b ; end 0000015: 15 ; FIXUP func body size 0000013: 17 ; FIXUP section size -br-block-named.wasm: file format wasm 0x000001 +br-block-named.wasm: file format wasm 0x1 Code Disassembly: diff --git a/test/dump/br-block.txt b/test/dump/br-block.txt index 872878b2..3184b401 100644 --- a/test/dump/br-block.txt +++ b/test/dump/br-block.txt @@ -67,7 +67,7 @@ 000002e: 0b ; end 0000015: 19 ; FIXUP func body size 0000013: 1b ; FIXUP section size -br-block.wasm: file format wasm 0x000001 +br-block.wasm: file format wasm 0x1 Code Disassembly: diff --git a/test/dump/br-loop-inner-expr.txt b/test/dump/br-loop-inner-expr.txt index 1eca3c0c..dde387df 100644 --- a/test/dump/br-loop-inner-expr.txt +++ b/test/dump/br-loop-inner-expr.txt @@ -69,7 +69,7 @@ 0000030: 0b ; end 0000016: 1a ; FIXUP func body size 0000014: 1c ; FIXUP section size -br-loop-inner-expr.wasm: file format wasm 0x000001 +br-loop-inner-expr.wasm: file format wasm 0x1 Code Disassembly: diff --git a/test/dump/br-loop-inner.txt b/test/dump/br-loop-inner.txt index 05861c12..634d52cb 100644 --- a/test/dump/br-loop-inner.txt +++ b/test/dump/br-loop-inner.txt @@ -55,7 +55,7 @@ 000002b: 0b ; end 0000015: 16 ; FIXUP func body size 0000013: 18 ; FIXUP section size -br-loop-inner.wasm: file format wasm 0x000001 +br-loop-inner.wasm: file format wasm 0x1 Code Disassembly: diff --git a/test/dump/br-loop.txt b/test/dump/br-loop.txt index 9a0f269e..a7edf6e4 100644 --- a/test/dump/br-loop.txt +++ b/test/dump/br-loop.txt @@ -46,7 +46,7 @@ 0000021: 0b ; end 0000015: 0c ; FIXUP func body size 0000013: 0e ; FIXUP section size -br-loop.wasm: file format wasm 0x000001 +br-loop.wasm: file format wasm 0x1 Code Disassembly: diff --git a/test/dump/brif-loop.txt b/test/dump/brif-loop.txt index 793e1a41..c5f73c4f 100644 --- a/test/dump/brif-loop.txt +++ b/test/dump/brif-loop.txt @@ -41,7 +41,7 @@ 000001e: 0b ; end 0000015: 09 ; FIXUP func body size 0000013: 0b ; FIXUP section size -brif-loop.wasm: file format wasm 0x000001 +brif-loop.wasm: file format wasm 0x1 Code Disassembly: diff --git a/test/dump/brif.txt b/test/dump/brif.txt index 8dd3ed23..aa45cfa1 100644 --- a/test/dump/brif.txt +++ b/test/dump/brif.txt @@ -41,7 +41,7 @@ 000001e: 0b ; end 0000015: 09 ; FIXUP func body size 0000013: 0b ; FIXUP section size -brif.wasm: file format wasm 0x000001 +brif.wasm: file format wasm 0x1 Code Disassembly: diff --git a/test/dump/brtable-empty.txt b/test/dump/brtable-empty.txt index a55639f5..e87fdc84 100644 --- a/test/dump/brtable-empty.txt +++ b/test/dump/brtable-empty.txt @@ -42,7 +42,7 @@ 000001f: 0b ; end 0000015: 0a ; FIXUP func body size 0000013: 0c ; FIXUP section size -brtable-empty.wasm: file format wasm 0x000001 +brtable-empty.wasm: file format wasm 0x1 Code Disassembly: diff --git a/test/dump/brtable.txt b/test/dump/brtable.txt index 5836ebe9..8d343d3f 100644 --- a/test/dump/brtable.txt +++ b/test/dump/brtable.txt @@ -75,7 +75,7 @@ 0000032: 0b ; end 0000015: 1d ; FIXUP func body size 0000013: 1f ; FIXUP section size -brtable.wasm: file format wasm 0x000001 +brtable.wasm: file format wasm 0x1 Code Disassembly: diff --git a/test/dump/call.txt b/test/dump/call.txt index c4953d10..8aa375c6 100644 --- a/test/dump/call.txt +++ b/test/dump/call.txt @@ -37,7 +37,7 @@ 000001c: 0b ; end 0000016: 06 ; FIXUP func body size 0000014: 08 ; FIXUP section size -call.wasm: file format wasm 0x000001 +call.wasm: file format wasm 0x1 Code Disassembly: diff --git a/test/dump/callimport.txt b/test/dump/callimport.txt index e2e31832..af57d96a 100644 --- a/test/dump/callimport.txt +++ b/test/dump/callimport.txt @@ -67,7 +67,7 @@ 0000037: 0b ; end 0000029: 0e ; FIXUP func body size 0000027: 10 ; FIXUP section size -callimport.wasm: file format wasm 0x000001 +callimport.wasm: file format wasm 0x1 Code Disassembly: diff --git a/test/dump/callindirect.txt b/test/dump/callindirect.txt index cee10017..57dbe6a1 100644 --- a/test/dump/callindirect.txt +++ b/test/dump/callindirect.txt @@ -65,7 +65,7 @@ 000002f: 0b ; end 0000026: 09 ; FIXUP func body size 0000024: 0b ; FIXUP section size -callindirect.wasm: file format wasm 0x000001 +callindirect.wasm: file format wasm 0x1 Code Disassembly: diff --git a/test/dump/cast.txt b/test/dump/cast.txt index 449388f4..b12ebcb0 100644 --- a/test/dump/cast.txt +++ b/test/dump/cast.txt @@ -58,7 +58,7 @@ 0000031: 0b ; end 0000015: 1c ; FIXUP func body size 0000013: 1e ; FIXUP section size -cast.wasm: file format wasm 0x000001 +cast.wasm: file format wasm 0x1 Code Disassembly: diff --git a/test/dump/compare.txt b/test/dump/compare.txt index 3fbfa7ab..43f9b7be 100644 --- a/test/dump/compare.txt +++ b/test/dump/compare.txt @@ -310,7 +310,7 @@ 0000015: 9f02 ; FIXUP func body size ; move data: [14, 136) -> [15, 137) 0000013: a202 ; FIXUP section size -compare.wasm: file format wasm 0x000001 +compare.wasm: file format wasm 0x1 Code Disassembly: diff --git a/test/dump/const.txt b/test/dump/const.txt index 60956b02..13c33509 100644 --- a/test/dump/const.txt +++ b/test/dump/const.txt @@ -222,7 +222,7 @@ 0000015: 9a02 ; FIXUP func body size ; move data: [14, 131) -> [15, 132) 0000013: 9d02 ; FIXUP section size -const.wasm: file format wasm 0x000001 +const.wasm: file format wasm 0x1 Code Disassembly: diff --git a/test/dump/convert.txt b/test/dump/convert.txt index afc39f29..68edb43a 100644 --- a/test/dump/convert.txt +++ b/test/dump/convert.txt @@ -89,7 +89,7 @@ 0000038: 0b ; end 0000015: 23 ; FIXUP func body size 0000013: 25 ; FIXUP section size -convert.wasm: file format wasm 0x000001 +convert.wasm: file format wasm 0x1 Code Disassembly: diff --git a/test/dump/current-memory.txt b/test/dump/current-memory.txt index 33a95ebb..8ed31e4f 100644 --- a/test/dump/current-memory.txt +++ b/test/dump/current-memory.txt @@ -43,7 +43,7 @@ 000001f: 0b ; end 000001b: 04 ; FIXUP func body size 0000019: 06 ; FIXUP section size -current-memory.wasm: file format wasm 0x000001 +current-memory.wasm: file format wasm 0x1 Code Disassembly: diff --git a/test/dump/debug-import-names.txt b/test/dump/debug-import-names.txt index f62c0580..d02b96fe 100644 --- a/test/dump/debug-import-names.txt +++ b/test/dump/debug-import-names.txt @@ -45,7 +45,7 @@ 000002f: 00 ; num locals 000002c: 03 ; FIXUP subsection size 000001c: 13 ; FIXUP section size -debug-import-names.wasm: file format wasm 0x000001 +debug-import-names.wasm: file format wasm 0x1 Sections: diff --git a/test/dump/debug-names.txt b/test/dump/debug-names.txt index 247f1531..93b6fe35 100644 --- a/test/dump/debug-names.txt +++ b/test/dump/debug-names.txt @@ -118,7 +118,7 @@ 000007a: 2446 334c 33 $F3L3 ; local name 3 0000042: 3c ; FIXUP subsection size 000002e: 50 ; FIXUP section size -debug-names.wasm: file format wasm 0x000001 +debug-names.wasm: file format wasm 0x1 Section Details: diff --git a/test/dump/dedupe-sig.txt b/test/dump/dedupe-sig.txt index 7d4df317..cd65fd00 100644 --- a/test/dump/dedupe-sig.txt +++ b/test/dump/dedupe-sig.txt @@ -49,7 +49,7 @@ 0000028: 0b ; end 0000024: 04 ; FIXUP func body size 0000022: 06 ; FIXUP section size -dedupe-sig.wasm: file format wasm 0x000001 +dedupe-sig.wasm: file format wasm 0x1 Code Disassembly: diff --git a/test/dump/drop.txt b/test/dump/drop.txt index 745309b0..d8bab7e2 100644 --- a/test/dump/drop.txt +++ b/test/dump/drop.txt @@ -35,7 +35,7 @@ 000001a: 0b ; end 0000015: 05 ; FIXUP func body size 0000013: 07 ; FIXUP section size -drop.wasm: file format wasm 0x000001 +drop.wasm: file format wasm 0x1 Code Disassembly: diff --git a/test/dump/export-multi.txt b/test/dump/export-multi.txt index 996353f0..4d8b025f 100644 --- a/test/dump/export-multi.txt +++ b/test/dump/export-multi.txt @@ -46,7 +46,7 @@ 0000023: 0b ; end 0000020: 03 ; FIXUP func body size 000001e: 05 ; FIXUP section size -export-multi.wasm: file format wasm 0x000001 +export-multi.wasm: file format wasm 0x1 Code Disassembly: diff --git a/test/dump/expr-br.txt b/test/dump/expr-br.txt index e51b214a..00f1a045 100644 --- a/test/dump/expr-br.txt +++ b/test/dump/expr-br.txt @@ -43,7 +43,7 @@ 000001f: 0b ; end 0000016: 09 ; FIXUP func body size 0000014: 0b ; FIXUP section size -expr-br.wasm: file format wasm 0x000001 +expr-br.wasm: file format wasm 0x1 Code Disassembly: diff --git a/test/dump/expr-brif.txt b/test/dump/expr-brif.txt index c1690b1a..c2892cd0 100644 --- a/test/dump/expr-brif.txt +++ b/test/dump/expr-brif.txt @@ -50,7 +50,7 @@ 0000024: 0b ; end 0000016: 0e ; FIXUP func body size 0000014: 10 ; FIXUP section size -expr-brif.wasm: file format wasm 0x000001 +expr-brif.wasm: file format wasm 0x1 Code Disassembly: diff --git a/test/dump/func-exported.txt b/test/dump/func-exported.txt index f848ca63..ff176d3b 100644 --- a/test/dump/func-exported.txt +++ b/test/dump/func-exported.txt @@ -40,7 +40,7 @@ 0000020: 0b ; end 000001e: 02 ; FIXUP func body size 000001c: 04 ; FIXUP section size -func-exported.wasm: file format wasm 0x000001 +func-exported.wasm: file format wasm 0x1 Code Disassembly: diff --git a/test/dump/func-multi.txt b/test/dump/func-multi.txt index 1a50dfe4..71cff580 100644 --- a/test/dump/func-multi.txt +++ b/test/dump/func-multi.txt @@ -44,7 +44,7 @@ 000001f: 0b ; end 000001d: 02 ; FIXUP func body size 0000015: 0a ; FIXUP section size -func-multi.wasm: file format wasm 0x000001 +func-multi.wasm: file format wasm 0x1 Code Disassembly: diff --git a/test/dump/func-named.txt b/test/dump/func-named.txt index 508760df..030f4a9a 100644 --- a/test/dump/func-named.txt +++ b/test/dump/func-named.txt @@ -30,7 +30,7 @@ 0000017: 0b ; end 0000015: 02 ; FIXUP func body size 0000013: 04 ; FIXUP section size -func-named.wasm: file format wasm 0x000001 +func-named.wasm: file format wasm 0x1 Code Disassembly: diff --git a/test/dump/getglobal.txt b/test/dump/getglobal.txt index d90eef32..68b58b5c 100644 --- a/test/dump/getglobal.txt +++ b/test/dump/getglobal.txt @@ -45,7 +45,7 @@ 0000022: 0b ; end 000001e: 04 ; FIXUP func body size 000001c: 06 ; FIXUP section size -getglobal.wasm: file format wasm 0x000001 +getglobal.wasm: file format wasm 0x1 Code Disassembly: diff --git a/test/dump/getlocal-param.txt b/test/dump/getlocal-param.txt index 0b727d65..060e3318 100644 --- a/test/dump/getlocal-param.txt +++ b/test/dump/getlocal-param.txt @@ -71,7 +71,7 @@ 0000033: 0b ; end 0000017: 1c ; FIXUP func body size 0000015: 1e ; FIXUP section size -getlocal-param.wasm: file format wasm 0x000001 +getlocal-param.wasm: file format wasm 0x1 Code Disassembly: diff --git a/test/dump/getlocal.txt b/test/dump/getlocal.txt index 1e4a9491..36a296fa 100644 --- a/test/dump/getlocal.txt +++ b/test/dump/getlocal.txt @@ -85,7 +85,7 @@ 000003d: 0b ; end 0000015: 28 ; FIXUP func body size 0000013: 2a ; FIXUP section size -getlocal.wasm: file format wasm 0x000001 +getlocal.wasm: file format wasm 0x1 Code Disassembly: diff --git a/test/dump/global.txt b/test/dump/global.txt index 931e7fc5..fe318390 100644 --- a/test/dump/global.txt +++ b/test/dump/global.txt @@ -100,7 +100,7 @@ 0000086: 03 ; global index 0000087: 0b ; end 0000054: 33 ; FIXUP section size -global.wasm: file format wasm 0x000001 +global.wasm: file format wasm 0x1 Section Details: diff --git a/test/dump/grow-memory.txt b/test/dump/grow-memory.txt index ec5331b8..bb78ca99 100644 --- a/test/dump/grow-memory.txt +++ b/test/dump/grow-memory.txt @@ -49,7 +49,7 @@ 0000023: 0b ; end 000001c: 07 ; FIXUP func body size 000001a: 09 ; FIXUP section size -grow-memory.wasm: file format wasm 0x000001 +grow-memory.wasm: file format wasm 0x1 Code Disassembly: diff --git a/test/dump/hexfloat_f32.txt b/test/dump/hexfloat_f32.txt index adcf020c..d7c6cca6 100644 --- a/test/dump/hexfloat_f32.txt +++ b/test/dump/hexfloat_f32.txt @@ -117,7 +117,7 @@ 000007d: 0b ; end 0000015: 68 ; FIXUP func body size 0000013: 6a ; FIXUP section size -hexfloat_f32.wasm: file format wasm 0x000001 +hexfloat_f32.wasm: file format wasm 0x1 Code Disassembly: diff --git a/test/dump/hexfloat_f64.txt b/test/dump/hexfloat_f64.txt index 8303426d..5530db07 100644 --- a/test/dump/hexfloat_f64.txt +++ b/test/dump/hexfloat_f64.txt @@ -119,7 +119,7 @@ 0000015: ac01 ; FIXUP func body size ; move data: [14, c3) -> [15, c4) 0000013: af01 ; FIXUP section size -hexfloat_f64.wasm: file format wasm 0x000001 +hexfloat_f64.wasm: file format wasm 0x1 Code Disassembly: diff --git a/test/dump/if-then-else-list.txt b/test/dump/if-then-else-list.txt index 635ee307..beb00018 100644 --- a/test/dump/if-then-else-list.txt +++ b/test/dump/if-then-else-list.txt @@ -60,7 +60,7 @@ 0000029: 0b ; end 0000015: 14 ; FIXUP func body size 0000013: 16 ; FIXUP section size -if-then-else-list.wasm: file format wasm 0x000001 +if-then-else-list.wasm: file format wasm 0x1 Code Disassembly: diff --git a/test/dump/if-then-list.txt b/test/dump/if-then-list.txt index fa7f8417..72719bd2 100644 --- a/test/dump/if-then-list.txt +++ b/test/dump/if-then-list.txt @@ -42,7 +42,7 @@ 000001e: 0b ; end 0000015: 09 ; FIXUP func body size 0000013: 0b ; FIXUP section size -if-then-list.wasm: file format wasm 0x000001 +if-then-list.wasm: file format wasm 0x1 Code Disassembly: diff --git a/test/dump/if.txt b/test/dump/if.txt index 45ea8aa0..3fd04e8f 100644 --- a/test/dump/if.txt +++ b/test/dump/if.txt @@ -79,7 +79,7 @@ 000003a: 0b ; end 0000030: 0a ; FIXUP func body size 0000014: 26 ; FIXUP section size -if.wasm: file format wasm 0x000001 +if.wasm: file format wasm 0x1 Code Disassembly: diff --git a/test/dump/import.txt b/test/dump/import.txt index b81f1068..a8501d6d 100644 --- a/test/dump/import.txt +++ b/test/dump/import.txt @@ -44,7 +44,7 @@ 0000037: 00 ; import kind 0000038: 01 ; import signature index 0000018: 20 ; FIXUP section size -import.wasm: file format wasm 0x000001 +import.wasm: file format wasm 0x1 Section Details: diff --git a/test/dump/load-aligned.txt b/test/dump/load-aligned.txt index cbb0834e..b2f8e953 100644 --- a/test/dump/load-aligned.txt +++ b/test/dump/load-aligned.txt @@ -183,7 +183,7 @@ 000007c: 0b ; end 000001a: 62 ; FIXUP func body size 0000018: 64 ; FIXUP section size -load-aligned.wasm: file format wasm 0x000001 +load-aligned.wasm: file format wasm 0x1 Code Disassembly: diff --git a/test/dump/load.txt b/test/dump/load.txt index 8f435ba7..ec15228f 100644 --- a/test/dump/load.txt +++ b/test/dump/load.txt @@ -165,7 +165,7 @@ 0000070: 0b ; end 000001a: 56 ; FIXUP func body size 0000018: 58 ; FIXUP section size -load.wasm: file format wasm 0x000001 +load.wasm: file format wasm 0x1 Code Disassembly: diff --git a/test/dump/locals.txt b/test/dump/locals.txt index 63f0e73c..d5f03fda 100644 --- a/test/dump/locals.txt +++ b/test/dump/locals.txt @@ -38,7 +38,7 @@ 000001f: 0b ; end 0000015: 0a ; FIXUP func body size 0000013: 0c ; FIXUP section size -locals.wasm: file format wasm 0x000001 +locals.wasm: file format wasm 0x1 Code Disassembly: diff --git a/test/dump/loop-257-exprs-br.txt b/test/dump/loop-257-exprs-br.txt index d12fc40c..5d8d2f81 100644 --- a/test/dump/loop-257-exprs-br.txt +++ b/test/dump/loop-257-exprs-br.txt @@ -353,7 +353,7 @@ 0000015: 9002 ; FIXUP func body size ; move data: [14, 127) -> [15, 128) 0000013: 9302 ; FIXUP section size -loop-257-exprs-br.wasm: file format wasm 0x000001 +loop-257-exprs-br.wasm: file format wasm 0x1 Code Disassembly: diff --git a/test/dump/loop-257-exprs.txt b/test/dump/loop-257-exprs.txt index 080aaa08..b959b12e 100644 --- a/test/dump/loop-257-exprs.txt +++ b/test/dump/loop-257-exprs.txt @@ -336,7 +336,7 @@ 0000015: 8602 ; FIXUP func body size ; move data: [14, 11d) -> [15, 11e) 0000013: 8902 ; FIXUP section size -loop-257-exprs.wasm: file format wasm 0x000001 +loop-257-exprs.wasm: file format wasm 0x1 Code Disassembly: diff --git a/test/dump/loop.txt b/test/dump/loop.txt index 48e98159..f7b8b9ea 100644 --- a/test/dump/loop.txt +++ b/test/dump/loop.txt @@ -39,7 +39,7 @@ 000001c: 0b ; end 0000015: 07 ; FIXUP func body size 0000013: 09 ; FIXUP section size -loop.wasm: file format wasm 0x000001 +loop.wasm: file format wasm 0x1 Code Disassembly: diff --git a/test/dump/memory-1-byte.txt b/test/dump/memory-1-byte.txt index a34ea5d2..b60a2df7 100644 --- a/test/dump/memory-1-byte.txt +++ b/test/dump/memory-1-byte.txt @@ -12,7 +12,7 @@ 000000b: 00 ; limits: flags 000000c: 01 ; limits: initial 0000009: 03 ; FIXUP section size -memory-1-byte.wasm: file format wasm 0x000001 +memory-1-byte.wasm: file format wasm 0x1 Code Disassembly: diff --git a/test/dump/memory-data-size.txt b/test/dump/memory-data-size.txt index b7156b2a..6ac20a41 100644 --- a/test/dump/memory-data-size.txt +++ b/test/dump/memory-data-size.txt @@ -45,19 +45,19 @@ 000000b: 00 ; limits: flags 000000c: 05 ; limits: initial 0000009: 03 ; FIXUP section size -memory-data-size.0.wasm: file format wasm 0x000001 +memory-data-size.0.wasm: file format wasm 0x1 Code Disassembly: -memory-data-size.1.wasm: file format wasm 0x000001 +memory-data-size.1.wasm: file format wasm 0x1 Code Disassembly: -memory-data-size.2.wasm: file format wasm 0x000001 +memory-data-size.2.wasm: file format wasm 0x1 Code Disassembly: -memory-data-size.3.wasm: file format wasm 0x000001 +memory-data-size.3.wasm: file format wasm 0x1 Code Disassembly: diff --git a/test/dump/memory-hex.txt b/test/dump/memory-hex.txt index 0a3f2f1b..f1f5f585 100644 --- a/test/dump/memory-hex.txt +++ b/test/dump/memory-hex.txt @@ -28,7 +28,7 @@ ; data segment data 0 0000016: 0001 0203 0405 0607 0809 0a ; data segment data 000000f: 11 ; FIXUP section size -memory-hex.wasm: file format wasm 0x000001 +memory-hex.wasm: file format wasm 0x1 Code Disassembly: diff --git a/test/dump/memory.txt b/test/dump/memory.txt index 65d38809..c43d4ea2 100644 --- a/test/dump/memory.txt +++ b/test/dump/memory.txt @@ -38,7 +38,7 @@ 000002f: 7073 756d 2064 6f6c 6f72 2073 6974 2061 000003f: 6d65 742c 2063 6f6e 7365 6374 6574 7572 ; data segment data 000000e: 40 ; FIXUP section size -memory.wasm: file format wasm 0x000001 +memory.wasm: file format wasm 0x1 Section Details: diff --git a/test/dump/no-canonicalize.txt b/test/dump/no-canonicalize.txt index 67f680f6..de70145f 100644 --- a/test/dump/no-canonicalize.txt +++ b/test/dump/no-canonicalize.txt @@ -146,7 +146,7 @@ 0000099: 0b ; end 000008d: 8880 8080 00 ; FIXUP func body size 000006b: aa80 8080 00 ; FIXUP section size -no-canonicalize.wasm: file format wasm 0x000001 +no-canonicalize.wasm: file format wasm 0x1 Code Disassembly: diff --git a/test/dump/nocheck.txt b/test/dump/nocheck.txt index a83889ae..6b444ab8 100644 --- a/test/dump/nocheck.txt +++ b/test/dump/nocheck.txt @@ -49,7 +49,7 @@ 0000030: 0b ; end 000001f: 11 ; FIXUP func body size 000001d: 13 ; FIXUP section size -nocheck.wasm: file format wasm 0x000001 +nocheck.wasm: file format wasm 0x1 Code Disassembly: diff --git a/test/dump/nop.txt b/test/dump/nop.txt index c90fd4e5..55f1be70 100644 --- a/test/dump/nop.txt +++ b/test/dump/nop.txt @@ -32,7 +32,7 @@ 0000018: 0b ; end 0000015: 03 ; FIXUP func body size 0000013: 05 ; FIXUP section size -nop.wasm: file format wasm 0x000001 +nop.wasm: file format wasm 0x1 Code Disassembly: diff --git a/test/dump/param-multi.txt b/test/dump/param-multi.txt index 146bea0e..a9f44f5d 100644 --- a/test/dump/param-multi.txt +++ b/test/dump/param-multi.txt @@ -34,7 +34,7 @@ 000001b: 0b ; end 0000019: 02 ; FIXUP func body size 0000017: 04 ; FIXUP section size -param-multi.wasm: file format wasm 0x000001 +param-multi.wasm: file format wasm 0x1 Code Disassembly: diff --git a/test/dump/relocations.txt b/test/dump/relocations.txt index 779b1f3c..7e44c9b7 100644 --- a/test/dump/relocations.txt +++ b/test/dump/relocations.txt @@ -11,7 +11,7 @@ (export "f" (func $f)) (table anyfunc (elem $f))) (;; STDOUT ;;; -relocations.wasm: file format wasm 0x000001 +relocations.wasm: file format wasm 0x1 Sections: diff --git a/test/dump/result.txt b/test/dump/result.txt index 1940f5ef..9d96084b 100644 --- a/test/dump/result.txt +++ b/test/dump/result.txt @@ -79,7 +79,7 @@ 0000042: 0b ; end 0000037: 0b ; FIXUP func body size 0000023: 1f ; FIXUP section size -result.wasm: file format wasm 0x000001 +result.wasm: file format wasm 0x1 Code Disassembly: diff --git a/test/dump/return.txt b/test/dump/return.txt index e063e4a4..b22cbf26 100644 --- a/test/dump/return.txt +++ b/test/dump/return.txt @@ -49,7 +49,7 @@ 0000023: 0b ; end 0000020: 03 ; FIXUP func body size 0000018: 0b ; FIXUP section size -return.wasm: file format wasm 0x000001 +return.wasm: file format wasm 0x1 Code Disassembly: diff --git a/test/dump/select.txt b/test/dump/select.txt index e83eca6a..f8e636dd 100644 --- a/test/dump/select.txt +++ b/test/dump/select.txt @@ -82,7 +82,7 @@ 000004b: 0b ; end 0000015: 36 ; FIXUP func body size 0000013: 38 ; FIXUP section size -select.wasm: file format wasm 0x000001 +select.wasm: file format wasm 0x1 Code Disassembly: diff --git a/test/dump/setglobal.txt b/test/dump/setglobal.txt index 754bfb1f..b5c577f7 100644 --- a/test/dump/setglobal.txt +++ b/test/dump/setglobal.txt @@ -47,7 +47,7 @@ 0000029: 0b ; end 0000020: 09 ; FIXUP func body size 000001e: 0b ; FIXUP section size -setglobal.wasm: file format wasm 0x000001 +setglobal.wasm: file format wasm 0x1 Code Disassembly: diff --git a/test/dump/setlocal-param.txt b/test/dump/setlocal-param.txt index 00d1479a..5a551802 100644 --- a/test/dump/setlocal-param.txt +++ b/test/dump/setlocal-param.txt @@ -81,7 +81,7 @@ 0000042: 0b ; end 0000017: 2b ; FIXUP func body size 0000015: 2d ; FIXUP section size -setlocal-param.wasm: file format wasm 0x000001 +setlocal-param.wasm: file format wasm 0x1 Code Disassembly: diff --git a/test/dump/setlocal.txt b/test/dump/setlocal.txt index 147f78b2..198fea50 100644 --- a/test/dump/setlocal.txt +++ b/test/dump/setlocal.txt @@ -97,7 +97,7 @@ 0000059: 0b ; end 0000015: 44 ; FIXUP func body size 0000013: 46 ; FIXUP section size -setlocal.wasm: file format wasm 0x000001 +setlocal.wasm: file format wasm 0x1 Code Disassembly: diff --git a/test/dump/signatures.txt b/test/dump/signatures.txt index 6759438d..5b89e394 100644 --- a/test/dump/signatures.txt +++ b/test/dump/signatures.txt @@ -66,7 +66,7 @@ 000002e: 01 ; num results 000002f: 7c ; f64 0000009: 26 ; FIXUP section size -signatures.wasm: file format wasm 0x000001 +signatures.wasm: file format wasm 0x1 Code Disassembly: diff --git a/test/dump/store-aligned.txt b/test/dump/store-aligned.txt index 256e3b37..29c5abe7 100644 --- a/test/dump/store-aligned.txt +++ b/test/dump/store-aligned.txt @@ -199,7 +199,7 @@ 000008c: 0b ; end 000001a: 72 ; FIXUP func body size 0000018: 74 ; FIXUP section size -store-aligned.wasm: file format wasm 0x000001 +store-aligned.wasm: file format wasm 0x1 Code Disassembly: diff --git a/test/dump/store.txt b/test/dump/store.txt index 7fae3d0e..da50b1d8 100644 --- a/test/dump/store.txt +++ b/test/dump/store.txt @@ -129,7 +129,7 @@ 0000065: 0b ; end 000001a: 4b ; FIXUP func body size 0000018: 4d ; FIXUP section size -store.wasm: file format wasm 0x000001 +store.wasm: file format wasm 0x1 Code Disassembly: diff --git a/test/dump/string-escape.txt b/test/dump/string-escape.txt index 8f212540..747879ed 100644 --- a/test/dump/string-escape.txt +++ b/test/dump/string-escape.txt @@ -40,7 +40,7 @@ 0000045: 0b ; end 0000043: 02 ; FIXUP func body size 0000041: 04 ; FIXUP section size -string-escape.wasm: file format wasm 0x000001 +string-escape.wasm: file format wasm 0x1 Code Disassembly: diff --git a/test/dump/string-hex.txt b/test/dump/string-hex.txt index b7927fdf..4d4b9e3c 100644 --- a/test/dump/string-hex.txt +++ b/test/dump/string-hex.txt @@ -38,7 +38,7 @@ 0000024: 0b ; end 0000022: 02 ; FIXUP func body size 0000020: 04 ; FIXUP section size -string-hex.wasm: file format wasm 0x000001 +string-hex.wasm: file format wasm 0x1 Code Disassembly: diff --git a/test/dump/table.txt b/test/dump/table.txt index d5d1f1fa..97f2cf2e 100644 --- a/test/dump/table.txt +++ b/test/dump/table.txt @@ -86,7 +86,7 @@ 0000045: 0b ; end 000003a: 0b ; FIXUP func body size 0000032: 13 ; FIXUP section size -table.wasm: file format wasm 0x000001 +table.wasm: file format wasm 0x1 Section Details: diff --git a/test/dump/tee_local.txt b/test/dump/tee_local.txt index 7ac0327c..7cfc36ad 100644 --- a/test/dump/tee_local.txt +++ b/test/dump/tee_local.txt @@ -41,7 +41,7 @@ 000001e: 0b ; end 0000015: 09 ; FIXUP func body size 0000013: 0b ; FIXUP section size -tee_local.wasm: file format wasm 0x000001 +tee_local.wasm: file format wasm 0x1 Code Disassembly: diff --git a/test/dump/unary.txt b/test/dump/unary.txt index 7d44ba0b..8b8ea700 100644 --- a/test/dump/unary.txt +++ b/test/dump/unary.txt @@ -95,7 +95,7 @@ 0000042: 0b ; end 0000015: 2d ; FIXUP func body size 0000013: 2f ; FIXUP section size -unary.wasm: file format wasm 0x000001 +unary.wasm: file format wasm 0x1 Code Disassembly: diff --git a/test/dump/unreachable.txt b/test/dump/unreachable.txt index f205e093..d7bdf152 100644 --- a/test/dump/unreachable.txt +++ b/test/dump/unreachable.txt @@ -32,7 +32,7 @@ 0000018: 0b ; end 0000015: 03 ; FIXUP func body size 0000013: 05 ; FIXUP section size -unreachable.wasm: file format wasm 0x000001 +unreachable.wasm: file format wasm 0x1 Code Disassembly: diff --git a/test/link/data.txt b/test/link/data.txt index 79449b9a..d6a2a2b3 100644 --- a/test/link/data.txt +++ b/test/link/data.txt @@ -11,7 +11,7 @@ (data (i32.const 100) "world") ) (;; STDOUT ;;; -linked.wasm: file format wasm 0x000001 +linked.wasm: file format wasm 0x1 Sections: diff --git a/test/link/export.txt b/test/link/export.txt index d78395c4..4ac7b8ff 100644 --- a/test/link/export.txt +++ b/test/link/export.txt @@ -13,7 +13,7 @@ call 0) ) (;; STDOUT ;;; -linked.wasm: file format wasm 0x000001 +linked.wasm: file format wasm 0x1 Sections: diff --git a/test/link/function_calls.txt b/test/link/function_calls.txt index b110daa7..f36185be 100644 --- a/test/link/function_calls.txt +++ b/test/link/function_calls.txt @@ -19,7 +19,7 @@ call $local_func) ) (;; STDOUT ;;; -linked.wasm: file format wasm 0x000001 +linked.wasm: file format wasm 0x1 Sections: diff --git a/test/link/function_calls_incremental.txt b/test/link/function_calls_incremental.txt index 7fb0f235..c4ba6ef4 100644 --- a/test/link/function_calls_incremental.txt +++ b/test/link/function_calls_incremental.txt @@ -24,7 +24,7 @@ call 1) ) (;; STDOUT ;;; -linked.wasm: file format wasm 0x000001 +linked.wasm: file format wasm 0x1 Sections: diff --git a/test/link/globals.txt b/test/link/globals.txt index 04dedd8b..921e080e 100644 --- a/test/link/globals.txt +++ b/test/link/globals.txt @@ -21,7 +21,7 @@ call 0) ) (;; STDOUT ;;; -linked.wasm: file format wasm 0x000001 +linked.wasm: file format wasm 0x1 Sections: diff --git a/test/link/incremental.txt b/test/link/incremental.txt index e787e41a..2aba2165 100644 --- a/test/link/incremental.txt +++ b/test/link/incremental.txt @@ -27,7 +27,7 @@ (table anyfunc (elem $func3 $func3)) ) (;; STDOUT ;;; -linked.wasm: file format wasm 0x000001 +linked.wasm: file format wasm 0x1 Sections: diff --git a/test/link/interp.txt b/test/link/interp.txt index 17c8d94e..48d90bf1 100644 --- a/test/link/interp.txt +++ b/test/link/interp.txt @@ -41,7 +41,7 @@ (assert_return (invoke "call_import2") (i64.const 99)) (;; STDOUT ;;; -linked.wasm: file format wasm 0x000001 +linked.wasm: file format wasm 0x1 Sections: diff --git a/test/link/names.txt b/test/link/names.txt index 71f5f8ba..445b4797 100644 --- a/test/link/names.txt +++ b/test/link/names.txt @@ -21,7 +21,7 @@ call 0) ) (;; STDOUT ;;; -linked.wasm: file format wasm 0x000001 +linked.wasm: file format wasm 0x1 Sections: diff --git a/test/link/names_import_only.txt b/test/link/names_import_only.txt index b3d05ac3..f5742c03 100644 --- a/test/link/names_import_only.txt +++ b/test/link/names_import_only.txt @@ -4,7 +4,7 @@ (import "__extern" "baz" (func $import_func1)) ) (;; STDOUT ;;; -linked.wasm: file format wasm 0x000001 +linked.wasm: file format wasm 0x1 Sections: diff --git a/test/link/table.txt b/test/link/table.txt index 6613aaed..11bc8b1e 100644 --- a/test/link/table.txt +++ b/test/link/table.txt @@ -10,7 +10,7 @@ (table anyfunc (elem $func3 $func2 $func2)) ) (;; STDOUT ;;; -linked.wasm: file format wasm 0x000001 +linked.wasm: file format wasm 0x1 Sections: |