Skip to content
Commit 3134e256 authored by Chris Jones's avatar Chris Jones Committed by Jacob Bramley
Browse files

Perform implicit checks on store instructions

It is possible for runtimes to perform implicit checks on store
instructions as well as load instructions, therefore support
performing implicit checks on store instructions as well as loads. Do
this by returning true from memory write operations if they succeeded
and false if they failed but were handled by a signal handler.

Implicit checks on store instructions are simulated using a native
memory load because introducing an additional memory store could
change the observable behaviour of multithreaded runtimes. This means
that it is not currently possible to accurately simulate the
behaviour of implicit checks on regions with different access
permissions for reads/writes. For example: if a page has read but not
write permissions then an implicit check would not fail as the
underlying probing instruction will perform a memory read.
parent 89dfbc00
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment