Sometimes need to view so files, Linux direct readelf-a xxx.so display elf format information, through the parameters to control the display of specific information readelf-d filename.so view shared libraries since the library and search name Readelf-h Filename.so Display elf header information [PHP] rainysia@root:/usr/lib/php5/20090626# readelf-a odbc.so | More ELF header:magic:7f 4c (class:elf64 data:2 ' s complement, little endian V, the xx xx, XX, xx Ersion:1 (current) Os/abi:unix-system V ABI version:0 type:dyn (Shared object file) machine:advanced Micro Devices x86-64 version:0x1 Entry Point address:0x4940 start of program headers:64 (bytes to file) Start of section Headers:6 5976 (bytes into file) flags:0x0 size of this header:64 (bytes) Size of program headers:56 (bytes) Number of the program he Aders:7 Size of Section headers:64 (bytes) Number of sections headers:27 section Header string Table index:26 section H Eaders: [Nr] Name Type Address Offset
http://www.bkjia.com/PHPjc/477739.html www.bkjia.com true http://www.bkjia.com/PHPjc/477739.html techarticle sometimes need to view so files, Linux directly readelf-a xxx.so display elf format information, through parameters to control the display of specific information readelf-d filename.so view shared library and search ...