Skip to content

Implement stack overflow protection for webassembly #130397

Closed
@markshannon

Description

@markshannon

Implementing stack overflow protection for webassembly is tricky, as there are two stacks:

  1. The hidden webassembly stack
  2. The stack used for C stack objects that can have their address taken

We need to avoid overflowing either. It generally seems that the first stack is the one most vulnerable to overflow, so perhaps a simple counter would work.

@brettcannon
@hoodmane

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions