com.apple.kec.pthread symbols?

Sometimes macOS Kernel decides to KP in some com.apple.kec.pthread code.


Sometimes you may want to get the symbols for the KP backtrace.


Problem:


com.apple.kec.pthread is not provided in the KDK (macOS 10.12.3)

com.apple.kec.pthread is not loaded at the same address as "kernel".


Question:


Where is this com.apple.kec.pthread thing coming from?

Is it provided in the KDK with a non intuitive name?

Accepted Reply

I haven’t looked into the details of this but this KEXT is part of pthreads.

$ grep com.apple.kec.pthread /System/Library/Extensions/pthread.kext/Contents/Info.plist
    <string>com.apple.kec.pthread</string>

The source is in Darwin, in the

libpthread
project (can’t give you a link because
opensource.apple.com
is having a bad day).

Share and Enjoy

Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardware

let myEmail = "eskimo" + "1" + "@apple.com"

Replies

I haven’t looked into the details of this but this KEXT is part of pthreads.

$ grep com.apple.kec.pthread /System/Library/Extensions/pthread.kext/Contents/Info.plist
    <string>com.apple.kec.pthread</string>

The source is in Darwin, in the

libpthread
project (can’t give you a link because
opensource.apple.com
is having a bad day).

Share and Enjoy

Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardware

let myEmail = "eskimo" + "1" + "@apple.com"

Thanks.