Lysa » Forums » References - Making a Debugger
CaptainKraft
Jeremiah
145 posts
2 projects

Father, husband, C programmer, and Linux apologist. Think before you code.

#11224 References - Making a Debugger
5 months, 2 weeks ago Edited by Jeremiah on May 4, 2017, 5 p.m.

This thread will be updated with useful links for anyone who wants to learn more about making debuggers (especially me).

  • x86 psABI: contains a mapping of DWARF registers to x86 registers, and so much more!
  • Capstone Disassembler
  • Coming soon...

Build a man a fire, he'll be warm for a day.
Set a man on fire, he'll be warm for the rest of his life.
ratchetfreak
292 posts
#11225 References - Making a Debugger
5 months, 2 weeks ago

You are going to want to add a disassembler, intel open sourced its xed lib recently: https://github.com/intelxed/xed it also contains machine readable data files in case you want to code your own.
Kelimion
Jeroen van Rijn
233 posts
3 projects

A big ball of Wibbly-Wobbly, Timey-Wimey _stuff_

#11226 References - Making a Debugger
5 months, 2 weeks ago

We're already using Capstone for that purpose, which handles more than just x86{,-64}. The xed library may still come in handy, thanks.
CaptainKraft
Jeremiah
145 posts
2 projects

Father, husband, C programmer, and Linux apologist. Think before you code.

#11228 References - Making a Debugger
5 months, 2 weeks ago

ratchetfreak
You are going to want to add a disassembler, intel open sourced its xed lib recently: https://github.com/intelxed/xed it also contains machine readable data files in case you want to code your own.


Thanks for the tip.

Also, I feel like I should mention that I started this list during a stream and plan to go back and add many more links soon.

o7

Build a man a fire, he'll be warm for a day.
Set a man on fire, he'll be warm for the rest of his life.