otool

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

```shell script $ 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 ```yaml 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 Specifies the architecture -s ... Print contents of section ARGS: ... The object files ``` #### Notes `cargo` requires a rust installation.