构建调试器

Building a Debugger

Sy Brand · 初版 2025 年

8人推荐
8位读者提及
11次提及

Hacker News 上怎么说

  • 没错。我最喜欢的就是那种一步一步手把手教你从零实现复杂系统项目的书,比如诺拉·桑德勒(Nora Sandler)的《动手写 C 语言编译器》(Writing a C compiler),或者 Sy Brand 的《动手写调试器》(Building a Debugger)。真希望他们能多出大大大大一大堆这种书。

    Yeah. My favorite are books that guide you through implementing complex systems projects from scratch, like Nora Sandler's "Writing a C compiler", or Sy Brand's "Building a Debugger". I wish they produced A LOT more of them.

  • 谢谢提示。这位作者有一本整整 750 页的书,我看了样章和目录后立刻就买了:https://nostarch.com/building-a-debugger

    Thanks for the hint. There is a whole 750 page book by the author, and I immediately bought it after checking the sample chapter and TOC: https://nostarch.com/building-a-debugger

  • 给有兴趣写调试器的人:有一系列教程讲如何用 Rust 从零为 Windows x86-64 写一个调试器 [1]。另外还有 Sy Brand 写的一本书,叫《Building a Debugger - Write a Native x64 Debugger From Scratch》[2]。 [^1]: https://www.timdbg.com/posts/writing-a-debugger-from-scratch... [^2]: https://nostarch.com/building-a-debugger

    For those interested in writing a debugger: There are a series of tutorials on how to write a debugger from scratch for Windows x86-64 using Rust [1]. Additionally, there is a book titled "Building a Debugger - Write a Native x64 Debugger From Scratch" by Sy Brand [2]. [^1]: https://www.timdbg.com/posts/writing-a-debugger-from-scratch... [^2]: https://nostarch.com/building-a-debugger

  • 顺便说一句,这个博客的作者就是 https://nostarch.com/building-a-debugger 的作者。对一个探索不足的话题的精彩探索——我已经预购了纸质版,在此期间一直跟着电子版看。

    Aside, but the author of this blog is the author of https://nostarch.com/building-a-debugger A wonderful exploration of an underexplored topic--I've pre-ordered the hard copy and have been following along with the e-book in the interim.

  • 而且同一位作者刚出了一本 700 多页的新书,讲如何构建调试器,包含大量额外信息(见 https://nostarch.com/building-a-debugger);我最近买了,强烈推荐。

    And there is a brand new book with more than 700 pages about how to build a debugger by the same Author with a lot of additional information (see https://nostarch.com/building-a-debugger); I recently bought it and can highly recommend it.

  • DWARF 里存在的各种小型求值器真的很有意思。我开始为 DWARF 表达式格式写一个(https://github.com/tmcgilchrist/durin/pull/7),把它和一个调试器以及 free-monad/effect handler 风格的代码集成起来,用来查找缺失的数据以提供给 Requires* 回调。 然后是行号求值,这个我还没开始。 构建

    It's really fascinating the different little evaluators that exist in DWARF. I started writing one for the DWARF expression format (https://github.com/tmcgilchrist/durin/pull/7) that I'm integrating with a debugger and free-monad/effect handler style code to lookup the missing data to provide for the Requires* callbacks. Then there is the line number evaluation, which I haven't started on. Build

正在加载完整评论……

键盘快捷键

/
聚焦搜索框
j / k
下一本 / 上一本
Enter
打开选中的书
Esc
关闭 / 返回
g h
回到首页
g b
值得读精选
g t
历史总榜
g r
上升最快
g l
我的书架
?
显示本帮助