随笔分类 -  gdb调试

gdb 执行脚本
摘要:cat gdb.cmd handle SIG37 nostop noprint handle SIGSTOP nostop noprint set height 0 set follow-fork-mode child set logging on b read if $rdi == 169 com 阅读全文

posted @ 2023-03-17 10:26 爱新觉罗玄烨 阅读(185) 评论(0) 推荐(0)

gdb commands
摘要:b xxxx if $rdi == 123 commands bt c end 阅读全文

posted @ 2023-03-16 14:38 爱新觉罗玄烨 阅读(40) 评论(0) 推荐(0)

gdbinit ptype offsetof
摘要:(gdb) p offsetof( struct net_device,mtu)$1 = (unsigned int *) 0x240 <irq_stack_union+576>(gdb) shell cat ~/.gdbinitmacro define offsetof(t, f) &((t *) 阅读全文

posted @ 2023-03-14 17:09 爱新觉罗玄烨 阅读(54) 评论(0) 推荐(0)

gdb调试python
该文被密码保护。

posted @ 2022-03-03 11:12 爱新觉罗玄烨 阅读(3) 评论(0) 推荐(0)

gdb malloc方法
该文被密码保护。

posted @ 2021-10-19 16:59 爱新觉罗玄烨 阅读(85) 评论(0) 推荐(0)

输出gdb调试信息到文件中
该文被密码保护。

posted @ 2021-10-19 11:02 爱新觉罗玄烨 阅读(21) 评论(0) 推荐(0)

导航