Lysa » Forums » References - Making a Debugger
CaptainKraft
Jeremiah Goerdt
209 posts / 2 projects

Stay-at-home Dad, Programmer, and Linux apologist.

#11224 References - Making a Debugger
1 year, 6 months ago Edited by Jeremiah Goerdt 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
398 posts
#11225 References - Making a Debugger
1 year, 6 months 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
256 posts / 3 projects

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

#11226 References - Making a Debugger
1 year, 6 months 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 Goerdt
209 posts / 2 projects

Stay-at-home Dad, Programmer, and Linux apologist.

#11228 References - Making a Debugger
1 year, 6 months 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.