summaryrefslogtreecommitdiff
path: root/test/dump/table.txt
Commit message (Collapse)AuthorAgeFilesLines
* Share reading/validation code between elem exprs & other const exprs (#2288)Keith Winstein2023-09-061-6/+6
| | | | | | This continues the work from #1783 and reduces special handling of elem exprs, by treating them the same as other const expressions (init expressions).
* Finish instruction renaming (#1792)Heejin Ahn2021-12-201-1/+1
| | | | | | | | | | | | | This finishes #985. This - replaces the old names in the tests with the new names - drops support for the deprecated names - renames test files to match new instruction names I don't think dropping support for the old names will be a problem at this point. #985 says the old names are supported for convenience but we should remove those too at some point; that "some point" may have well arrived given that three years have passed. The lists of names updated are in #933, #1564, WebAssembly/spec#720.
* Use stderr for all logging and error output (#1579)Sam Clegg2020-12-031-1/+3
| | | | I'm not sure why we were using stdout but the convention is normally to write all logging and error message to stderr.
* Update output from type to func type in binary writer and reader (#1570)Radu M2020-11-161-3/+3
| | | Signed-off-by: Radu M <root@radu.sh>
* Update spec testsuite (#1237)Sam Clegg2019-11-221-6/+6
| | | | | | | The only major change to the interpreter is to move segment initialization out `ReadBinaryInterp` (in the binary reader) and into interp.cc. This is because the test suite now expects out of bound semgments to be reported during initialization rather than reported as validation errors.
* Switch to treating segment flags as a bitfield. NFC (#1232)Sam Clegg2019-11-181-6/+6
| | | | | | | | | | | This is in preparation for updating to latest version reference-types proposal where there is an additional flag and they can be combined. See: https://github.com/WebAssembly/bulk-memory-operations/issues/98 Also, add ERROR_IF to binary-reader.cc as logical corollary to the existing ERROR_UNLESS.
* Proper encoding of passive element segments (#1066)Ben Smith2019-04-181-8/+8
| | | | | * Store element segments as a vector of `ElemExpr`, instead of func index * Read/write binary format for each element expression * Read/write text format for each element expression
* Rename anyfunc -> funcref; parse reference types (#1026)Ben Smith2019-02-251-2/+2
| | | | | | | | | Also: * Add feature limits on using v128 and anyref types (requires --enable-simd and --enable-reference-types respectively). * Separate out ParseValueType (used for params, locals, global types) from ParseRefType (used for table types).
* Pass function body size in BinaryReader callback (#975)Ben Smith2018-12-121-3/+7
| | | This is useful for finding large functions with wasm-objdump.
* Add bulk memory opcode definitions (#927)Alex Crichton2018-10-121-2/+2
| | | | | | | | | | | | This commit starts to add support in wabt's various tools for the upcoming [bulk memory proposal][1]. This is based off the current proposal's overview, although these may get tweaked over time! This is also the first time I've significantly contributed to wabt, and what I thought would be a relatively simple addition ended up being much larger than I imagined! I didn't add many negative tests yet but if more tests are desired please let me know! [1]: https://github.com/webassembly/bulk-memory-operations
* [objdump] Display element count in section details (#899)Sam Clegg2018-08-271-4/+4
|
* [objdump] Include elem segment offset when printing table elements (#851)Sam Clegg2018-06-041-42/+54
|
* objdump: Report elem count for each elem segment (#812)Sam Clegg2018-03-161-1/+1
|
* Remove `run-objdump.py`; replace with `RUN` cmds (#732)Ben Smith2018-01-241-1/+2
| | | | | | | | | | | | | | | | * Remove `run-objdump.py`; replace with `RUN` cmds This CL introduces two new TOOLs for tests: * `run-objdump-gen-wasm`: Run objdump on wasm files generated by `gen-wasm.py`. * `run-objdump-spec`: Run objdump on wasm files generated by `wast2json`. For now, this requires each test to specify the files manually: `%(temp_file)s.0.wasm %(temp_file)s.1.wasm` etc. `gen_wasm_py` has been added as a new RUN variable as well. * Call FixPythonExecutable after expanding variables
* Rename run args (#728)Ben Smith2018-01-211-1/+1
| | | | As suggested in https://github.com/WebAssembly/wabt/pull/725#discussion_r162516714.
* [objdump] Be more explict about type and element indexes (#481)Sam Clegg2017-06-071-7/+7
|
* Rename wasmdump to wasm-objdump (#455)Sam Clegg2017-05-251-1/+1
| | | | This is more consistent with how llvm and binutils name such tools.
* Regenerate expected test output (#423)Sam Clegg2017-05-101-0/+1
| | | | | The expected test output was out of sync becasue whitespace at the start and end of stdout doesn't cause test failures (because stdout/stderr are stripped before comparison).
* Use 8 hex digits for wasm version rather than 6. (#391)pipcet2017-04-051-1/+1
|
* Add callback for end opcode and end of function (#358)Sam Clegg2017-03-161-0/+3
| | | | | Without this objdump doesn't show the final byte/opcode of each function.
* Make most enumerations into enum classes (#329)Ben Smith2017-03-011-9/+9
|
* Update wasm binary format label to 1 (#310)Derek Schuff2017-02-241-2/+2
| | | | | | | | | | | | * Update wasm binary format label to 1 Rebaseline tests, but no other changes. * Revert test/spec/globals.txt * Update testsuite * Update spec binary.wast test and testsuite repo
* Add function names and relocations to wasmdump disassembly (#285)Sam Clegg2017-01-231-7/+5
|
* Make some binary reading/writing utilities public (#245)Sam Clegg2016-12-141-3/+3
| | | | | | | * Make some binary reading/writing utilities public This is mostly a refactor to make some of the internal binary reading/writing utilities public and available to the wasm linker prototype that I'm working on.
* wasmdump: improve printing of limits (#244)Sam Clegg2016-12-131-1/+1
|
* wasmdump: improve print of tables and elements (#236)Sam Clegg2016-12-071-1/+24
|
* Wasmdump improvments (#226)Sam Clegg2016-11-301-1/+1
| | | | | * Wasmdump improvments fixes #167
* wasmdump improvments (#192)Sam Clegg2016-10-311-0/+3
| | | | | | | | * wasmdump improvments - Split into three different passes: headers, details, and raw - Nest imports correctly - Show element count as part of section header rather than on its own line
* Fix types for binary 0xdBen Smith2016-10-261-9/+9
| | | | | | | * All types are unified (i32,i64,f32,f64,func,anyfunc,void) * Can't use array to get type name; use `wasm_get_type_name` instead * Encode types as vs7 (i.e. Signed LEB128 with max length 1 byte) * Change version to 0xd
* Remap the operator encoding for binary 0xdBen Smith2016-10-261-7/+7
|
* Update tests syntax to new flat syntax (#174)Kwadwo 'Que' Amankwa2016-10-201-1/+2
| | | | converted another batch
* Add wasmdump binary for inspecting wasm files (#161)Sam Clegg2016-10-121-7/+6
| | | | | | * Add wasmdump binary for inspecting wasm files Run this tool to as part of the 'dump' tests rather than using the -d flag to wast2wasm.
* Remove trailing whitespace from hexdumps (#154)Sam Clegg2016-10-071-70/+70
|
* Refactor all uses of s_opcode_ to use functionsBen Smith2016-10-061-6/+6
|
* append END opcode at end of functionBen Smith2016-09-301-12/+15
| | | | This fixes #132.
* Update 'dump' tests for binary_0xcSam Clegg2016-09-291-75/+71
|
* WIP on tables + memoriesBen Smith2016-09-291-25/+41
|
* fix dump tests, update binary version to 0xcBen Smith2016-09-291-2/+2
|
* update dump testsBen Smith2016-04-281-63/+64
|
* remove end sectionBen Smith2016-03-111-7/+1
|
* fixed order for encodersBen Smith2016-03-101-30/+30
|
* sections have size and name as stringBen Smith2016-03-091-39/+65
|
* update v8, use function sig and body sectionsBen Smith2016-03-091-31/+29
| | | | v8 also has support for the names section, but I'll add that later.
* update v8, more leb128, two-level importsBen Smith2016-03-081-6/+6
|
* rebase master; remove need for local decl fixupBen Smith2016-03-071-3/+0
|
* Rebase the dumps on local decls changes.Ben L. Titzer2016-03-071-21/+27
|
* binary format has magic and version numberBen Smith2016-02-281-37/+40
|
* move shared binary format stuff to wasm-binary.hBen Smith2016-02-241-4/+4
|
* fix --dump-module flagBen Smith2015-12-111-0/+4
| | | | I broke this when I rewrote everything.
* don't write func name offset if func is not exportedBen Smith2015-12-031-23/+20
| | | | | This was originally done because it was difficult to do otherwise with the old binary generator.