|
| 1 | +llvm-otool - Mach-O dumping tool |
| 2 | +================================ |
| 3 | + |
| 4 | +.. program:: llvm-otool |
| 5 | + |
| 6 | +SYNOPSIS |
| 7 | +-------- |
| 8 | + |
| 9 | +:program:`llvm-otool` [*option...*] *[file...]* |
| 10 | + |
| 11 | +DESCRIPTION |
| 12 | +----------- |
| 13 | + |
| 14 | +:program:`llvm-otool` is a tool for dumping Mach-O files. |
| 15 | + |
| 16 | +It attempts to be command-line-compatible and output-compatible with macOS's |
| 17 | +:program:`otool`. |
| 18 | + |
| 19 | +OPTIONS |
| 20 | +------- |
| 21 | + |
| 22 | +.. option:: -arch <value> |
| 23 | + |
| 24 | + Select slice of universal Mach-O file. |
| 25 | + |
| 26 | +.. option:: -C |
| 27 | + |
| 28 | + Print linker optimization hints. |
| 29 | + |
| 30 | +.. option:: -D |
| 31 | + |
| 32 | + Print shared library id. |
| 33 | + |
| 34 | +.. option:: -d |
| 35 | + |
| 36 | + Print data section. |
| 37 | + |
| 38 | +.. option:: -f |
| 39 | + |
| 40 | + Print universal headers. |
| 41 | + |
| 42 | +.. option:: -G |
| 43 | + |
| 44 | + Print data-in-code table. |
| 45 | + |
| 46 | +.. option:: --help-hidden |
| 47 | + |
| 48 | + Print help for hidden flags. |
| 49 | + |
| 50 | +.. option:: --help |
| 51 | + |
| 52 | + Print help. |
| 53 | + |
| 54 | +.. option:: -h |
| 55 | + |
| 56 | + Print mach header. |
| 57 | + |
| 58 | +.. option:: -I |
| 59 | + |
| 60 | + Print indirect symbol table. |
| 61 | + |
| 62 | +.. option:: -j |
| 63 | + |
| 64 | + Print opcode bytes. |
| 65 | + |
| 66 | +.. option:: -L |
| 67 | + |
| 68 | + Print used shared libraries. |
| 69 | + |
| 70 | +.. option:: -l |
| 71 | + |
| 72 | + Print load commnads. |
| 73 | + |
| 74 | +.. option:: -mcpu=<value> |
| 75 | + |
| 76 | + Select cpu for disassembly. |
| 77 | + |
| 78 | +.. option:: -o |
| 79 | + |
| 80 | + Print Objective-C segment. |
| 81 | + |
| 82 | +.. option:: -P |
| 83 | + |
| 84 | + Print __TEXT,__info_plist section as strings. |
| 85 | + |
| 86 | +.. option:: -p <function name> |
| 87 | + |
| 88 | + Start disassembly at <function name>. |
| 89 | + |
| 90 | +.. option:: -r |
| 91 | + |
| 92 | + Print relocation entries. |
| 93 | + |
| 94 | +.. option:: -s <segname> <sectname> |
| 95 | + |
| 96 | + Print contents of section. |
| 97 | + |
| 98 | +.. option:: -t |
| 99 | + |
| 100 | + Print text section. |
| 101 | + |
| 102 | +.. option:: --version |
| 103 | + |
| 104 | + Print version. |
| 105 | + |
| 106 | +.. option:: -V |
| 107 | + |
| 108 | + Symbolize disassembled operands (implies :option:`-v`). |
| 109 | + |
| 110 | +.. option:: -v |
| 111 | + |
| 112 | + Verbose output / disassemble when printing text sections. |
| 113 | + |
| 114 | +.. option:: -X |
| 115 | + |
| 116 | + Omit leading addresses or headers. |
| 117 | + |
| 118 | +.. option:: -x |
| 119 | + |
| 120 | + Print all text sections. |
| 121 | + |
| 122 | +.. option:: @<FILE> |
| 123 | + |
| 124 | + Read command-line options and commands from response file `<FILE>`. |
| 125 | + |
| 126 | +EXIT STATUS |
| 127 | +----------- |
| 128 | + |
| 129 | +:program:`llvm-otool` exits with a non-zero exit code if there is an error. |
| 130 | +Otherwise, it exits with code 0. |
| 131 | + |
| 132 | +BUGS |
| 133 | +---- |
| 134 | + |
| 135 | +To report bugs, please visit <https://bugs.llvm.org/>. |
| 136 | + |
| 137 | +SEE ALSO |
| 138 | +-------- |
| 139 | + |
| 140 | +:manpage:`llvm-nm(1)`, :manpage:`llvm-objdump(1)` |
0 commit comments