Skip to content

Instantly share code, notes, and snippets.

@zdavatz
Created April 21, 2016 13:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zdavatz/818bea6d38499a4aff06f016f971e0f6 to your computer and use it in GitHub Desktop.
Save zdavatz/818bea6d38499a4aff06f016f971e0f6 to your computer and use it in GitHub Desktop.
/usr/local/src/mod_ruby> readelf -d mod_ruby.so
Dynamic section at offset 0x22b10 contains 33 entries:
Tag Type Name/Value
0x0000000000000001 (NEEDED) Shared library: [libruby.so.2.1]
0x0000000000000001 (NEEDED) Shared library: [libpthread.so.0]
0x0000000000000001 (NEEDED) Shared library: [libgmp.so.10]
0x0000000000000001 (NEEDED) Shared library: [libdl.so.2]
0x0000000000000001 (NEEDED) Shared library: [libcrypt.so.1]
0x0000000000000001 (NEEDED) Shared library: [libm.so.6]
0x0000000000000001 (NEEDED) Shared library: [libc.so.6]
0x000000000000000f (RPATH) Library rpath: [/usr/local/lib]
0x000000000000001d (RUNPATH) Library runpath: [/usr/local/lib]
0x000000000000000c (INIT) 0x84f0
0x000000000000000d (FINI) 0x1aa64
0x0000000000000019 (INIT_ARRAY) 0x2226b8
0x000000000000001b (INIT_ARRAYSZ) 8 (bytes)
0x000000000000001a (FINI_ARRAY) 0x2226c0
0x000000000000001c (FINI_ARRAYSZ) 8 (bytes)
0x0000000000000004 (HASH) 0x1c8
0x000000006ffffef5 (GNU_HASH) 0xc88
0x0000000000000005 (STRTAB) 0x3848
0x0000000000000006 (SYMTAB) 0x10a0
0x000000000000000a (STRSZ) 7399 (bytes)
0x000000000000000b (SYMENT) 24 (bytes)
0x0000000000000003 (PLTGOT) 0x223000
0x0000000000000002 (PLTRELSZ) 7272 (bytes)
0x0000000000000014 (PLTREL) RELA
0x0000000000000017 (JMPREL) 0x6888
0x0000000000000007 (RELA) 0x58e0
0x0000000000000008 (RELASZ) 4008 (bytes)
0x0000000000000009 (RELAENT) 24 (bytes)
0x000000006ffffffe (VERNEED) 0x5880
0x000000006fffffff (VERNEEDNUM) 2
0x000000006ffffff0 (VERSYM) 0x5530
0x000000006ffffff9 (RELACOUNT) 57
0x0000000000000000 (NULL) 0x0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment