linux分析so库文件相关问题的工具

linux分析so库文件相关问题的工具

查看so中的函数与变量nm -D

nm -D libsvn_fs_util-1.so.0.0.0

[root@172 lib64]# nm -D libsvn_fs_util-1.so.0.0.0
                 w _Jv_RegisterClasses
00000000002012d0 A __bss_start
                 w __cxa_finalize
                 w __gmon_start__
00000000002012d0 A _edata
00000000002012e0 A _end
0000000000000c18 T _fini
0000000000000798 T _init
                 U apr_palloc
                 U apr_pstrdup
                 U apr_pstrndup
                 U dcgettext
                 U memset
                 U strchr
                 U strlen
                 U svn_error__locate
                 U svn_error_create
0000000000000b00 T svn_fs__canonicalize_abspath
0000000000000a60 T svn_fs__check_fs
00000000000009f0 T svn_fs__next_entry_name
0000000000000930 T svn_fs__path_change2_create

查看文件是否64位file

file libsvn_fs_util-1.so.0.0.0

[root@172 lib64]# file libsvn_fs_util-1.so.0.0.0
libsvn_fs_util-1.so.0.0.0: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, stripped

查看so链接的其他动态库ldd

[root@172 lib64]# ldd libsvn_fs_util-1.so.0.0.0
	linux-vdso.so.1 =>  (0x00007fff41dff000)
	libsvn_subr-1.so.0 (0x00007ff944565000)
	libz.so.1 => /lib64/libz.so.1 (0x00007ff944337000)
	libsqlite3.so.0 (0x00007ff9440a8000)
	libaprutil-1.so.0 (0x00007ff943e84000)
	libcrypt.so.1 => /lib64/libcrypt.so.1 (0x00007ff943c4c000)
	libexpat.so.1 => /lib64/libexpat.so.1 (0x00007ff943a24000)
	libdb-4.7.so (0x00007ff9436b0000)
	libapr-1.so.0 (0x00007ff943483000)
	libpthread.so.0 => /lib64/libpthread.so.0 (0x00007ff943266000)
	libc.so.6 => /lib64/libc.so.6 (0x00007ff942ed2000)
	libdl.so.2 => /lib64/libdl.so.2 (0x00007ff942ccd000)
	libuuid.so.1 => /lib64/libuuid.so.1 (0x00007ff942ac9000)
	libfreebl3.so (0x00007ff942867000)
	/lib64/ld-linux-x86-64.so.2 (0x0000003d94e00000)

查看so文件的二进制详细信息readelf -a

[root@172 lib64]# readelf -a libsvn_fs_util-1.so.0.0.0
ELF Header:
  Magic:   7f 45 4c 46 02 01 01 00 00 00 00 00 00 00 00 00 
  Class:                             ELF64
  Data:                              2's complement, little endian
  Version:                           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:               0x860
  Start of program headers:          64 (bytes into file)
  Start of section headers:          5088 (bytes into file)
  Flags:                             0x0
  Size of this header:               64 (bytes)
  Size of program headers:           56 (bytes)
  Number of program headers:         6
  Size of section headers:           64 (bytes)
  Number of section headers:         26
  Section header string table index: 25

