thefox/macho

PHP script for modifying Mach-O executable i386 and x86_64 files.

v0.5.0 2017-06-14 19:18 UTC

This package is auto-updated.

Last update: 2024-04-24 04:12:36 UTC


README

PHP script for modifying Mach-O 64-bit executable x86_64 files using PHP.

Project Outlines

The project outlines as described in my blog post about Open Source Software Collaboration.

  • The main purpose of this software is to modify Mach-O 64-bit executable x86_64 files using PHP.
  • This list is open. Feel free to request features.

Installation

The preferred method of installation is via Packagist and Composer. Run the following command to install the package and add it as a requirement to composer.json:

composer require thefox/macho

Usage

To print general informations about a binary executable you can type the following command into your shell:

./macho binary --all PATH

For example:

./macho binary --all

Another way to print general informations about a binary executable is to use dbg.sh script. This script uses default OS X tools like nm and otool.

Links

Examples

Look into examples directory to see code examples how to use this in your own project.