Skip to content

Comment on Booting a macOS Apple Silicon Kernel in QEMU

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.

Also 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.

You don't need his books, but they might be helpful if you're trying to get up to speed quickly.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.