Stream: git-wasmtime

Topic: wasmtime / PR #2615 Only handle signals at pcs with trap ...


view this post on Zulip Wasmtime GitHub notifications bot (Jan 28 2021 at 15:46):

alexcrichton opened PR #2615 from precise-pc-trap to main:

Previously wasmtime would handle any signal originating from wasm JIT
code. This would, however, handle bugs in JIT code as-if they were wasm
traps. Instead this commit switches signal handling to specifically
check for whether the precise program counter is expected to be a trap.
This way if a program counter traps and it's not expected to trap the
signal isn't handled and the process is aborted (presumably leading to
further debugging of whomever happens to work on the JIT at that time).

view this post on Zulip Wasmtime GitHub notifications bot (Jan 28 2021 at 17:19):

cfallin submitted PR Review.

view this post on Zulip Wasmtime GitHub notifications bot (Jan 28 2021 at 17:19):

cfallin merged PR #2615.


Last updated: Dec 23 2024 at 12:05 UTC