brintos

brintos / llvm-project-archived public Read only

0
0
Text · 2.1 KiB · 5a517a2 Raw
149 lines · plain
1llvm-otool - Mach-O dumping tool2================================3 4.. program:: llvm-otool5 6SYNOPSIS7--------8 9:program:`llvm-otool` [*option...*] *[file...]*10 11DESCRIPTION12-----------13 14:program:`llvm-otool` is a tool for dumping Mach-O files.15 16It attempts to be command-line-compatible and output-compatible with macOS's17:program:`otool`.18 19OPTIONS20-------21 22.. option:: -arch <value>23 24 Select slice of universal Mach-O file.25 26.. option:: -chained_fixups27 28 Print chained fixup information.29 30.. option:: -C31 32 Print linker optimization hints.33 34.. option:: -dyld_info35 36  Print bind and rebase information.37 38.. option:: -D39 40 Print shared library id.41 42.. option:: -d43 44 Print data section.45 46.. option:: -f47 48 Print universal headers.49 50.. option:: -G51 52 Print data-in-code table.53 54.. option:: --help-hidden55 56 Print help for hidden flags.57 58.. option:: --help59 60 Print help.61 62.. option:: -h63 64 Print mach header.65 66.. option:: -I67 68 Print indirect symbol table.69 70.. option:: -j71 72 Print opcode bytes.73 74.. option:: -L75 76 Print used shared libraries.77 78.. option:: -l79 80 Print load commands.81 82.. option:: -mcpu=<value>83 84 Select cpu for disassembly.85 86.. option:: -o87 88 Print Objective-C segment.89 90.. option:: -P91 92 Print __TEXT,__info_plist section as strings.93 94.. option:: -p <function name>95 96 Start disassembly at <function name>.97 98.. option:: -r99 100 Print relocation entries.101 102.. option:: -s <segname> <sectname>103 104 Print contents of section.105 106.. option:: -t107 108 Print text section.109 110.. option:: --version111 112 Print version.113 114.. option:: -V115 116 Symbolize disassembled operands (implies :option:`-v`).117 118.. option:: -v119 120 Verbose output / disassemble when printing text sections.121 122.. option:: -X123 124 Omit leading addresses or headers.125 126.. option:: -x127 128 Print all text sections.129 130.. option:: @<FILE>131 132 Read command-line options and commands from response file `<FILE>`.133 134EXIT STATUS135-----------136 137:program:`llvm-otool` exits with a non-zero exit code if there is an error.138Otherwise, it exits with code 0.139 140BUGS141----142 143To report bugs, please visit <https://github.com/llvm/llvm-project/labels/tools:llvm-objdump/>.144 145SEE ALSO146--------147 148:manpage:`llvm-nm(1)`, :manpage:`llvm-objdump(1)`149