I'm reading this chapter because it began with this master class of snark that made me say "gosh maybe I don't know all the basics, I'd better not skip it"
@ljs @brenns10 did you see that anon_vma ->degree confusion bug that was fixed in 2022, where an assumption in vma mergability checks is broken and you get an anon page mapped in a VMA which is not connected to the page's anon_vma, and that leads to anon_vma UAF?
https://project-zero.issues.chromium.org/issues/42451486
@vbabka It's the early access PDF for "Building a Debugger". So far so good! I've only just gotten to chapter 3 but clearly I enjoy the author's sense of humor which makes it easier reading. I'm excited to get to some of the DWARF handling chapters especially.
@andersonc0d3
@vbabka Yeah it's definitely not a book focusing on debuggers for kernels. There's a small section in chapter 22 about remote debugging but it's just a "FYI this exists" sort of thing.
If you did want to see an example of gdbserver support in a kernel debugger you could check this new pull request for gdbserver support in drgn, hot off the presses from Daniel Thompson, kgdb co-maintainer :)