Module cve_rs::segfault

source ·
Expand description

A 100% memory-safe segmentation fault.

We first use the soundness hole (and our transmute implementation) to create a mutable null reference to a u8. Then, we dereference it to get a segmentation fault!

Functions§