mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
docs: fix markdown formatting in fuses.md (#50333)
* docs: fix markdown formatting in fuses.md * Use bulleted list (was being run together on one line) * Wrap ASCII diagram in code block Co-authored-by: Ryan Zimmerman <ryan@exodus.io> * docs: apply suggestions from code review Co-authored-by: John Kleinschmidt <kleinschmidtorama@gmail.com> Co-authored-by: Erick Zhao <erick@hotmail.ca> Co-authored-by: Ryan Zimmerman <ryan@exodus.io> * docs: fix misapplied suggestion Co-authored-by: Ryan Zimmerman <ryan@exodus.io> --------- Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com> Co-authored-by: Ryan Zimmerman <ryan@exodus.io>
This commit is contained in:
@@ -146,13 +146,15 @@ The extra privileges granted to the `file://` protocol by this fuse are incomple
|
||||
The `wasmTrapHandlers` fuse controls whether V8 will use signal handlers to trap Out of Bounds memory
|
||||
access from WebAssembly. The feature works by surrounding the WebAssembly memory with large guard regions
|
||||
and then installing a signal handler that traps attempt to access memory in the guard region. The feature
|
||||
is only supported on the following 64-bit systems.
|
||||
is only supported on the following 64-bit systems:
|
||||
|
||||
Linux. MacOS, Windows - x86_64
|
||||
Linux, MacOS - aarch64
|
||||
* Linux, macOS, Windows - x86_64
|
||||
* Linux, macOS - aarch64
|
||||
|
||||
```text
|
||||
| Guard Pages | WASM heap | Guard Pages |
|
||||
|-----8GB-----| |-----8GB-----|
|
||||
```
|
||||
|
||||
When the fuse is disabled V8 will use explicit bound checks in the generated WebAssembly code to ensure
|
||||
memory safety. However, this method has some downsides
|
||||
|
||||
Reference in New Issue
Block a user