GIDForums  

Go Back   GIDForums > Computer Programming Forums > Miscellaneous Programming Forum
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
 
Thread Tools Search this Thread Rate Thread
  #1  
Old 12-Sep-2007, 09:45
ftmthy412 ftmthy412 is offline
New Member
 
Join Date: Sep 2007
Posts: 8
ftmthy412 is on a distinguished road
Question

C/C++ decompiler for linux


Hey all

Does anyone know of a good C/C++ decompiler for linux?

Thanks.
  #2  
Old 12-Sep-2007, 10:13
davekw7x davekw7x is offline
Outstanding Member
 
Join Date: Feb 2004
Location: Left Coast, USA
Posts: 5,311
davekw7x is a splendid one to beholddavekw7x is a splendid one to beholddavekw7x is a splendid one to beholddavekw7x is a splendid one to beholddavekw7x is a splendid one to beholddavekw7x is a splendid one to beholddavekw7x is a splendid one to behold

Re: C/C++ decompiler for linux


Quote:
Originally Posted by ftmthy412
...C/C++ decompiler...

Disclaimer: I don't do this. I don't know how to do this. I don't want to do this. I don't want to know how to do this.

However...

Thanks to some of my not-so-whitehat "friends," I have heard some references to the book Hacker Disassembling Uncovered by Kris Kaspersky. (I do not own the book, and I have not read the book.)

Note that, generally speaking, compiling and linking a C++ program is not a simple 1-1 mapping from source to executable. Therefore, the chances of just feeding an executable file to some program and getting anything close to readable C++ out of it are pretty remote. (That's just an opinion, of course. I could be wrong---it wouldn't be the first time.)

However, the book seems to give lots of clues as to how to take disassembled code and (manually) recognizing certain C++ constructs that may allow you to end up with something useful.

Good Luck! (And if you come up with anything "interesting", let us know.)

Regards,

Dave
  #3  
Old 12-Sep-2007, 10:20
ftmthy412 ftmthy412 is offline
New Member
 
Join Date: Sep 2007
Posts: 8
ftmthy412 is on a distinguished road

Re: C/C++ decompiler for linux


Thanks. Yeah, I'm white-hat with whatever I know, so the reason I wanted to know was for fooling with an open source game I've got on my pc. I was able to view the source code online, but I have no idea how to put all the different pieces together into a single executable, but now I see that it wouldn't be much easier to use a disassembler. Well, thanks for the help!
  #4  
Old 12-Sep-2007, 11:03
davekw7x davekw7x is offline
Outstanding Member
 
Join Date: Feb 2004
Location: Left Coast, USA
Posts: 5,311
davekw7x is a splendid one to beholddavekw7x is a splendid one to beholddavekw7x is a splendid one to beholddavekw7x is a splendid one to beholddavekw7x is a splendid one to beholddavekw7x is a splendid one to beholddavekw7x is a splendid one to behold

Re: C/C++ decompiler for linux


Quote:
Originally Posted by ftmthy412
...I'm white-hat...

So am I. That's my story, and I'm sticking with it. See footnote.

Regards,

Dave

Footnote:
"Roses are red,
violets are blue.
I'm schizophrenic,
and so am I."
---davekw7x
But I don't claim originality---And neither do I.
 
 

Recent GIDBlogProblems with the Navy (Officers) by crystalattice

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The

All times are GMT -6. The time now is 12:34.


vBulletin, Copyright © 2000 - 2010, Jelsoft Enterprises Ltd.