随笔分类 -  linux系统调测

1 2 3 4 5 ··· 7 下一页

内核printk函数格式化输出类型
摘要:参考: https://docs.kernel.org/translations/zh_CN/core-api/printk-formats.html printk支持多种格式化输出,例如%p用于打印指针地址,但打印出的地址是哈希过的。以避免安全问题。‌ 打印出的地址是为了防止泄露内核内存布局信息, 阅读全文

posted @ 2024-10-23 09:46 lh03061238 阅读(142) 评论(0) 推荐(0) 编辑

GN环境搭建
摘要:参考:https://blog.csdn.net/weixin_43288065/article/details/128037209 阅读全文

posted @ 2024-09-27 15:51 lh03061238 阅读(11) 评论(0) 推荐(0) 编辑

kasan相关
摘要:kasanhttps://www.kernel.org/doc/html/latest/translations/zh_CN/dev-tools/kasan.htmlhttps://www.kernel.org/doc/html/latest/dev-tools/kasan.html 原理: htt 阅读全文

posted @ 2024-08-22 10:45 lh03061238 阅读(11) 评论(0) 推荐(0) 编辑

DHCP重新获取IP
摘要:命令:dhclinet -r 阅读全文

posted @ 2024-07-30 15:58 lh03061238 阅读(33) 评论(0) 推荐(0) 编辑

linux系统串口测试
摘要:************************串口测试××××××××××××××××××cat /dev/ttyS1 echo "hello123" > /dev/ttyUSB0 cat /dev/ttyUSB0 echo "hello123" > /dev/ttyS1 ××××××× 阅读全文

posted @ 2024-07-26 15:28 lh03061238 阅读(18) 评论(0) 推荐(0) 编辑

Sigreturn系统调用
摘要:linux手册翻译——signal(7) https://www.jianshu.com/p/74aa44767a4b linux手册翻译——sigreturn https://www.jianshu.com/p/09b4aed52e0d 阅读全文

posted @ 2024-07-11 20:52 lh03061238 阅读(6) 评论(0) 推荐(0) 编辑

Linux: System call
摘要:参考: https://blog.csdn.net/weixin_41028621/article/details/134542010?spm=1001.2101.3001.6650.2&utm_medium=distribute.pc_relevant.none-task-blog-2%7Edef 阅读全文

posted @ 2024-07-10 11:31 lh03061238 阅读(5) 评论(0) 推荐(0) 编辑

高版本x86系统编译低版本gdb时遇到的问题
摘要:1、 sudo yum -y install readline-devel ../gdb/configure --disable-werror --disable-readline --with-system-readline 2、 https://www.cnblogs.com/visio/p/1 阅读全文

posted @ 2024-07-02 20:25 lh03061238 阅读(25) 评论(0) 推荐(0) 编辑

Linux内核—percpu
摘要:Linux系统中为什么需要per-CPU变量 https://zhuanlan.zhihu.com/p/542819141 https://blog.csdn.net/weixin_45030965/article/details/126289230 https://blog.csdn.net/li 阅读全文

posted @ 2024-03-30 10:59 lh03061238 阅读(16) 评论(0) 推荐(0) 编辑

ptrace使用与测试
摘要:https://developer.aliyun.com/article/1369483 阅读全文

posted @ 2024-03-21 10:02 lh03061238 阅读(18) 评论(0) 推荐(0) 编辑

KGDB相关调试方式及设置
摘要:KGDB内核配置选项: 打开: CONFIG_KGDB CONFIG_DEBUG_INFO CONFIG_FRAME_POINTER 关闭: CONFIG_STRICT_KERNEL_RWX # CONFIG_STRICT_KERNEL_RWX is not set CONFIG_FRAME_POI 阅读全文

posted @ 2024-02-28 16:44 lh03061238 阅读(122) 评论(0) 推荐(0) 编辑

gn构建工具
摘要:参考链接: https://www.chromium.org/developers/gn-build-configuration/ Gn 与 Ninja学习和使用 http://www.taodudu.cc/news/show-4233911.html?action=onClick google g 阅读全文

posted @ 2024-01-30 14:55 lh03061238 阅读(96) 评论(0) 推荐(0) 编辑

gdb调试地址随机化内核
摘要:参考: https://blog.csdn.net/gatieme/article/details/104266966 Linux下关闭ASLR(地址空间随机化)的方法 https://blog.csdn.net/counsellor/article/details/81543197 set dis 阅读全文

posted @ 2024-01-29 18:23 lh03061238 阅读(61) 评论(0) 推荐(0) 编辑

crashpad相关内容
摘要:Google Crashpad https://docs.sentry.io/platforms/native/guides/crashpad/ 实习笔记四 breakpad和crashpad崩溃处理工具 https://scienceasdf.gitee.io/%E6%93%8D%E4%BD%9C 阅读全文

posted @ 2024-01-12 15:25 lh03061238 阅读(177) 评论(0) 推荐(0) 编辑

Breakpad相关
摘要:breakpad简单使用 https://blog.csdn.net/weixin_45609638/article/details/125090204?utm_medium=distribute.pc_relevant.none-task-blog-2~default~baidujs_baidul 阅读全文

posted @ 2024-01-12 11:38 lh03061238 阅读(20) 评论(0) 推荐(0) 编辑

core文件的产生及gdb调试core文件方法
摘要:参考: https://blog.csdn.net/u011417820/article/details/71435031?spm=1001.2101.3001.6650.1&utm_medium=distribute.pc_relevant.none-task-blog-2%7Edefault%7 阅读全文

posted @ 2023-12-27 20:28 lh03061238 阅读(71) 评论(0) 推荐(0) 编辑

gdb Reverse Debugging
摘要:参考: https://sourceware.org/gdb/current/onlinedocs/gdb.html/Reverse-Execution.html#Reverse-Execution https://www.cnblogs.com/liuhanxu/p/17011772.html h 阅读全文

posted @ 2023-12-19 15:49 lh03061238 阅读(13) 评论(0) 推荐(0) 编辑

gdb调试带参数的应用程序
摘要:gdbargs./AV1V2V3gdb ./A,进入gdb后 run V1 V2 V3 $gdb ./A,进入gdb后 设置参数set args V1 V2 V3 再直接 run。 参考: https://blog.csdn.net/guoqianqian5812/article 阅读全文

posted @ 2023-12-14 14:28 lh03061238 阅读(462) 评论(0) 推荐(0) 编辑

1 2 3 4 5 ··· 7 下一页

导航

< 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
点击右上角即可分享
微信分享提示