Description[runtime] Add instance size check for CheckEquivalent().
WASM exported functions have additional internal fields which change the instance
size. Adding a getter or setter to such an exported function results in its map
becoming normalized. The normalized map cache, however, finds a different map
with a different instance size, and thus BOOM.
R=verwaest@chromium.org,cbruni@chromium.org
BUG=
Committed: https://crrev.com/576abe14c673eefc4aaf3aaba4b4b670b1d87a12
Cr-Commit-Position: refs/heads/master@{#41691}
Patch Set 1 #Patch Set 2 : Only check internal field count #Patch Set 3 : Fix the header size calculation for modules. #
Messages
Total messages: 21 (16 generated)
|