mirror of https://github.com/google/oss-fuzz.git
wasmtime: Allow Wasmtime to handle SIGFPE (#9945)
Recently Wasmtime switched code generator tactics for the implementation of integer division. This means that Wasmtime expects to receive SIGFPE for divide-by-zero traps and similar. This is similar to other signals that Wasmtime is expected to handle in JIT code. This commit adds an option for Wasmtime to let it handle signals in the same manner that it's allowed to handle SIGILL and SIGSEGV currently.
This commit is contained in:
parent
34640bceec
commit
dca8eca5c3
|
@ -2,3 +2,4 @@
|
|||
allow_user_segv_handler=1
|
||||
handle_sigill=0
|
||||
handle_segv=1
|
||||
handle_sigfpe=1
|
||||
|
|
Loading…
Reference in New Issue