aarch64: WasmFault
calculated with incorrect Wasm address
#7624
Labels
bug
Incorrect behavior in the current implementation that needs fixing
Test Case
See
wasm_fault_address_reported_from_mpk_protected_memory
in #7622Steps to Reproduce
gh pr checkout 7622
)cargo test -- traps::wasm_fault_address_reported_from_mpk_protected_memory
Expected Results
The test to pass.
Actual Results
The test fails because the error message contains
0xdeadbee8
instead of the expected0xdeadbeef
. This likely is an endianness issue causing the calculation ofWasmFault
(seeStore::wasm_fault
, e.g.) to be slightly off.Versions and Environment
Wasmtime version or commit: #7622
Operating system: Reproduced in the "Linux arm64" CI runner (here)
Architecture: aarch64
The text was updated successfully, but these errors were encountered: