You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
One thing not included in that PR is support (or testing) for PPC binaries or fat binaries that contain PPC code. In theory a toolchain old enough (or https://github.com/tpoechtrager/osxcross/tree/ppc-test) should be able to build some test fixtures if this support is needed in future.
Activity
xoofx commentedon Dec 2, 2024
OS X ABI Mach-O File Format Reference for more information
filipnavara commentedon Dec 2, 2024
Feel free to take code/inspiration from https://github.com/filipnavara/codesign which has a Mach-O manipulation library inspired by LibObjectFile.
Add Mach-O format constants and raw structures
Add Mach-O object model and reader
Add Mach-O writer preserving recorded content offsets
Add Mach-O dylib and path load commands
Add address-preserving load command injection to Mach-O
Add Mach-O link edit data load commands
Add ad-hoc code signing for Mach-O images
ProjectSynchro commentedon Sep 2, 2026
The majority of Mach-O is supported in #50.
One thing not included in that PR is support (or testing) for PPC binaries or fat binaries that contain PPC code. In theory a toolchain old enough (or https://github.com/tpoechtrager/osxcross/tree/ppc-test) should be able to build some test fixtures if this support is needed in future.