日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 运维知识 > linux >内容正文

linux

linux之readelf命令

發布時間:2023/12/4 linux 32 豆豆
生活随笔 收集整理的這篇文章主要介紹了 linux之readelf命令 小編覺得挺不錯的,現在分享給大家,幫大家做個參考.

1、readelf命令解釋

      readelf命令用來顯示一個或者多個elf格式的目標文件的信息

 

 

2、ELF文件類型

 

  • 可重定位文件:用戶和其他目標文件一起創建可執行文件或者共享目標文件,例如lib*.a文件。 
  • 可執行文件:用于生成進程映像,載入內存執行,例如編譯好的可執行文件a.out。 
  • 共享目標文件:用于和其他共享目標文件或者可重定位文件一起生成elf目標文件或者和執行文件一起創建進程映像,例如lib*.so文件。 
  •  

    2、一般使用

     

    Usage: readelf <option(s)> elf-file(s)Display information about the contents of ELF format filesOptions are:-a --all Equivalent to: -h -l -S -s -r -d -V -A -I-h --file-header Display the ELF file header-l --program-headers Display the program headers--segments An alias for --program-headers-S --section-headers Display the sections' header--sections An alias for --section-headers-g --section-groups Display the section groups-t --section-details Display

    總結

    以上是生活随笔為你收集整理的linux之readelf命令的全部內容,希望文章能夠幫你解決所遇到的問題。

    如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。