Giter VIP home page Giter VIP logo

otool-ng's Introduction

__________________________________       _____   __________
__  __ \__  __/_  __ \_  __ \__  /       ___  | / /_  ____/
_  / / /_  /  _  / / /  / / /_  / _________   |/ /_  / __  
/ /_/ /_  /   / /_/ // /_/ /_  /___/_____/  /|  / / /_/ /  
\____/ /_/    \____/ \____/ /_____/      /_/ |_/  \____/   
                                                           

This is a fork from Apple's otool with my personal modifications to otool.

Otool is one of my favourite reversing tools since I work a lot from Terminal.app.
The introduction of LC_MAIN as replacement for LC_UNIXTHREAD lost the entrypoint address information.
Now you need to calculate the address, which is a another step and I'm too lazy for that!

I also modified the output of some fields to hexadecimal values because I also hate to convert
those values all the time.

The -z option was added. It will invert the current PIE flag, remove if set, set if removed.
It's something I use from time to time and it's faster than loading into MachOView and changing there.

The -O option was added. It's used to point the file offset where the mach-o header is located.
Usually it's at the beginning of the file, but this option makes it possible for example to dump
embedded headers in data or binaries files.

If you have any suggestions or improvements feel free to contact me, send patches, etc.

Darwinbuild is not needed anymore to compile! Just go to the cctools folder and type make.
If you just want to build otool you need to:
- First go to libstuff folder and type make.
- Now go to otool folder and type make. Output is otool.NEW.

TRIE support had to be removed. Only the strip util uses it so damage is not big.

For historic references, if you want to use darwinbuild:
http://reverse.put.as/2009/01/14/how-to-compile-gdb-and-other-apple-open-source-packages-in-mac-os-x/

Enjoy,
fG!

otool-ng's People

Contributors

gdbinit avatar

Watchers

James Cloos 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.