Comment on Booting a macOS Apple Silicon Kernel in QEMUComments−protoman30005yIncredible. Emulating AppleSilocon before they even announced it.Does anybody know where one can learn about how these people approach and learn about the inner workings of what is essentially a black box from the outside?−saagarjha5yLoad the file into a decompiler, run it in QEMU with GDB attached, compare. Also have a general idea of how XNU boots.−anitil5yI remember a comment (maybe from HN) that said "Everything's open source when you can read assembly".−saagarjha5yXNU happens to be mostly open-source.−protoman30005yAlso have a general idea of how XNU boots.I guess Jonathan Levin’s Books should then be mentioned here.However, that then leads to the question how Levin reversed this black box.−saagarjha5yYou don't need his books, but they might be helpful if you're trying to get up to speed quickly.
Comments
Incredible. Emulating AppleSilocon before they even announced it.
Does anybody know where one can learn about how these people approach and learn about the inner workings of what is essentially a black box from the outside?
Load the file into a decompiler, run it in QEMU with GDB attached, compare. Also have a general idea of how XNU boots.
I remember a comment (maybe from HN) that said "Everything's open source when you can read assembly".
XNU happens to be mostly open-source.
I guess Jonathan Levin’s Books should then be mentioned here.
However, that then leads to the question how Levin reversed this black box.
You don't need his books, but they might be helpful if you're trying to get up to speed quickly.