Dump VDSO via GDB

gdb /bin/bash
(gdb) b main
(gdb) r
(gdb) info proc map
Mapped address spaces:
          Start Addr           End Addr       Size     Offset objfile
      ...
      0x7ffff7fd1000     0x7ffff7fd3000     0x2000        0x0 [vdso]
      ...
(gdb) dump binary memory /tmp/vdso.so 0x7ffff7fd1000 0x7ffff7fd3000
(gdb) quit
file /tmp/vdso.so
/tmp/vdso.so: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, BuildID[sha1]=1a3fac101214fe3ecfb3788d4f8af3018f1f2667, stripped

Over!

4 thoughts on “Dump VDSO via GDB”

  1. Hello, i feel that i saw you visited my site so i got here to go back the prefer?.I’m trying to find issues to enhance my web site!I assume its good enough to
    make use of a few of your ideas!!

  2. I really love your site.. Great colors & theme.
    Did you create this site yourself? Please reply back as I’m looking to create my own personal blog and would like to know where you got this from or exactly what
    the theme is called. Thanks!

Leave a Reply

Your email address will not be published. Required fields are marked *