1 | addr2line -e simple 0x400618 |
1 | /home/devuser/simple.c:34 |
1 2 3 | libc.so.6 => /lib/libc.so.6 (0x40021000) <br> /lib/ld.so.1 => /lib/ld.so.1 (0x40000000) |
1 | ldd /usr/bin/perl |
1 2 3 4 5 6 7 8 9 10 11 12 | libnsl.so.1 => /lib/libnsl.so.1 (0x40021000) <br> libdl.so.2 => /lib/libdl.so.2 (0x40039000) <br> libm.so.6 => /lib/libm.so.6 (0x4003d000) <br> libc.so.6 => /lib/libc.so.6 (0x40064000) <br> libcrypt.so.1 => /lib/libcrypt.so.1 (0x4018f000) <br> /lib/ld.so.1 => /lib/ld.so.1 (0x40000000) |
1 | ldd /usr/bin/perl | awk '{print? $4 "" $3 }' | sort |
1 2 3 4 5 6 7 8 9 10 11 | (0x40000000) /lib/ld.so.1 <br> (0x40021000) /lib/libnsl.so.1 <br> (0x40039000) /lib/libdl.so.2 <br> (0x4003d000) /lib/libm.so.6 <br> (0x40064000) /lib/libc.so.6 <br> (0x4018f000) /lib/libcrypt.so.1 |
1 | nm /lib/libc.so.6 | sort | grep 0008a |
1 2 3 | 0008a6fc T memcpy <br> 0008a754 t _wordcopy_fwd_aligned |
1 | addr2line -e simple 0x40066e |
1 | /home/devuser/simple.c:36 |
欢迎光临 电子技术论坛_中国专业的电子工程师学习交流社区-中电网技术论坛 (http://bbs.eccn.com/) | Powered by Discuz! 7.0.0 |