Section Headers:
  [Nr] Name              Type             Address           Offset
       Size              EntSize          Flags  Link  Info  Align
  [ 0]                   NULL             0000000000000000  00000000
       0000000000000000  0000000000000000           0     0     0
  [ 1] .note.gnu.build-i NOTE             0000000000000190  00000190
       0000000000000024  0000000000000000   A       0     0     4
  [ 2] .gnu.hash         GNU_HASH         00000000000001b8  000001b8
       0000000000000048  0000000000000000   A       3     0     8
  [ 3] .dynsym           DYNSYM           0000000000000200  00000200
       0000000000000228  0000000000000018   A       4     2     8
  [ 4] .dynstr           STRTAB           0000000000000428  00000428
       00000000000001d1  0000000000000000   A       0     0     1
  [ 5] .gnu.version      VERSYM           00000000000005fa  000005fa
       000000000000002e  0000000000000002   A       3     0     2
  [ 6] .gnu.version_r    VERNEED          0000000000000628  00000628
       0000000000000020  0000000000000000   A       4     1     8
  [ 7] .rela.dyn         RELA             0000000000000648  00000648
       0000000000000060  0000000000000018   A       3     0     8
  [ 8] .rela.plt         RELA             00000000000006a8  000006a8
       00000000000000f0  0000000000000018   A       3    10     8
  [ 9] .init             PROGBITS         0000000000000798  00000798
       0000000000000018  0000000000000000  AX       0     0     4
  [10] .plt              PROGBITS         00000000000007b0  000007b0
       00000000000000b0  0000000000000010  AX       0     0     4
  [11] .text             PROGBITS         0000000000000860  00000860
       00000000000003b8  0000000000000000  AX       0     0     16
  [12] .fini             PROGBITS         0000000000000c18  00000c18
       000000000000000e  0000000000000000  AX       0     0     4
  [13] .rodata           PROGBITS         0000000000000c28  00000c28
       0000000000000085  0000000000000001 AMS       0     0     8
  [14] .eh_frame_hdr     PROGBITS         0000000000000cb0  00000cb0
       000000000000002c  0000000000000000   A       0     0     4
  [15] .eh_frame         PROGBITS         0000000000000ce0  00000ce0
       00000000000000fc  0000000000000000   A       0     0     8
  [16] .ctors            PROGBITS         0000000000201000  00001000
       0000000000000010  0000000000000000  WA       0     0     8
  [17] .dtors            PROGBITS         0000000000201010  00001010
       0000000000000010  0000000000000000  WA       0     0     8
  [18] .jcr              PROGBITS         0000000000201020  00001020
       0000000000000008  0000000000000000  WA       0     0     8
  [19] .data.rel.ro      PROGBITS         0000000000201028  00001028
       0000000000000008  0000000000000000  WA       0     0     8
  [20] .dynamic          DYNAMIC          0000000000201030  00001030
       0000000000000220  0000000000000010  WA       4     0     8
  [21] .got              PROGBITS         0000000000201250  00001250
       0000000000000018  0000000000000008  WA       0     0     8
  [22] .got.plt          PROGBITS         0000000000201268  00001268
       0000000000000068  0000000000000008  WA       0     0     8
  [23] .bss              NOBITS           00000000002012d0  000012d0
       0000000000000010  0000000000000000  WA       0     0     8
  [24] .gnu_debuglink    PROGBITS         0000000000000000  000012d0
       0000000000000024  0000000000000000           0     0     4
  [25] .shstrtab         STRTAB           0000000000000000  000012f4
       00000000000000e5  0000000000000000           0     0     1
Key to Flags:
  W (write), A (alloc), X (execute), M (merge), S (strings)
  I (info), L (link order), G (group), x (unknown)
  O (extra OS processing required) o (OS specific), p (processor specific)

There are no section groups in this file.

Program Headers:
  Type           Offset             VirtAddr           PhysAddr
                 FileSiz            MemSiz              Flags  Align
  LOAD           0x0000000000000000 0x0000000000000000 0x0000000000000000
                 0x0000000000000ddc 0x0000000000000ddc  R E    200000
  LOAD           0x0000000000001000 0x0000000000201000 0x0000000000201000
                 0x00000000000002d0 0x00000000000002e0  RW     200000
  DYNAMIC        0x0000000000001030 0x0000000000201030 0x0000000000201030
                 0x0000000000000220 0x0000000000000220  RW     8
  NOTE           0x0000000000000190 0x0000000000000190 0x0000000000000190
                 0x0000000000000024 0x0000000000000024  R      4
  GNU_EH_FRAME   0x0000000000000cb0 0x0000000000000cb0 0x0000000000000cb0
                 0x000000000000002c 0x000000000000002c  R      4
  GNU_STACK      0x0000000000000000 0x0000000000000000 0x0000000000000000
                 0x0000000000000000 0x0000000000000000  RW     8

 Section to Segment mapping:
  Segment Sections...
   00     .note.gnu.build-id .gnu.hash .dynsym .dynstr .gnu.version .gnu.version_r .rela.dyn .rela.plt .init .plt .text .fini .rodata .eh_frame_hdr .eh_frame 
   01     .ctors .dtors .jcr .data.rel.ro .dynamic .got .got.plt .bss 
   02     .dynamic 
   03     .note.gnu.build-id 
   04     .eh_frame_hdr 
   05     

