otool

Crates.iootool
lib.rsotool
version0.1.2
sourcesrc
created_at2020-06-26 12:10:57.515722
updated_at2020-06-26 16:36:31.641104
descriptionThe otool command displays specified parts of object files or libraries. (Mach-O File Format)
homepagehttps://github.com/19h/otool-rs
repositoryhttps://github.com/19h/otool-rs
max_upload_size
id258372
size61,010
Kenan Sulayman (19h)

documentation

https://github.com/19h/otool-rs

README

otool

A pure Rust-implementation of 'otool' for the Mach-O File Format.
crates.io Github - Releases (prebuilt binaries)

$ cargo install otool
$ otool -a binary.o

Trivia

otool is based on rust-macho, more specifically on its otool example. This is a distribution (with minor changes).

Usage

otool 0.1.0
object file displaying tool

USAGE:
    otool [FLAGS] [OPTIONS] [--] [files]...

FLAGS:
        --help       Prints help information
    -a               Print the archive headers
        --bind       Print the mach-o binding info
    -d               Print the data section
        --export     Print the mach-o exported symbols
    -f               Print the fat headers
    -X               Print no leading addresses or headers
        --lazy       Print the mach-o lazy binding info
    -S               Print the table of contents of a library
    -l               Print the load commands
    -h               Print the mach header
        --rebase     Print the mach-o rebasing info
    -L               Print shared libraries used
    -D               Print shared library id name
    -n               Print the symbol table
    -t               Print the text section
    -v               Print verbosely (symbolically) when possible
        --version    Print the version of program
        --weak       Print the mach-o weak binding info

OPTIONS:
        --arch <cpu-type>             Specifies the architecture
    -s <segname[:sectname]>...        Print contents of section

ARGS:
    <files>...    The object files

Notes

cargo requires a rust installation.

Commit count: 9

cargo fmt