Improve error message for wasm out of bounds
Categories
(Core :: JavaScript: WebAssembly, enhancement, P3)
Tracking
()
People
(Reporter: bvisness, Unassigned)
References
Details
Attachments
(1 external file)
Expected results:
When accessing wasm memory out of bounds, report the invalid address to the user in the error message. This may require signal handling to extract the invalid address from a system exception.
| Reporter | ||
Comment 1•3 years ago
|
||
| Reporter | ||
Comment 2•3 years ago
|
||
The attached patch extracts the bad address from macOS system exceptions. It doesn't yet handle any other platforms, nor does it actually update the error message.
Updated•3 years ago
|
Updated•3 years ago
|
| Reporter | ||
Comment 3•9 months ago
|
||
We were recently talking about doing something like this, but I'm not sure if any of this old work is still relevant, nor if we have another bug now where this would be a better fit.
Comment 4•9 months ago
|
||
It looks like your patch contains most of the code needed to do this. It looks like it doesn't support multi-memory though. This is the right bug to track the work.
| Reporter | ||
Updated•9 months ago
|
| Reporter | ||
Comment 5•7 months ago
|
||
Un-assigning because Ryan's work is likely to subsume it.
Comment 6•4 months ago
|
||
Subsumed by bug 2042493.
Description
•