Dynamic section at offset 0x1030 contains 30 entries:
  Tag        Type                         Name/Value
 0x0000000000000001 (NEEDED)             Shared library: [libsvn_subr-1.so.0]
 0x0000000000000001 (NEEDED)             Shared library: [libz.so.1]
 0x0000000000000001 (NEEDED)             Shared library: [libsqlite3.so.0]
 0x0000000000000001 (NEEDED)             Shared library: [libaprutil-1.so.0]
 0x0000000000000001 (NEEDED)             Shared library: [libcrypt.so.1]
 0x0000000000000001 (NEEDED)             Shared library: [libexpat.so.1]
 0x0000000000000001 (NEEDED)             Shared library: [libdb-4.7.so]
 0x0000000000000001 (NEEDED)             Shared library: [libapr-1.so.0]
 0x0000000000000001 (NEEDED)             Shared library: [libpthread.so.0]
 0x0000000000000001 (NEEDED)             Shared library: [libc.so.6]
 0x000000000000000e (SONAME)             Library soname: [libsvn_fs_util-1.so.0]
 0x000000000000000c (INIT)               0x798
 0x000000000000000d (FINI)               0xc18
 0x000000006ffffef5 (GNU_HASH)           0x1b8
 0x0000000000000005 (STRTAB)             0x428
 0x0000000000000006 (SYMTAB)             0x200
 0x000000000000000a (STRSZ)              465 (bytes)
 0x000000000000000b (SYMENT)             24 (bytes)
 0x0000000000000003 (PLTGOT)             0x201268
 0x0000000000000002 (PLTRELSZ)           240 (bytes)
 0x0000000000000014 (PLTREL)             RELA
 0x0000000000000017 (JMPREL)             0x6a8
 0x0000000000000007 (RELA)               0x648
 0x0000000000000008 (RELASZ)             96 (bytes)
 0x0000000000000009 (RELAENT)            24 (bytes)
 0x000000006ffffffe (VERNEED)            0x628
 0x000000006fffffff (VERNEEDNUM)         1
 0x000000006ffffff0 (VERSYM)             0x5fa
 0x000000006ffffff9 (RELACOUNT)          1
 0x0000000000000000 (NULL)               0x0

Relocation section '.rela.dyn' at offset 0x648 contains 4 entries:
  Offset          Info           Type           Sym. Value    Sym. Name + Addend
000000201028  000000000008 R_X86_64_RELATIVE                    0000000000201028
000000201250  000400000006 R_X86_64_GLOB_DAT 0000000000000000 __gmon_start__ + 0
000000201258  000500000006 R_X86_64_GLOB_DAT 0000000000000000 _Jv_RegisterClasses + 0
000000201260  000700000006 R_X86_64_GLOB_DAT 0000000000000000 __cxa_finalize + 0

Relocation section '.rela.plt' at offset 0x6a8 contains 10 entries:
  Offset          Info           Type           Sym. Value    Sym. Name + Addend
