查看可執行程式的資訊readelf

來源:互聯網
上載者:User
readelf 負責顯示ELF檔案的資訊

 

Usage: readelf <option(s)> elf-file(s)
 Display information about the contents of ELF format files
 Options 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
  -e --headers     全部頭      Equivalent to: -h -l -S
  -s --syms        符號表      Display the symbol table
      --symbols          An alias for --syms
  -n --notes        核心注釋     Display the core notes (if present)
  -r --relocs       重定位     Display the relocations (if present)
  -u --unwind            Display the unwind info (if present)
  -d --dynamic      動態段     Display the dynamic segment (if present)
  -V --version-info  版本    Display the version sections (if present)
  -A --arch-specific  CPU構架   Display architecture specific information (if any).
  -D --use-dynamic   動態段    Use the dynamic section info when displaying symbols
  -x --hex-dump=<number> 顯示 段內內容Dump the contents of section <number>
  -w[liaprmfFso] or
  --debug-dump[=line,=info,=abbrev,=pubnames,=ranges,=macro,=frames,=str,=loc]
                  顯示DWARF2調試段內容       Display the contents of DWARF2 debug sections
  -I --histogram         Display histogram of bucket list lengths
  -W --wide        寬行輸出      Allow output width to exceed 80 characters
  -H --help              Display this information
  -v --version           Display the version number of readelf

 

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.