Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想从我的 kext 检查 OSDictionary 的内容。有没有方便的方法将内容打印到 system.log 或类似文件?(阿拉CFShow())?
thx->adv,
|K<
我找到了一个代码片段来帮助解决这个问题(打印 dict 键):
static void printDictionaryKeys (OSDictionary * inDictionary, char * inMsg)
来源在这里: printDictionaryKeys()