开发者

Find the OS X kext library that contains a symbol

开发者 https://www.devze.com 2023-01-09 14:15 出处:网络
with Snow Leopard 10.6.4 I am obtaining an unresolved symbol: $ sudo kextutil KRPC.kext (kernel) kxld[com.machackershandbook.kext.KRPC]: The fol开发者_运维知识库lowing symbols are unresolved for this

with Snow Leopard 10.6.4 I am obtaining an unresolved symbol:

$ sudo kextutil KRPC.kext
(kernel) kxld[com.machackershandbook.kext.KRPC]: The fol开发者_运维知识库lowing symbols are unresolved for this kext:
(kernel) kxld[com.machackershandbook.kext.KRPC]: _mig_buckets

I cannot find this symbol using kextfind, however this symbol is exported in the kernel:

$ kextfind -dsym _mig_buckets
$ nm -arch i386 /mach_kernel |grep _mig_buckets
00844b00 S _mig_buckets
$ nm -arch x86_64 /mach_kernel |grep _mig_buckets
ffffff8000672e40 S _mig_buckets

How can I find the kext library to link with this symbol using the OSBundleLibraries dict?


Have you tried running kextlibs on your kext? it may give you the correct dependency. Otherwise, it is likely one of the following:

  • com.apple.kpi.mach
  • com.apple.kpi.unsupported

see this apple Q&A for more information about the unsupported KPI

0

精彩评论

暂无评论...
验证码 换一张
取 消