• Pavel Emelyanov's avatar
    crit: The 'mems' explorer · 25a978d3
    Pavel Emelyanov authored
    This one prints the /proc/pid/maps-like output, but with slightly more
    details. Like this
    
    1
    	exe                                     /zdtm/live/static/maps00
    	00400000-00406000                   r-x /zdtm/live/static/maps00
    	00605000-00606000                   r-- /zdtm/live/static/maps00 + 0x5000
    	00606000-00607000                   rw- /zdtm/live/static/maps00 + 0x6000
    	7f4037845000-7f40379f9000           r-x /lib64/libc.so.6
    	7f40379f9000-7f4037bf8000           --- /lib64/libc.so.6 + 0x1b4000
    	7f4037bf8000-7f4037bfc000           r-- /lib64/libc.so.6 + 0x1b3000
    	7f4037bfc000-7f4037bfe000           rw- /lib64/libc.so.6 + 0x1b7000
    	7f4037bfe000-7f4037c03000           rw-
    	7f4037c03000-7f4037c23000           r-x /lib64/ld-linux-x86-64.so.2
    	7f4037e1e000-7f4037e22000           rw-
    	7f4037e22000-7f4037e23000           r-- /lib64/ld-linux-x86-64.so.2 + 0x1f000
    	7f4037e23000-7f4037e24000           rw- /lib64/ld-linux-x86-64.so.2 + 0x20000
    	7f4037e24000-7f4037e25000           rw-
    	7fff34652000-7fff34699000           rw- [stack?]
    	7fff346e2000-7fff346e4000           r--
    	7fff346e4000-7fff346e6000           r-x [vdso]
    	ffffffffff600000-ffffffffff601000   r-x [vsyscall] *
    Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
    25a978d3
crit 6.92 KB