【文件属性】:
文件名称:OSX-and-iOS-Kernel-Programming:来自 OS X 和 iOS 内核编程书籍的代码
文件大小:91KB
文件格式:ZIP
更新时间:2021-06-13 02:41:52
C++
OS X 与iOS 内核编程
不要忘记使用sudo
Don't forget use sudo
uname -r 查看系统内核版本
sudo chown -R root:wheel HelloWorld.kext 更改权限
sudo kextload HelloWorld.kext 加载内核扩展
kextstat 查看当前内核扩展情况
sudo kextunload HelloWorld.kext 卸载内核扩展
使用Console 查看system.log
使用IORegistryExplorer 查看kext IOLog 输出信息
使用USB Prober 查看usb 使用情况
sudo zprint 查看kalloc 分配的内存域
kextlibs MyFirstUSBDriver.kext 查看kext 依赖
Apple 不允许Mac App Store 上的软件获取root 权
【文件预览】:
OSX-and-iOS-Kernel-Programming-master
----IOKitTest()
--------IOKitTest()
--------IOKitTest.xcodeproj()
----MyFirstUSBDriver()
--------MyFirstUSBDriver()
--------MyFirstUSBDriver.xcodeproj()
----README.md(688B)
----HelloWorld()
--------HelloWorld.xcodeproj()
--------HelloWorld()
----DriverIteratorAndOther()
--------DriverIteratorAndOther.xcodeproj()
--------DriverIteratorAndOther()