views:

156

answers:

2

Which tool is the best for disassembling C++ executables? I'm looking for something like OllyDbg but for Linux.

EDIT: Sorry, forgot to tell that I want to be able to debug, too, not just to see the asm code.

EDIT2: By "best" I mean something like - "the best for windows is OllyDbg - can see the asm code and can debug, it's user friendly and very powerful. Which one is best for Linux".

+3  A: 

Here are some. Good luck with your debugging!

UPS Debugger

Evan's Debugger

Assembly Language Debugger (ALD)

Insight

Data Display Debugger (ddd)

AsmBug

Dissy

Reno
Thanks! What's your favorite ?
Kiril Kirov
I im used to the bastard dissassembler http://bastard.sourceforge.net/. You want something close to Olly so i suggest you can try Evan's Debugger
Reno
Thanks, Reno! Evan's Debugger sounds great to me(I just visited the link, you posted here).
Kiril Kirov
+1  A: 

If gcc was used to compile, you can use objdump Can be used on a single .o file, a library or even a full executable.

Jan
Argh, sorry, my bad. Forgot to tell that I want a tool, that's able to debug, too, like OllyDbg. And I've used gdb to debug, but debug core files or to debug my own code. I want a tool, that would help me for reverse engineering. Thanks and sorry for not being comprehensive
Kiril Kirov
Ah, I understand. I would recommend gdb then, it is certainly able to debug in assembly mode. However, because it's a pain in the ass for even normal debugging, I won't.
Jan
What do you think about Evan's debugger? Or you haven't used it. Thanks :)
Kiril Kirov
It looks ok, but I haven't used it.
Jan