000000201280  000200000007 R_X86_64_JUMP_SLO 0000000000000000 memset + 0
000000201288  000300000007 R_X86_64_JUMP_SLO 0000000000000000 svn_error__locate + 0
000000201290  000600000007 R_X86_64_JUMP_SLO 0000000000000000 strlen + 0
000000201298  000700000007 R_X86_64_JUMP_SLO 0000000000000000 __cxa_finalize + 0
0000002012a0  000800000007 R_X86_64_JUMP_SLO 0000000000000000 svn_error_create + 0
0000002012a8  000900000007 R_X86_64_JUMP_SLO 0000000000000000 apr_pstrndup + 0
0000002012b0  000a00000007 R_X86_64_JUMP_SLO 0000000000000000 apr_palloc + 0
0000002012b8  000b00000007 R_X86_64_JUMP_SLO 0000000000000000 strchr + 0
0000002012c0  000c00000007 R_X86_64_JUMP_SLO 0000000000000000 dcgettext + 0
0000002012c8  000d00000007 R_X86_64_JUMP_SLO 0000000000000000 apr_pstrdup + 0

There are no unwind sections in this file.

Symbol table '.dynsym' contains 23 entries:
   Num:    Value          Size Type    Bind   Vis      Ndx Name
     0: 0000000000000000     0 NOTYPE  LOCAL  DEFAULT  UND 
     1: 0000000000000798     0 SECTION LOCAL  DEFAULT    9 
     2: 0000000000000000     0 FUNC    GLOBAL DEFAULT  UND memset@GLIBC_2.2.5 (2)
     3: 0000000000000000     0 FUNC    GLOBAL DEFAULT  UND svn_error__locate
     4: 0000000000000000     0 NOTYPE  WEAK   DEFAULT  UND __gmon_start__
     5: 0000000000000000     0 NOTYPE  WEAK   DEFAULT  UND _Jv_RegisterClasses
     6: 0000000000000000     0 FUNC    GLOBAL DEFAULT  UND strlen@GLIBC_2.2.5 (2)
     7: 0000000000000000     0 FUNC    WEAK   DEFAULT  UND __cxa_finalize@GLIBC_2.2.5 (2)
     8: 0000000000000000     0 FUNC    GLOBAL DEFAULT  UND svn_error_create
     9: 0000000000000000     0 FUNC    GLOBAL DEFAULT  UND apr_pstrndup
    10: 0000000000000000     0 FUNC    GLOBAL DEFAULT  UND apr_palloc
    11: 0000000000000000     0 FUNC    GLOBAL DEFAULT  UND strchr@GLIBC_2.2.5 (2)
    12: 0000000000000000     0 FUNC    GLOBAL DEFAULT  UND dcgettext@GLIBC_2.2.5 (2)
    13: 0000000000000000     0 FUNC    GLOBAL DEFAULT  UND apr_pstrdup
    14: 00000000002012e0     0 NOTYPE  GLOBAL DEFAULT  ABS _end
    15: 0000000000000a60   156 FUNC    GLOBAL DEFAULT   11 svn_fs__check_fs
    16: 00000000002012d0     0 NOTYPE  GLOBAL DEFAULT  ABS _edata
    17: 00000000002012d0     0 NOTYPE  GLOBAL DEFAULT  ABS __bss_start
    18: 0000000000000b00   215 FUNC    GLOBAL DEFAULT   11 svn_fs__canonicalize_absp
    19: 0000000000000798     0 FUNC    GLOBAL DEFAULT    9 _init
    20: 0000000000000c18     0 FUNC    GLOBAL DEFAULT   12 _fini
    21: 00000000000009f0   105 FUNC    GLOBAL DEFAULT   11 svn_fs__next_entry_name
    22: 0000000000000930   186 FUNC    GLOBAL DEFAULT   11 svn_fs__path_change2_crea

