Linux进程初始堆栈内容查看
000000 0x00000000 0x00000000
0xbf8e6130: 0x00000000 0x00000000 0x00000000 0x00000000 0xbf8e6140: 0x00000000 0x00000000 0x00000000 0x00000000 0xbf8e6150: 0x00000000 0x00000000 0x00000000 0x00000000 0xbf8e6160: 0x00000000 0x00000000 0x00000000 0x00000000 0xbf8e6170: 0x00000000 0x00000000 0x00000000 0x00000000 0xbf8e6180: 0x00000000 0x00000000 0x00000000 0x00000000 0xbf8e6190: 0x00000000 0x00000000 0x00000000 0x00000000 0xbf8e61a0: 0x00000000 0x00000000 0x00000000 0x00000000 0xbf8e61b0: 0x00000000 0x00000000 0x00000000 0x00000000 ---Type <return> to continue, or q <return> to quit--- 0xbf8e61c0: 0x00000000 0x00000000 0x00000000 0x00000000 0xbf8e61d0: 0x00000000 0x00000000 0x00000000 0x00000000 0xbf8e7e8e: "INPUTRC=/etc/inputrc" 0xbf8e7ea3: "CCACHE_UMASK=002" 0xbf8e7eb4: "KDE_IS_PRELINKED=1" 0xbf8e7ec7: "LANG=zh_CN.gb2312" ---Type <return> to continue, or q <return> to quit--- 0xbf8e7ed9: "KDEDIRS=/usr" 0xbf8e7ee6: "LINES=31" 0xbf8e7eef: "SSH_ASKPASS=/usr/libexec/openssh/gnome-ssh-askpass" 0xbf8e7f22: "HOME=/root" 0xbf8e7f2d: "SHLVL=1" 0xbf8e7f35: "LANGUAGE=zh_CN.GB18030:zh_CN.GB2312:zh_CN" 0xbf8e7f5f: "LOGNAME=root" 0xbf8e7f6c: "CVS_RSH=ssh" 0xbf8e7f78: "QTLIB=/usr/lib/qt-3.3/lib" 0xbf8e7f92: "SSH_CONNECTION=10.0.0.88 1249 10.0.6.151 22" 0xbf8e7fbe: "LESSOPEN=|/usr/bin/lesspipe.sh %s" 0xbf8e7fe0: "G_BROKEN_FILENAMES=1" 0xbf8e7ff5: "/a.out" 0xbf8e7ffc: "" 0xbf8e7ffd: "" 0xbf8e7ffe: "" 0xbf8e7fff: "" 0xbf8e8000: <Address 0xbf8e8000 out of bounds> (gdb) 至此,我们得到了gdb下运行的a.out进程的初始栈信息. |
凌众科技专业提供服务器租用、服务器托管、企业邮局、虚拟主机等服务,公司网站:http://www.lingzhong.cn 为了给广大客户了解更多的技术信息,本技术文章收集来源于网络,凌众科技尊重文章作者的版权,如果有涉及你的版权有必要删除你的文章,请和我们联系。以上信息与文章正文是不可分割的一部分,如果您要转载本文章,请保留以上信息,谢谢! |