News for hackers. Stuff that matters.
Re:How Does a C Debugger Work? (2014) by wallnuss on Sunday October 18, 2020 @01:20AM (#24815696)
Having recently had the pleasure of having to debug JIT-compiled code with an ABI mismatch, I can't overstate how useful `rr` (https://github.com/mozilla/rr) can be to debug assembly. The ability to `rsi` e.g. reverse step instruction is very powerful.

One tool that I started exploring is https://pernos.co/, the ability to do dataflow analysis is super cool. Let's you easily answer the question "How did this value get into this register".

Re:How Does a C Debugger Work? (2014) by jlokier on Sunday October 18, 2020 @11:38AM (#24818616)
`rr` is indeed very excellent.

It's really striking that it can't work on ARM though, due to an ARM architectural issue which x86 doesn't have.