摘要:
转载:http://blog.csdn.net/hanchaoman/article/details/5583457 在SIGSEGV的handler中调用gdb, 命令gdb [exec file] [pid]可以让gdb附加到这个进程上 阅读全文
posted @ 2016-10-19 17:58
邶风
阅读(575)
评论(0)
推荐(0)
摘要:
nw.c void test_function (void){ unsigned char *ptr = 0x00; *ptr = 0x00;} int main (void){ test_function(); return 0;} gcc -g -o main nw.c 执行main,生成cor 阅读全文
posted @ 2016-10-19 16:56
邶风
阅读(719)
评论(0)
推荐(0)
浙公网安备 33010602011771号