Skip to content

Commit 7358bbf

Browse files
committed
Bug 1592783 - Change bulk-memory instructions to trap before writing. r=lth
This commit changes all bulk-memory instructions to perform up-front bounds checks and trap if any access would be out-of-bounds before writing. This affects: * memory.init,copy,fill * table.init,copy,fill * data segment instantiation (reduces to memory.init) * elem segment instantiation (reduces to table.init) Spec issue: WebAssembly/bulk-memory-operations#111 Differential Revision: https://phabricator.services.mozilla.com/D51755 UltraBlame original commit: 801e6ae4efdeb516250c6800e31f969d337b8f40
1 parent 024e41b commit 7358bbf

File tree

2 files changed

+378
-1510
lines changed

2 files changed

+378
-1510
lines changed

0 commit comments

Comments
 (0)