I am trying to create a kext to be run on OS X 10.9. Currently, when I create the new project (in Xcode, I am given a c template with some methods I can override (cckext_start()
and cckext_stop()
). This is all fine and well but I would prefer to create my extension using c++.
Is this:
If so, how can I do it?
Yes, it is possible. As a matter of fact, the kernel API, or KPI, is mostly written in C++. The Kernel Extension Programming Guide and I/O Kit Fundamentals should get you started.