fune/python/macholib/doc/scripts.rst
Mike Shal 09246b31f2 Bug 1265272 - Import macholib 1.7; r=ted,gerv
MozReview-Commit-ID: 1bPUuRQF2lQ
2016-04-21 11:46:07 -04:00

35 lines
726 B
ReStructuredText

Command-line tools
==================
python -m macholib find
-----------------------
Usage::
$ python -mmacholib find dir...
Print the paths of all MachO binaries
in the specified directories.
python -m macholib standalone
-----------------------------
Usage::
$ python -m macholib standalone appbundle...
Convert one or more application bundles into
standalone bundles. That is, copy all non-system
shared libraries and frameworks used by the bundle
into the bundle and rewrite load commands.
python -mmacholib dump
----------------------
Usage::
$ python -mmacholib dump dir...
Prints information about all architectures in a
Mach-O file as well as all libraries it links
to.