|Debugging macOS kernel using VirtualBox|
|By Thom Holwerda on 2017-04-10 23:26:34|
Late last year, I upgraded my old MBP to the 2016 model with a Skylake processor. As I was debugging a kernel exploit, it turned out that SMAP was enabled inside my VMWare Fusion VM. I wanted to avoid dealing with SMAP, but couldn't figure out how to disable it in Fusion. Luckily, VirtualBox VMs do not support SMAP (yet?).
This post will be a step-by-step guide on how to setup macOS kernel source-level debugging using VirtualBox. Though all the step examples are geared toward VirtualBox, this guide can also be used to setup kernel debugging on VMWare Fusion since it's even more straightforward in Fusion.
- Apple deprecates OpenGL, OpenCL in macOS Mojave - 2018-06-05
- Apple will let developers port iOS apps to macOS in 2019 - 2018-06-04
- Apple announces macOS 10.14 Mojave - 2018-06-04
- Apple leaks macOS 10.14 dark mode, Xcode 10 - 2018-06-02
- More related articles