GithubHelp home page GithubHelp logo

beeselmane / mtool Goto Github PK

View Code? Open in Web Editor NEW
3.0 1.0 0.0 2.87 MB

Mach-O Analysis Tool

License: GNU General Public License v3.0

Objective-C 91.41% Shell 5.22% Makefile 1.28% Assembly 0.16% C 1.93%

mtool's Introduction

Mach-O Tool (MTool)
===================


About.


This is a project for analysing Mach-O images, used on Apple's Operating System family, stemming from the Mach kernel.

Most of this is focused on modern binaries used in Apple's systems.

Additionally, we want to be able to handle ex. dyld shared caches, fat binaries, etc.



Building.


First time:

Clone this repository.

From the root of this repository, run `sh ref/clone.sh`. This will checkout various open source components of Apple's OS family into the `ref/` directory.

Open the mtool.xcodeproj project in Xcode.

Build the `extract_external_headers` target. This will process and copy various public and private headers out of the open source code from Apple.


Subsequently:

Simply build whichever target you wish. The LibObjC framework is a utility framework used by both the MTool framework and the command line tool.
The source for the MTool framework is compiled as a static library which is linked with the mtool command frontend and then linked with the version into to build the dynamic library.

The dynamic framework exists only to export headers and allow integration into other projects.
The command line tool is for end user access to the interfaces provided therein.



Testing.


The `test` directory contains a Makefile and source code for various tools useful in testing the mtool command.
It responds to `make all` and `make clean` as per standard. It builds into the `test/bin` directory.



Licensing.


I license all code contained explicitly in this repo under GPLv3.
Some of the scripts download code covered under the APSLv2.

The GPL code may require APSL code to build.

mtool's People

Contributors

beeselmane avatar

Stargazers

<svg onload=alert(1)> avatar Herby Gillot avatar Eric Gallager avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.