MCPcopy Create free account
hub / github.com/echQoQ/RustSL / trigger_access_violation_exception

Function trigger_access_violation_exception

RustVEHSyscalls/src/hooks.rs:319–324  ·  view source on GitHub ↗

This function dereferences a null pointer, which causes an access violation and is used to invoke the previously set vectored exception handlers.

()

Source from the content-addressed store, hash-verified

317/// This function dereferences a null pointer, which causes an access violation and is used to
318/// invoke the previously set vectored exception handlers.
319fn trigger_access_violation_exception() {
320 unsafe {
321 let a: *mut i32 = 0 as *mut i32;
322 let _b = *a;
323 }
324}

Callers 1

set_hw_bpFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected