summaryrefslogtreecommitdiff
path: root/test/binary/bad-duplicate-section.txt
Commit message (Collapse)AuthorAgeFilesLines
* Update spec testsuite (#1237)Sam Clegg2019-11-221-2/+2
| | | | | | | 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.
* Replace `run-gen-wasm*.py` with `RUN` commands (#738)Ben Smith2018-01-261-6/+1
| | | | | This adds a new TOOL: `run-gen-wasm-bad` which is the same as `run-gen-wasm`, but assumes that both `wasm2wat` and `wasm-validate` will fail with an error.
* Support different returncodes per command in tests (#737)Ben Smith2018-01-261-1/+1
| | | | | | | | Each command can specify its expected returncode. If the returncode doesn't match when the command is run, then no further commands are run for that test. This change also requires all ERROR directives to be specified after the RUN commands, since they are added to a command in the same way as ARGS.
* Add wasm-validate tool (#664)Ben Smith2017-10-311-0/+3
| | | | It's currently identical to wasm2wat, without the part to write out a .wat file.
* Rename wasm2wast -> wasm2wat (#616)Ben Smith2017-09-081-1/+1
| | | See issue #543.
* Remove BinaryErrorHandler, rename SourceErrorHandler (#553)Ben Smith2017-07-061-1/+1
| | | | | | | Since SourceErrorHandler can support binary locations, it doesn't make much sense to have two different error handlers. There is now only an ErrorHandler base class, and the first argument specifies whether the error handler is expecting text or binary locations.
* Make most enumerations into enum classes (#329)Ben Smith2017-03-011-1/+1
|
* Fix some binary reader bugs found by fuzzing (#261)Ben Smith2016-12-271-0/+11
* Change assertions in apply-names to failures * Fix off-by-one bug in binary-reader-ast get_label_at * Keep track of last known section code, so the same section cannot be specified twice, with a custom section between.