linux 下查看程序依赖的库
生活随笔
收集整理的這篇文章主要介紹了
linux 下查看程序依赖的库
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
查看arm程序的依賴庫
# arm-linux-readelf hello -d
Dynamic section at offset 0xf10 contains 25 entries:
? Tag ? ? ? ?Type ? ? ? ? ? ? ? ? ? ? ? ? Name/Value
?0x00000001 (NEEDED) ? ? ? ? ? ? ? ? ? ? Shared library: [libc.so.6]
?0x0000000c (INIT) ? ? ? ? ? ? ? ? ? ? ? 0x82e0
?0x0000000d (FINI) ? ? ? ? ? ? ? ? ? ? ? 0x847c
?0x00000019 (INIT_ARRAY) ? ? ? ? ? ? ? ? 0x10f04
?0x0000001b (INIT_ARRAYSZ) ? ? ? ? ? ? ? 4 (bytes)
查看x86程序的依賴庫
# ldd hell0.x86? ? ? ? linux-gate.so.1 => ?(0xb77c5000)
? ? ? ? libc.so.6 => /lib/libc.so.6 (0xb7672000)
? ? ? ? /lib/ld-linux.so.2 (0xb77c6000)
總結
以上是生活随笔為你收集整理的linux 下查看程序依赖的库的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 个人如何用人民币兑换美元?一分钟了解
- 下一篇: 招行白金附属卡怎么申请?需要什么条件