Thanks - I’ve gone through that video, but am still getting errors whenever trying to do anything kext-related in lldb. I do:
Traceback (most recent call last):
File "/Volumes/KernelDebugKit/mach_kernel.dSYM/Contents/Resources/Python/lldbmacros/xnu.py", line 107, in _internal_command_function
obj(cmd_args=stream.target_cmd_args)
File "/Volumes/KernelDebugKit/mach_kernel.dSYM/Contents/Resources/Python/lldbmacros/memory.py", line 1035, in ShowAllKexts
kextuuidinfo = GetKextLoadInformation()
File "/Volumes/KernelDebugKit/mach_kernel.dSYM/Contents/Resources/Python/lldbmacros/memory.py", line 1056, in GetKextLoadInformation
total_summaries = int(kern.globals.gLoadedKextSummaries.numSummaries)
File "/Volumes/KernelDebugKit/mach_kernel.dSYM/Contents/Resources/Python/lldbmacros/core/cvalue.py", line 243, in __int__
return self._GetValueAsUnsigned()
File "/Volumes/KernelDebugKit/mach_kernel.dSYM/Contents/Resources/Python/lldbmacros/core/cvalue.py", line 295, in _GetValueAsUnsigned
raise ValueError("Failed to read unsigned data. "+ str(self._sbval19k84obscure747) +"(type =" + str(self._sbval19k84obscure747_type) + ") Error description: " + serr.GetCString())
ValueError: Failed to read unsigned data. (uint32_t) numSummaries = <parent is NULL>(type =typedef uint32_t) Error description: could not resolve value
I’m running 10.9 build 13A603 with the respective KernelDebugKit mounted.
On Jan 4, 2014, at 8:38 PM, Rustam Muginov <
email@hidden> wrote:
Jeff,
I had seen an explanation of Mavericks kernel debugging at the "What’s New in Kext Development" session during WWDC'13.
--
Sincerely,
Rustam Muginov
Do not post admin requests to the list. They will be ignored.
Darwin-kernel mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden