Closed gaory1 closed 2 months ago
Hello, you can try the following :
dwarf2json mac --macho /Library/Developer/KDKs/KDK_12.7.5_21H1222.kdk/System/Library/Kernels/kernel.dSYM/Contents/Resources/DWARF/kernel --macho-symbols /Library/Developer/KDKs/KDK_12.7.5_21H1222.kdk/System/Library/Kernels/kernel
Oh yes, it works! Now I realize that I have to pass different 'kernel' files to --macho and --macho-symbols. Thank you very much.
I installed KDK on a macOS computer and tried to extract the symbols, but the banner in the resulting JSON file is garbled. No useful information was found on the Internet. Do you have any suggestion?
This is the command I used:
Here is the banner(version) information the command outputs:
The value of 'constant_data' is expected to be the base64-encoded string of 'Darwin Kernel Version ...' but it turns out to be some kind of binary string.
More information:
Thanks in advance.