打开这个设备/proc/self/maps
返回的就是这个进程当前使用的so列表
cat /proc/self/maps
00400000-0040b000 r-xp 00000000 08:01 1441815 /bin/cat
0060a000-0060b000 r--p 0000a000 08:01 1441815 /bin/cat
0060b000-0060c000 rw-p 0000b000 08:01 1441815 /bin/cat
01979000-0199a000 rw-p 00000000 00:00 0 [heap]
7f6612684000-7f6612d66000 r--p 00000000 08:01 2497427 /usr/lib/locale/locale-archive
7f6612d66000-7f6612f22000 r-xp 00000000 08:01 3018653 /lib/x86_64-linux-gnu/libc-2.19.so
7f6612f22000-7f6613121000 ---p 001bc000 08:01 3018653 /lib/x86_64-linux-gnu/libc-2.19.so
7f6613121000-7f6613125000 r--p 001bb000 08:01 3018653 /lib/x86_64-linux-gnu/libc-2.19.so
7f6613125000-7f6613127000 rw-p 001bf000 08:01 3018653 /lib/x86_64-linux-gnu/libc-2.19.so
7f6613127000-7f661312c000 rw-p 00000000 00:00 0
7f661312c000-7f661314f000 r-xp 00000000 08:01 3018629 /lib/x86_64-linux-gnu/ld-2.19.so
7f6613331000-7f6613334000 rw-p 00000000 00:00 0
7f661334c000-7f661334e000 rw-p 00000000 00:00 0
7f661334e000-7f661334f000 r--p 00022000 08:01 3018629 /lib/x86_64-linux-gnu/ld-2.19.so
7f661334f000-7f6613350000 rw-p 00023000 08:01 3018629 /lib/x86_64-linux-gnu/ld-2.19.so
7f6613350000-7f6613351000 rw-p 00000000 00:00 0
7fff042c5000-7fff042e6000 rw-p 00000000 00:00 0 [stack]
7fff043fe000-7fff04400000 r-xp 00000000 00:00 0 [vdso]
ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0 [vsyscall]