Apple KPI
https://leiless.github.io/blog/posts/xnu-kext-use-private-kpi/
1 2 3 4 5 6 7
| com.apple.kpi.bsd com.apple.kpi.dsep com.apple.kpi.iokit com.apple.kpi.libkern com.apple.kpi.mach com.apple.kpi.private com.apple.kpi.unsupported
|
https://github.com/apple-oss-distributions/xnu/blob/main/config/list_supported.sh
https://github.com/apple-oss-distributions/xnu/blob/main/config/System.kext/PlugIns/MACFramework.kext/Info.plist
1 2
| <key>CFBundleIdentifier</key> <string>com.apple.kpi.dsep</string>
|
最低版本8.0
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
| <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> <key>OSBundleLibraries</key> <dict> <key>com.apple.kpi.libkern</key> <string>8.0</string> <key>com.apple.kpi.bsd</key> <string>8.0</string> <key>com.apple.kpi.dsep</key> <string>8.0</string> </dict> </dict> </plist>
|
https://github.com/PureDarwin/PureDarwin/blob/main/cmake/kext.cmake
https://github.com/wurui1994/MiscRecord/tree/master/Sources/Platform/MacOS/cmakekext
https://github.com/PureDarwin/PureDarwin/blob/main/cmake/templates/kmod_info.c.in