随笔分类 -  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 爱新觉罗玄烨 阅读(175) 评论(0) 推荐(0) 编辑

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

posted @ 2023-03-16 14:38 爱新觉罗玄烨 阅读(12) 评论(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 爱新觉罗玄烨 阅读(33) 评论(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) 编辑

导航

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5
点击右上角即可分享
微信分享提示