Back to Browse

Magic-1 HomebrewCPU: Fun with Segfaults

1.3K views
Mar 25, 2024
19:21

Previously, Magic-1 allowed C programs to silently deference NULL pointers. Though legal, this didn't seem right - so I made some changes to force a SIGSEGV on NULL pointer dereference. And, while we're at it, let's take a look at some other things we can do with segfault handling.

Download

0 formats

No download links available.

Magic-1 HomebrewCPU: Fun with Segfaults | NatokHD