Latest Kext and NKE documentation?

Hello,


a few years ago, I developed several kexts for OS X, so I am not entirely new to the subject. Now I would like to brush up my knowledge, but information seems to be somewhat scarce and possibly outdated.


What I could find was a video from WWDC 2004, but I am rather certain that I have seen later presentations (including on debugging techniques and other things). The Googles (and the search on the Apple developer site) do nothing, however.

Does anyone recall what the most recent Kernel sessions at WWDC were?


And is this still the authoritative documentation?


* https://developer.apple.com/library/archive/documentation/Darwin/Conceptual/KEXTConcept/KEXTConceptIntro/introduction.html#//apple_ref/doc/uid/TP40001063

* https://developer.apple.com/library/archive/documentation/Darwin/Conceptual/NKEConceptual/intro/intro.html#//apple_ref/doc/uid/TP40001858-CH225-SW1


Thanks, any pointers are appreciated!


P.S. I am well aware that the use of NKE is discouraged. The goal is to implement a proof of concept as NKE first, and then make enhancement requests for Network Extensions as appropriate.

Replies

Does anyone recall what the most recent Kernel sessions at WWDC were?

IIRC the last KEXT-specific session we had was in the 10.9 timeframe. Ah, there it is, WWDC 2013 Session 707 What’s New in Kext Development.

Alas, the link seems to be broken right now. I’ll see what I can do to get that fixed.

The other critical resource is the read me that comes up with the KDK for the system you’re targeting. Specifically, that covers how to set up debugging.

And is this still the authoritative documentation?

Yes.

Share and Enjoy

Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardware

let myEmail = "eskimo" + "1" + "@apple.com"