Linux杂学

1.打印存储于地址addr上的符号名。如果在此地址上没有存储符号,GDB打印最近的符号和偏移量:
(gdb)info symbol 0x54320
_initialize_vx+396 in section .text

2.要将值保存进内存中的绝对地址,使用'{...}'指令在指定的地址上存入指定类型的值。
set {int}0x83040=4

3.为程序设置信号

 非常好的UNIX方面交流的地方:http://www.newsmth.net/bbsdoc.php?board=Unix

如何获取当前进程对应之静态映像文件的绝对路径
http://www.sczgroup.org/unix/200209132105.txt

http://www.newsmth.net/bbsanc.php?path=%2Fgroups%2Fcomp.faq%2FUnix%2F3%2Ffaq%2Fhellguard_unix_faq%2FM.1015407890.g0
利用信号机制取得栈底地址。非常精妙

4.详解ifconf 和 ifreq的应用

http://blog.sina.com.cn/s/blog_772ee6f30100s68q.html

http://wangcong.org/blog/archives/577

5.trampoline分析

1.http://gcc.gnu.org/ml/gcc-help/2010-08/msg00229.html
2.http://groups.google.com/group/comp.lang.c/browse_thread/thread/fd82dc3d97ea87ff/8b01e62f2feae4f0?lnk=gst
3.http://gcc.gnu.org/onlinedocs/gcc/Statement-Exprs.html
4.http://www.technovelty.org/code/c/trampoline.html
5.http://wangcong.org/blog/archives/1263

这一部分不是很懂,有待以后继续学习

posted @ 2011-12-14 22:50  yarpee  阅读(199)  评论(0编辑  收藏  举报