Histogram for `.gnu.hash' bucket list length (total of 3 buckets):
 Length  Number     % of total  Coverage
      0  0          (  0.0%)
      1  0          (  0.0%)      0.0%
      2  0          (  0.0%)      0.0%
      3  3          (100.0%)    100.0%

Version symbols section '.gnu.version' contains 23 entries:
 Addr: 00000000000005fa  Offset: 0x0005fa  Link: 3 (.dynsym)
  000:   0 (*local*)       0 (*local*)       2 (GLIBC_2.2.5)   0 (*local*)    
  004:   0 (*local*)       0 (*local*)       2 (GLIBC_2.2.5)   2 (GLIBC_2.2.5)
  008:   0 (*local*)       0 (*local*)       0 (*local*)       2 (GLIBC_2.2.5)
  00c:   2 (GLIBC_2.2.5)   0 (*local*)       1 (*global*)      1 (*global*)   
  010:   1 (*global*)      1 (*global*)      1 (*global*)      1 (*global*)   
  014:   1 (*global*)      1 (*global*)      1 (*global*)   

Version needs section '.gnu.version_r' contains 1 entries:
 Addr: 0x0000000000000628  Offset: 0x000628  Link: 4 (.dynstr)
  000000: Version: 1  File: libc.so.6  Cnt: 1
  0x0010:   Name: GLIBC_2.2.5  Flags: none  Version: 2

Notes at offset 0x00000190 with length 0x00000024:
  Owner		Data size	Description
  GNU		0x00000014	NT_GNU_BUILD_ID (unique build ID bitstring)
[root@172 lib64]# 
[root@172 lib64]# readelf -a libsvn_fs_util-1.so.0.0.0
ELF Header:
  Magic:   7f 45 4c 46 02 01 01 00 00 00 00 00 00 00 00 00 
  Class:                             ELF64
  Data:                              2's complement, little endian
  Version:                           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:               0x860
  Start of program headers:          64 (bytes into file)
  Start of section headers:          5088 (bytes into file)
  Flags:                             0x0
  Size of this header:               64 (bytes)
  Size of program headers:           56 (bytes)
  Number of program headers:         6
  Size of section headers:           64 (bytes)
  Number of section headers:         26
  Section header string table index: 25

Section Headers:
  [Nr] Name              Type             Address           Offset
       Size              EntSize          Flags  Link  Info  Align
  [ 0]                   NULL             0000000000000000  00000000
       0000000000000000  0000000000000000           0     0     0
  [ 1] .note.gnu.build-i NOTE             0000000000000190  00000190
       0000000000000024  0000000000000000   A       0     0     4
  [ 2] .gnu.hash         GNU_HASH         00000000000001b8  000001b8
       0000000000000048  0000000000000000   A       3     0     8
  [ 3] .dynsym           DYNSYM           0000000000000200  00000200
       0000000000000228  0000000000000018   A       4     2     8
  [ 4] .dynstr           STRTAB           0000000000000428  00000428
       00000000000001d1  0000000000000000   A       0     0     1
  [ 5] .gnu.version      VERSYM           00000000000005fa  000005fa
       000000000000002e  0000000000000002   A       3     0     2
  [ 6] .gnu.version_r    VERNEED          0000000000000628  00000628
       0000000000000020  0000000000000000   A       4     1     8
  [ 7] .rela.dyn         RELA             0000000000000648  00000648
       0000000000000060  0000000000000018   A       3     0     8
  [ 8] .rela.plt         RELA             00000000000006a8  000006a8
       00000000000000f0  0000000000000018   A       3    10     8
  [ 9] .init             PROGBITS         0000000000000798  00000798
       0000000000000018  0000000000000000  AX       0     0     4
  [10] .plt              PROGBITS         00000000000007b0  000007b0
       00000000000000b0  0000000000000010  AX       0     0     4
  [11] .text             PROGBITS         0000000000000860  00000860
       00000000000003b8  0000000000000000  AX       0     0     16
  [12] .fini             PROGBITS         0000000000000c18  00000c18
       000000000000000e  0000000000000000  AX       0     0     4
  [13] .rodata           PROGBITS         0000000000000c28  00000c28
       0000000000000085  0000000000000001 AMS       0     0     8
  [14] .eh_frame_hdr     PROGBITS         0000000000000cb0  00000cb0
       000000000000002c  0000000000000000   A       0     0     4
  [15] .eh_frame         PROGBITS         0000000000000ce0  00000ce0
       00000000000000fc  0000000000000000   A       0     0     8
  [16] .ctors            PROGBITS         0000000000201000  00001000
       0000000000000010  0000000000000000  WA       0     0     8
  [17] .dtors            PROGBITS         0000000000201010  00001010
       0000000000000010  0000000000000000  WA       0     0     8
  [18] .jcr              PROGBITS         0000000000201020  00001020
       0000000000000008  0000000000000000  WA       0     0     8
  [19] .data.rel.ro      PROGBITS         0000000000201028  00001028
       0000000000000008  0000000000000000  WA       0     0     8
  [20] .dynamic          DYNAMIC          0000000000201030  00001030
       0000000000000220  0000000000000010  WA       4     0     8
  [21] .got              PROGBITS         0000000000201250  00001250
       0000000000000018  0000000000000008  WA       0     0     8
  [22] .got.plt          PROGBITS         0000000000201268  00001268
       0000000000000068  0000000000000008  WA       0     0     8
  [23] .bss              NOBITS           00000000002012d0  000012d0
       0000000000000010  0000000000000000  WA       0     0     8
  [24] .gnu_debuglink    PROGBITS         0000000000000000  000012d0
       0000000000000024  0000000000000000           0     0     4
  [25] .shstrtab         STRTAB           0000000000000000  000012f4
       00000000000000e5  0000000000000000           0     0     1
Key to Flags:
  W (write), A (alloc), X (execute), M (merge), S (strings)
  I (info), L (link order), G (group), x (unknown)
  O (extra OS processing required) o (OS specific), p (processor specific)

There are no section groups in this file.

Program Headers:
  Type           Offset             VirtAddr           PhysAddr
                 FileSiz            MemSiz              Flags  Align
  LOAD           0x0000000000000000 0x0000000000000000 0x0000000000000000
                 0x0000000000000ddc 0x0000000000000ddc  R E    200000
  LOAD           0x0000000000001000 0x0000000000201000 0x0000000000201000
                 0x00000000000002d0 0x00000000000002e0  RW     200000
  DYNAMIC        0x0000000000001030 0x0000000000201030 0x0000000000201030
                 0x0000000000000220 0x0000000000000220  RW     8
  NOTE           0x0000000000000190 0x0000000000000190 0x0000000000000190
                 0x0000000000000024 0x0000000000000024  R      4
  GNU_EH_FRAME   0x0000000000000cb0 0x0000000000000cb0 0x0000000000000cb0
                 0x000000000000002c 0x000000000000002c  R      4
  GNU_STACK      0x0000000000000000 0x0000000000000000 0x0000000000000000
                 0x0000000000000000 0x0000000000000000  RW     8

 Section to Segment mapping:
  Segment Sections...
   00     .note.gnu.build-id .gnu.hash .dynsym .dynstr .gnu.version .gnu.version_r .rela.dyn .rela.plt .init .plt .text .fini .rodata .eh_frame_hdr .eh_frame 
   01     .ctors .dtors .jcr .data.rel.ro .dynamic .got .got.plt .bss 
   02     .dynamic 
   03     .note.gnu.build-id 
   04     .eh_frame_hdr 
   05     

Dynamic section at offset 0x1030 contains 30 entries:
  Tag        Type                         Name/Value
 0x0000000000000001 (NEEDED)             Shared library: [libsvn_subr-1.so.0]
 0x0000000000000001 (NEEDED)             Shared library: [libz.so.1]
 0x0000000000000001 (NEEDED)             Shared library: [libsqlite3.so.0]
 0x0000000000000001 (NEEDED)             Shared library: [libaprutil-1.so.0]
 0x0000000000000001 (NEEDED)             Shared library: [libcrypt.so.1]
 0x0000000000000001 (NEEDED)             Shared library: [libexpat.so.1]
 0x0000000000000001 (NEEDED)             Shared library: [libdb-4.7.so]
 0x0000000000000001 (NEEDED)             Shared library: [libapr-1.so.0]
 0x0000000000000001 (NEEDED)             Shared library: [libpthread.so.0]
 0x0000000000000001 (NEEDED)             Shared library: [libc.so.6]
 0x000000000000000e (SONAME)             Library soname: [libsvn_fs_util-1.so.0]
 0x000000000000000c (INIT)               0x798
 0x000000000000000d (FINI)               0xc18
 0x000000006ffffef5 (GNU_HASH)           0x1b8
 0x0000000000000005 (STRTAB)             0x428
 0x0000000000000006 (SYMTAB)             0x200
 0x000000000000000a (STRSZ)              465 (bytes)
 0x000000000000000b (SYMENT)             24 (bytes)
 0x0000000000000003 (PLTGOT)             0x201268
 0x0000000000000002 (PLTRELSZ)           240 (bytes)
 0x0000000000000014 (PLTREL)             RELA
 0x0000000000000017 (JMPREL)             0x6a8
 0x0000000000000007 (RELA)               0x648
 0x0000000000000008 (RELASZ)             96 (bytes)
 0x0000000000000009 (RELAENT)            24 (bytes)
 0x000000006ffffffe (VERNEED)            0x628
 0x000000006fffffff (VERNEEDNUM)         1
 0x000000006ffffff0 (VERSYM)             0x5fa
 0x000000006ffffff9 (RELACOUNT)          1
 0x0000000000000000 (NULL)               0x0

Relocation section '.rela.dyn' at offset 0x648 contains 4 entries:
  Offset          Info           Type           Sym. Value    Sym. Name + Addend
000000201028  000000000008 R_X86_64_RELATIVE                    0000000000201028
000000201250  000400000006 R_X86_64_GLOB_DAT 0000000000000000 __gmon_start__ + 0
000000201258  000500000006 R_X86_64_GLOB_DAT 0000000000000000 _Jv_RegisterClasses + 0
000000201260  000700000006 R_X86_64_GLOB_DAT 0000000000000000 __cxa_finalize + 0

Relocation section '.rela.plt' at offset 0x6a8 contains 10 entries:
  Offset          Info           Type           Sym. Value    Sym. Name + Addend
000000201280  000200000007 R_X86_64_JUMP_SLO 0000000000000000 memset + 0
000000201288  000300000007 R_X86_64_JUMP_SLO 0000000000000000 svn_error__locate + 0
000000201290  000600000007 R_X86_64_JUMP_SLO 0000000000000000 strlen + 0
000000201298  000700000007 R_X86_64_JUMP_SLO 0000000000000000 __cxa_finalize + 0
0000002012a0  000800000007 R_X86_64_JUMP_SLO 0000000000000000 svn_error_create + 0
0000002012a8  000900000007 R_X86_64_JUMP_SLO 0000000000000000 apr_pstrndup + 0
0000002012b0  000a00000007 R_X86_64_JUMP_SLO 0000000000000000 apr_palloc + 0
0000002012b8  000b00000007 R_X86_64_JUMP_SLO 0000000000000000 strchr + 0
0000002012c0  000c00000007 R_X86_64_JUMP_SLO 0000000000000000 dcgettext + 0
0000002012c8  000d00000007 R_X86_64_JUMP_SLO 0000000000000000 apr_pstrdup + 0

There are no unwind sections in this file.

Symbol table '.dynsym' contains 23 entries:
   Num:    Value          Size Type    Bind   Vis      Ndx Name
     0: 0000000000000000     0 NOTYPE  LOCAL  DEFAULT  UND 
     1: 0000000000000798     0 SECTION LOCAL  DEFAULT    9 
     2: 0000000000000000     0 FUNC    GLOBAL DEFAULT  UND memset@GLIBC_2.2.5 (2)
     3: 0000000000000000     0 FUNC    GLOBAL DEFAULT  UND svn_error__locate
     4: 0000000000000000     0 NOTYPE  WEAK   DEFAULT  UND __gmon_start__
     5: 0000000000000000     0 NOTYPE  WEAK   DEFAULT  UND _Jv_RegisterClasses
     6: 0000000000000000     0 FUNC    GLOBAL DEFAULT  UND strlen@GLIBC_2.2.5 (2)
     7: 0000000000000000     0 FUNC    WEAK   DEFAULT  UND __cxa_finalize@GLIBC_2.2.5 (2)
     8: 0000000000000000     0 FUNC    GLOBAL DEFAULT  UND svn_error_create
     9: 0000000000000000     0 FUNC    GLOBAL DEFAULT  UND apr_pstrndup
    10: 0000000000000000     0 FUNC    GLOBAL DEFAULT  UND apr_palloc
    11: 0000000000000000     0 FUNC    GLOBAL DEFAULT  UND strchr@GLIBC_2.2.5 (2)
    12: 0000000000000000     0 FUNC    GLOBAL DEFAULT  UND dcgettext@GLIBC_2.2.5 (2)
    13: 0000000000000000     0 FUNC    GLOBAL DEFAULT  UND apr_pstrdup
    14: 00000000002012e0     0 NOTYPE  GLOBAL DEFAULT  ABS _end
    15: 0000000000000a60   156 FUNC    GLOBAL DEFAULT   11 svn_fs__check_fs
    16: 00000000002012d0     0 NOTYPE  GLOBAL DEFAULT  ABS _edata
    17: 00000000002012d0     0 NOTYPE  GLOBAL DEFAULT  ABS __bss_start
    18: 0000000000000b00   215 FUNC    GLOBAL DEFAULT   11 svn_fs__canonicalize_absp
    19: 0000000000000798     0 FUNC    GLOBAL DEFAULT    9 _init
    20: 0000000000000c18     0 FUNC    GLOBAL DEFAULT   12 _fini
    21: 00000000000009f0   105 FUNC    GLOBAL DEFAULT   11 svn_fs__next_entry_name
    22: 0000000000000930   186 FUNC    GLOBAL DEFAULT   11 svn_fs__path_change2_crea

Histogram for `.gnu.hash' bucket list length (total of 3 buckets):
 Length  Number     % of total  Coverage
      0  0          (  0.0%)
      1  0          (  0.0%)      0.0%
      2  0          (  0.0%)      0.0%
      3  3          (100.0%)    100.0%

