shell script
$ cargo install otool
$ otool -a binary.o
```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 ARGS:
Notes
cargo
requires a rust installation.