Skip to content

WebAssembly bulk memory: decode and validate segments and instructions #276

Description

@chrisbbreuer

Parent: #272
Depends on: #262
Roadmap: #263, #142, #134

Implement the pinned bulk-memory binary and validator surface before enabling execution.

Acceptance:

  • Decode DataCount in its specified section order and validate its exact relationship to data indices.
  • Decode active, passive, and declarative element segment forms plus active/passive data forms.
  • Decode exact immediates for memory.init/data.drop/memory.copy/memory.fill/table.init/elem.drop/table.copy.
  • Validate index spaces, element/reference types, memory/table compatibility, operand order, and stable malformed/disabled-feature diagnostics.
  • Add focused binary and validator tests for every encoding family and rejection class.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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