Skip to content

Section size in a test cast of spec tests #1423

@q82419

Description

@q82419

In a test case of binary.wast:
https://github.com/WebAssembly/spec/blob/main/test/core/binary.wast#L1777

The code section size is 0x12, which is 18.
But the content size of the code section is 19.

Is this an error and the correct value is 0x13?
If the 0x12 is correct, can you explain that why the error message is unexpected end, not section size mismatch?
Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions