TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Writing a Linux Debugger (2017)

108 点作者 lrsjng将近 2 年前

4 条评论

PhilipRoman将近 2 年前
Nice, I really like that it describes the DWARF format instead of just handwaving around it. I&#x27;ve been considering adding DWARF support to my compiler so that I can use mainstream debuggers with it and this article has just destroyed my last excuse to procrastinate.<p>I must admit, the title got me very excited (it&#x27;s still a cool article regardless) - something I&#x27;ve always wanted is a system-wide debugger for Linux. Something that can put breakpoints in arbitrary executables or shell scripts (via custom &#x2F;bin&#x2F;sh wrapper?) system wide, not just within a debugging session. I&#x27;d love to be able to put conditional breakpoints on, say, any process that opens a named pipe matching some regex. I find that when dealing with complex systems involving systemd services, cron jobs, udev and 30 different daemons running in background, gdb and strace simply aren&#x27;t enough.
评论 #36335515 未加载
评论 #36336316 未加载
Veserv将近 2 年前
As someone who does debugger development as part of their day job, I can attest that this is a very good introduction to the details of basic debugger operation and implementation. If you are unfamiliar with the topic, I recommend you give it a try as it immediately starts giving useful nuggets of knowledge that are applicable in other circumstances if you are ever interested in doing low level or embedded development.
评论 #36331334 未加载
hoten将近 2 年前
Appreciated the How is Babby Formed reference in chapter two:)
setheron将近 2 年前
How does one debug the Linux kernel ? I want to step through some portions.<p>Even with UML it sounds arduous