Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Step-by-step execution for Intel AT&T assembler?

I'm writing a compiler that converts source code (written in a small imperative programming language) to Intel AT&T 32-bit assembler.

I tend to spend a lot of time debugging, because of nasty offset-mistakes etc. in the generated code, and I would like to know if anyone knows of a tool to "walk through" the generated assembler code step-by-step, visualizing what's on the stack etc.

I use Ubuntu Linux as my development platform, and I'm comfortable with the terminal -- a GUI-program would be nice though. Does it exist? Or is there a good reason it doesn't (maybe the problem isn't so straightforward..?)

If you have good ideas for approaching debugging tasks in assembly code, I'll be glad to hear from you!

like image 983
Søren Haagerup Avatar asked Aug 21 '26 21:08

Søren Haagerup


1 Answers

I like EDB (Evan's Debugger) on Linux. It has a nice, easy-to-use, QT4-based GUI. Its developer's goal is to make it similar to OllyDbg. And it's being actively maintained:

EDB on FreshMeat

I'm pretty sure it's installable through Synaptic on Ubuntu as well. Enjoy!

like image 56
Eric Avatar answered Aug 24 '26 14:08

Eric