LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 01-08-2004, 10:38 AM   #1
nowonmai
Member
 
Registered: Jun 2003
Posts: 481

Rep: Reputation: 48
C decompiler


anyone know of a good C decompiler? A good disassembler would be nice too
 
Old 01-08-2004, 10:45 AM   #2
@@@
Member
 
Registered: Dec 2003
Posts: 30

Rep: Reputation: 15
Disassembler: NASM
Decompiler?!?
 
Old 01-08-2004, 10:47 AM   #3
kev82
Senior Member
 
Registered: Apr 2003
Location: Lancaster, England
Distribution: Debian Etch, OS X 10.4
Posts: 1,263

Rep: Reputation: 51
objdump or ndisasm for the dissassembler, i used to have a c decompiler but i can remember what it was called, what do you want it for?
 
Old 01-08-2004, 10:59 AM   #4
@@@
Member
 
Registered: Dec 2003
Posts: 30

Rep: Reputation: 15
I'm sorry to interrupt but what is a decompiler supposed to do?
It won't give you a C source code out of an asm-File, thats for sure...
 
Old 01-08-2004, 11:23 AM   #5
kev82
Senior Member
 
Registered: Apr 2003
Location: Lancaster, England
Distribution: Debian Etch, OS X 10.4
Posts: 1,263

Rep: Reputation: 51
thats what it attempts to do, it obviously cant rescue variable names/comments but it can look at the stack frame and determine what types the local variables are, reconstruct function calls, etc but you dont get a nice looking source file back at the end, its just a bit easier to read than the assembly
 
Old 01-09-2004, 12:47 PM   #6
hadding
Member
 
Registered: Oct 2003
Distribution: Redhat 9
Posts: 40

Rep: Reputation: 15
IDA Pro http://www.datarescue.com is the best disassembler around. It's pricey and win32 only. A freeware version (that runs under wine) can be downloaded @ http://www.simtel.net/pub/pd/29498.html . Also check http://www.2good.com/software/idastuff/ for a couple of utils to create .pat files out of elf objects for use with FLIRT.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Good decompiler, C++ preferred lectraplayer Programming 3 11-06-2004 06:37 PM
what are some good Debugger,hex,decompiler ? Yoshimura Programming 2 08-27-2004 04:12 AM
Chm Decompiler freaker2k5 Linux - Software 1 08-21-2004 12:26 PM
VB executable file decompiler XillusionsX Programming 3 10-29-2002 01:11 AM
Decompiler?? habiblove Programming 3 10-17-2001 08:29 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 04:09 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration