Drop in Mach-O parsing code I wrote for PLSimulator in the simlaunch project.