linux nm -D内容含义,linux nm命令

nm -help

OVERVIEW: llvm symbol table dumper

USAGE: nm [options] --s Dump only symbols from this segment and section name, Mach-O only

OPTIONS:

General options:

-B - Alias for --format=bsd

-P - Alias for --format=posix

-aarch64-neon-syntax - Choose style of NEON code to emit from AArch64 backend:

=generic - Emit generic NEON assembly

=apple - Emit Apple-style NEON assembly

-add-dyldinfo - Add symbols from the dyldinfo not already in the symbol table, Mach-O only

-arch= - architecture(s) from a Mach-O file to dump

-arm-add-build-attributes -

-arm-implicit-it - Allow conditional instructions outdside of an IT block

=always - Accept in both ISAs, emit implicit ITs in Thumb

=never - Warn in ARM, reject in Thumb

=arm - Accept in ARM, reject in Thumb

=thumb - Warn in ARM, emit implicit ITs in Thumb

-debug-syms - Show all symbols, even debugger only

-defined-only - Show only defined symbols

-demangle - Demangle C++ symbol names

-dyldinfo-only - Show only symbols from the dyldinfo, Mach-O only

-dynamic - Display the dynamic symbols instead of normal symbols.

-extern-only - Show only external symbols

-format - Specify output format

=bsd - BSD format

=sysv - System V format

=posix - POSIX.2 format

=darwin - Darwin -m format

-just-symbol-name - Print just the symbol's name

-m - Alias for --format=darwin

-no-dyldinfo - Don't add any symbols from the dyldinfo, Mach-O only

-no-llvm-bc - Disable LLVM bitcode reader

-no-sort - Show symbols in order encountered

-no-weak - Show only non-weak symbols

-numeric-sort - Sort symbols by address

-print-armap - Print the archive map

-print-file-name - Precede each symbol with the object file it came from

-print-size - Show symbol size instead of address

-radix - Radix (o/d/x) for printing symbol Values

=d - decimal

=o - octal

=x - hexadecimal

-reverse-sort - Sort in reverse order

-s= - Dump only symbols from this segment and section name, Mach-O only

-size-sort - Sort symbols by size

-undefined-only - Show only undefined symbols

-x - Print symbol entry in hex, Mach-O only

Generic Options:

-help - Display available options (-help-hidden for more)

-help-list - Display list of available options (-help-list-hidden for more)

-version - Display the version of this program

70e3b9d781ba

image.png

统计二进制命令

nm 二进制路径 > 输出路径

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值