Version symbols section '.gnu.version' contains 23 entries:
 Addr: 00000000000005fa  Offset: 0x0005fa  Link: 3 (.dynsym)
  000:   0 (*local*)       0 (*local*)       2 (GLIBC_2.2.5)   0 (*local*)    
  004:   0 (*local*)       0 (*local*)       2 (GLIBC_2.2.5)   2 (GLIBC_2.2.5)
  008:   0 (*local*)       0 (*local*)       0 (*local*)       2 (GLIBC_2.2.5)
  00c:   2 (GLIBC_2.2.5)   0 (*local*)       1 (*global*)      1 (*global*)   
  010:   1 (*global*)      1 (*global*)      1 (*global*)      1 (*global*)   
  014:   1 (*global*)      1 (*global*)      1 (*global*)   

Version needs section '.gnu.version_r' contains 1 entries:
 Addr: 0x0000000000000628  Offset: 0x000628  Link: 4 (.dynstr)
  000000: Version: 1  File: libc.so.6  Cnt: 1
  0x0010:   Name: GLIBC_2.2.5  Flags: none  Version: 2

Notes at offset 0x00000190 with length 0x00000024:
  Owner		Data size	Description
  GNU		0x00000014	NT_GNU_BUILD_ID (unique build ID bitstring)
  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

遗落尘污

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

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

余额充值