Skip to content

Instantly share code, notes, and snippets.

@brixen
Created April 9, 2018 22:13
Show Gist options
  • Select an option

  • Save brixen/00ec9a6268fa77fbd01bf573123c98e2 to your computer and use it in GitHub Desktop.

Select an option

Save brixen/00ec9a6268fa77fbd01bf573123c98e2 to your computer and use it in GitHub Desktop.
$ readelf -d ./build/rubinius/site/x86_64-linux-gnu/openssl/openssl.so
Dynamic section at offset 0x48878 contains 34 entries:
Tag Type Name/Value
0x0000000000000001 (NEEDED) Shared library: [librt.so.1]
0x0000000000000001 (NEEDED) Shared library: [libcrypt.so.1]
0x0000000000000001 (NEEDED) Shared library: [libdl.so.2]
0x0000000000000001 (NEEDED) Shared library: [libpthread.so.0]
0x0000000000000001 (NEEDED) Shared library: [libatomic.so.1]
0x0000000000000001 (NEEDED) Shared library: [libc++.so.1]
0x0000000000000001 (NEEDED) Shared library: [libssl.so.1.0.0]
0x0000000000000001 (NEEDED) Shared library: [libcrypto.so.1.0.0]
0x0000000000000001 (NEEDED) Shared library: [libgcc_s.so.1]
0x0000000000000001 (NEEDED) Shared library: [libc.so.6]
0x000000000000000f (RPATH) Library rpath: [/home/vagrant/devel/rubinius/build/rubinius/lib]
0x000000000000000c (INIT) 0x126b8
0x000000000000000d (FINI) 0x3be5c
0x0000000000000019 (INIT_ARRAY) 0x247cf8
0x000000000000001b (INIT_ARRAYSZ) 8 (bytes)
0x000000000000001a (FINI_ARRAY) 0x247d00
0x000000000000001c (FINI_ARRAYSZ) 8 (bytes)
0x000000006ffffef5 (GNU_HASH) 0x1f0
0x0000000000000005 (STRTAB) 0x6b48
0x0000000000000006 (SYMTAB) 0x980
0x000000000000000a (STRSZ) 17382 (bytes)
0x000000000000000b (SYMENT) 24 (bytes)
0x0000000000000003 (PLTGOT) 0x249000
0x0000000000000002 (PLTRELSZ) 20808 (bytes)
0x0000000000000014 (PLTREL) RELA
0x0000000000000017 (JMPREL) 0xd570
0x0000000000000007 (RELA) 0xb818
0x0000000000000008 (RELASZ) 7512 (bytes)
0x0000000000000009 (RELAENT) 24 (bytes)
0x000000006ffffffe (VERNEED) 0xb758
0x000000006fffffff (VERNEEDNUM) 4
0x000000006ffffff0 (VERSYM) 0xaf2e
0x000000006ffffff9 (RELACOUNT) 111
0x0000000000000000 (NULL) 0x0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment