Dumps the Linux VDSO page to standard output.
Written by Geoffrey Thomas as part of this blog post and released into the public domain under CC0.
Run make
or just compile it directly with your C compiler, like: cc dump-vdso.c -o dump-vdso
.
The raw vDSO data is printed to stdout
, so you probably want to redirect the output somewhere:
./dump-vdso > vdso.so
Once you've dumped the vDSO, you can inpspect it.
objdump --dynamic-syms vdso.so
objdump -d vdso.so