随笔分类 -  linux系统调测

wine/winedbg中的堆栈回溯
摘要:栈回溯(stack trace)原理 https://dandelioncloud.cn/article/details/1472740857714663425/ dbghelp https://learn.microsoft.com/zh-cn/windows/win32/api/dbghelp/ 阅读全文

posted @ 2023-09-18 19:43 lh03061238 阅读(27) 评论(0) 推荐(0) 编辑

gdb中的call命令
摘要:gdb 使用call在任何位置直接执行函数 https://blog.csdn.net/ustc_sse_shenzhang/article/details/121006320 gdb call跟踪函数 https://blog.csdn.net/qq_40008325/article/detail 阅读全文

posted @ 2023-09-18 11:48 lh03061238 阅读(239) 评论(0) 推荐(0) 编辑

linux中的ucontext
摘要:ucontext的简单介绍 https://www.cnblogs.com/ink19/p/ucontext.html ucontext函数说明 https://blog.csdn.net/woai110120130/article/details/100174805 linux ucontext族 阅读全文

posted @ 2023-09-14 20:14 lh03061238 阅读(23) 评论(0) 推荐(0) 编辑

linux中的异常及信号
摘要:在 Linux 中,异常处理机制主要由信号和异常处理程序(也称为信号处理程序)两个部分组成。信号是一种软件中断,用于通知进程发生了某些事件或出现了某些异常情况。在 Linux 中,有许多不同的信号,例如 SIGSEGV(非法内存访问)、SIGKILL(强制终止进程)和 SIGINT(中断信号,通常由 阅读全文

posted @ 2023-09-14 19:26 lh03061238 阅读(81) 评论(0) 推荐(0) 编辑

wine相关
摘要:官网:https://www.winehq.org/ WineHQ中文 https://wiki.winehq.org/%E4%B8%BB%E9%A1%B5 Wine 中文官方用户指南 https://blog.csdn.net/yakoo5/article/details/4631298?utm_ 阅读全文

posted @ 2023-08-29 09:28 lh03061238 阅读(30) 评论(0) 推荐(0) 编辑

龙蜥社区
摘要:社区项目管理仓库: https://gitee.com/anolis/community 软件包源码仓库:https://gitee.com/src-anolis-os/ltrace 软件包发布:https://mirrors.openanolis.cn/anolis/8/ 软件包构建环境:http 阅读全文

posted @ 2023-08-02 08:05 lh03061238 阅读(43) 评论(0) 推荐(0) 编辑

linux的hw_breakpoint
摘要:利用 ptrace 设置硬件断点 https://coderatwork.cn/posts/2017-08-15-setting-hardware-breakpoint-using-ptrace/ https://blog.csdn.net/Rong_Toa/article/details/1121 阅读全文

posted @ 2023-07-31 14:55 lh03061238 阅读(17) 评论(0) 推荐(0) 编辑

Linux perf相关
摘要:https://rtoax.blog.csdn.net/?type=blog&year=2021&month=05 https://www.brendangregg.com/perf.html https://zhuanlan.zhihu.com/p/573703139 https://zhuanl 阅读全文

posted @ 2023-07-31 08:31 lh03061238 阅读(31) 评论(0) 推荐(0) 编辑

software breakpoint、hardware breakpoint、watchpoint
摘要:参考: 08 调试利器GDB(下)https://www.cnblogs.com/lh03061238/p/13177510.html breakpoint和watchpoint的区别 https://www.jianshu.com/p/9462a5280004 GDB再学习(7):断点调试之硬件断 阅读全文

posted @ 2023-07-26 14:36 lh03061238 阅读(48) 评论(0) 推荐(0) 编辑

KDB相关
摘要:使用kdb/kgdb调试内核 https://zhuanlan.zhihu.com/p/546416941 ARM64 的 Linux 内核 kgdb/kdb 调试 https://www.byteisland.com/arm64-%e7%9a%84-linux-%e5%86%85%e6%a0%b8 阅读全文

posted @ 2023-07-13 11:18 lh03061238 阅读(40) 评论(0) 推荐(0) 编辑

GDB RSP协议
摘要:https://sourceware.org/gdb/onlinedocs/gdb/Remote-Protocol.html https://developer.apple.com/library/archive/documentation/DeveloperTools/gdb/gdb/gdb_33 阅读全文

posted @ 2023-07-11 10:08 lh03061238 阅读(83) 评论(0) 推荐(0) 编辑

内核添加打印调试
摘要:printk 内核打印 https://getiot.tech/zh/linux-kernel/linux-kernel-printk#:~:text=printk%20%E5%86%85%E6%A0%B8%E6%89%93%E5%8D%B0%201%20printk%20%E4%BB%8B%E7% 阅读全文

posted @ 2023-07-10 10:40 lh03061238 阅读(163) 评论(0) 推荐(0) 编辑

KGDB相关
摘要:https://archive.kernel.org/oldwiki/kgdb.wiki.kernel.org/ 使用kdb/kgdb调试内核 https://zhuanlan.zhihu.com/p/546416941 参考: https://www.kernel.org/doc/html/lat 阅读全文

posted @ 2023-07-05 16:30 lh03061238 阅读(15) 评论(0) 推荐(0) 编辑

LP32 ILP32 LP64 LLP64 ILP64
摘要:数据模型(LP32 ILP32 LP64 LLP64 ILP64 )https://www.cnblogs.com/lsgxeva/p/7614856.html 阅读全文

posted @ 2023-05-18 11:43 lh03061238 阅读(24) 评论(0) 推荐(0) 编辑

Linux内核调试的方式以及工具集锦
摘要:原文链接 https://blog.csdn.net/gatieme/article/details/68948080 阅读全文

posted @ 2023-05-04 20:39 lh03061238 阅读(26) 评论(0) 推荐(0) 编辑

Linux调试之core dump
摘要:core文件分析 https://blog.csdn.net/weijitao/article/details/46445915 coredump配置、产生原理、分析及示例 https://blog.csdn.net/zhouhailiang1991/article/details/11917269 阅读全文

posted @ 2023-05-04 19:20 lh03061238 阅读(220) 评论(0) 推荐(0) 编辑

gdb使用方法
摘要:GDB调试教程: Debugging with GDB https://sourceware.org/gdb/onlinedocs/gdb/ 常用命令 https://zhuanlan.zhihu.com/p/660855211 https://zhuanlan.zhihu.com/p/474736 阅读全文

posted @ 2023-04-06 14:44 lh03061238 阅读(25) 评论(0) 推荐(0) 编辑

dwarf调试信息
摘要:Welcome to the DWARF Debugging Standard https://dwarfstd.org/ dwarf调试信息格式学习 https://blog.csdn.net/kikilizhm/article/details/124191751 (重点看) DWARF调试格式的 阅读全文

posted @ 2023-04-04 17:13 lh03061238 阅读(490) 评论(0) 推荐(0) 编辑

addr2line用法
摘要:addr2line command in Linux with Examples https://www.geeksforgeeks.org/addr2line-command-in-linux-with-examples/ addr2line 动态库[通俗易懂] https://cloud.ten 阅读全文

posted @ 2023-04-03 17:39 lh03061238 阅读(603) 评论(0) 推荐(1) 编辑

gdb与gdbserver的结合使用
摘要:gdb与gdbserver的使用 https://blog.csdn.net/weixin_43841155/article/details/128844403 嵌入式 程序调试之gdb和gdbserver的交叉编译及使用 https://blog.csdn.net/nanfeibuyi/artic 阅读全文

posted @ 2023-03-30 17:02 lh03061238 阅读(109) 评论(0) 推荐(0) 编辑

导航