ronaldoussoren/macholib

macholib can be used to analyze and edit Mach-O headers, the executable format used by Mac OS X. It's typically used as a dependency analysis tool, and also to rewrite dylib references in Mach-O headers to be @executable_path relative. Though this tool targets a platform specific file format, it is pure python code that is platform and endian independent.

Python

103

248 commits

updated Jan 2, 2026

See the code

README

macholib can be used to analyze and edit Mach-O headers, the executable
format used by Mac OS X.

It's typically used as a dependency analysis tool, and also to rewrite dylib
references in Mach-O headers to be @executable_path relative.

Though this tool targets a platform specific file format, it is pure python
code that is platform and endian independent.

CI Status
---------

* .. image:: https://github.com/ronaldoussoren/macholib/workflows/Lint/badge.svg
* .. image:: https://github.com/ronaldoussoren/macholib/workflows/Test/badge.svg

Project links
-------------

* `Documentation <https://macholib.readthedocs.io/en/latest/>`_

* `Issue Tracker <https://github.com/ronaldoussoren/macholib>`_

* `Repository <https://github.com/ronaldoussoren/macholib/>`_

Not written in Markdown, so it's shown here as plain text — view it formatted on GitHub.

ronaldoussoren/macholib

macholib can be used to analyze and edit Mach-O headers, the executable format used by Mac OS X. It's typically used as a dependency analysis tool, and also to rewrite dylib references in Mach-O headers to be @executable_path relative. Though this tool targets a platform specific file format, it is pure python code that is platform and endian independent.

Python

103

248 commits

updated Jan 2, 2026

See the code

README

macholib can be used to analyze and edit Mach-O headers, the executable
format used by Mac OS X.

It's typically used as a dependency analysis tool, and also to rewrite dylib
references in Mach-O headers to be @executable_path relative.

Though this tool targets a platform specific file format, it is pure python
code that is platform and endian independent.

CI Status
---------

* .. image:: https://github.com/ronaldoussoren/macholib/workflows/Lint/badge.svg
* .. image:: https://github.com/ronaldoussoren/macholib/workflows/Test/badge.svg

Project links
-------------

* `Documentation <https://macholib.readthedocs.io/en/latest/>`_

* `Issue Tracker <https://github.com/ronaldoussoren/macholib>`_

* `Repository <https://github.com/ronaldoussoren/macholib/>`_

Not written in Markdown, so it's shown here as plain text — view it formatted on GitHub.

Project health

Overall

2.0/10

Maintained

0/10

Code review

0/10
OpenSSF Scorecard

Latest release

1.16.4 · Nov 22, 2025

Releases this year

1

Significant stargazers

James Lamb

759 followers · starred Jan 2023

Erlend E. Aasland

121 followers · starred Apr 2023

杨萧玉

2,683 followers · starred Jul 2023