Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

The best Linux tool for disassembling C++ executables [closed]

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".

like image 485
Kiril Kirov Avatar asked Oct 07 '10 08:10

Kiril Kirov


People also ask

Which command is used to disassemble code?

The DISASM command attempts to disassemble code from a given start address.

What does a disassembler do?

A disassembler is a computer program that translates machine language into assembly language—the inverse operation to that of an assembler. A disassembler differs from a decompiler, which targets a high-level language rather than an assembly language.

What is disassembly code?

Machine code disassembly routines form a fundamental component of software systems that statically analyze or modify executable programs. The task of disassembly is complicated by indirect jumps and the presence of non- executable data—jump tables, alignment bytes, etc. —in the instruction stream.


2 Answers

Here are some. Good luck with your debugging!

UPS Debugger

Evan's Debugger

Assembly Language Debugger (ALD)

Insight

Data Display Debugger (ddd)

AsmBug

Dissy

like image 103
Reno Avatar answered Oct 07 '22 14:10

Reno


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.

like image 21
Jan Avatar answered Oct 07 '22 14:10

Jan