[ext-code-space] Fix UB when accessing CodeDataContainer::code
... because of unaligned field address. The fix is to load code cage base and the tagged value separately and then decompress - the same way as it's done in the relaxed accessors of the code field. Bug: v8:11880 Change-Id: Ia4699458e6a00ee16efea06c48cc5c67a82b22f7 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3416999 Auto-Submit: Igor Sheludko <ishell@chromium.org> Reviewed-by: Dominik Inführ <dinfuehr@chromium.org> Commit-Queue: Dominik Inführ <dinfuehr@chromium.org> Cr-Commit-Position: refs/heads/main@{#78801}
Showing
Please
register
or
sign in
to comment