Decompiler For C++ - Any suggestion?

free web hosting
Open Discussion > CONTRIBUTE > Computers > Programming Languages > C/C++ Programming

Decompiler For C++ - Any suggestion?

franz see
I'm interested in a decompiler for C++ (that works in Win XP). Preferably, Open Source, if not, a freeware....or at least a free tial smile.gif

Thanks a bunch smile.gif

Reply

osknockout
Hmm... kind of hard to answer actually. You could try Boomerang.

Although if you're on the holy grail to decompiling,
it'd be easier to write something yourself.

The real problem with decompiling anything into C++ though is that
1)you're assuming that the code is C++ compatible

- suppose it was a microkernel that used an x86 assembly/Perl mix.
(hypothetical case, don't flame me saying "who'd do that?")
So 'LOADALL .... CMOV ....' and (on the top of my head guys) "/help+.?/"
could be in there. Suppose we tried to decompile that to C++.

That asm code could be something like
inline(db 0x0F 0x07 0x4A 1A) in C++ - ok, that's not real inline style, but go with it.
sure it's in C++, but does that make any sense to a C++ programmer?
And I'm not even going to try the Perl expression.
Just realize there's a bunch of <cstring> functions involved.

2)you're ok with reading code in only one style.

- Seriously, if you plan on using a decompiler for a high level language
is that all variables will be named systematically. Like maybe a,b,c...
for example. So std::cout << (char) currency << dollars could be
reduced to std::cout << a << b. So you'd have to go back and try
and figure out what every little variable means. That's rather
pain consuming for a large project. It'd probably be easier just learning
assembly to decompile the program because C++ is a language of abstraction.
And abstraction does not go well with arbitrary, hard to remember variables.

 

 

 


Reply

franz see
QUOTE(osknockout @ Sep 26 2006, 01:05 AM) *

Hmm... kind of hard to answer actually. You could try Boomerang.



Wow ! Great ! An open source project ! Thanks for the tip smile.gif I'd try to check it out this weekend and take a look at it happy.gif


QUOTE(osknockout @ Sep 26 2006, 01:05 AM) *


Although if you're on the holy grail to decompiling,
it'd be easier to write something yourself.

The real problem with decompiling anything into C++ though is that
1)you're assuming that the code is C++ compatible

- suppose it was a microkernel that used an x86 assembly/Perl mix.
(hypothetical case, don't flame me saying "who'd do that?")
So 'LOADALL .... CMOV ....' and (on the top of my head guys) "/help+.?/"
could be in there. Suppose we tried to decompile that to C++.

That asm code could be something like
inline(db 0x0F 0x07 0x4A 1A) in C++ - ok, that's not real inline style, but go with it.
sure it's in C++, but does that make any sense to a C++ programmer?
And I'm not even going to try the Perl expression.
Just realize there's a bunch of <cstring> functions involved.



Don't worry smile.gif I don't expect the decompiler to work on non-C++ compatible smile.gif Besides, I'd probably not encounter that anyway in my basic use of it smile.gif

QUOTE(osknockout @ Sep 26 2006, 01:05 AM) *


2)you're ok with reading code in only one style.

- Seriously, if you plan on using a decompiler for a high level language
is that all variables will be named systematically. Like maybe a,b,c...
for example. So std::cout << (char) currency << dollars could be
reduced to std::cout << a << b. So you'd have to go back and try
and figure out what every little variable means. That's rather
pain consuming for a large project. It'd probably be easier just learning
assembly to decompile the program because C++ is a language of abstraction.
And abstraction does not go well with arbitrary, hard to remember variables.


Yes, I figure that much smile.gif But i think im up to the task of refactoring the output of the decompiler smile.gif hehe laugh.gif

Thanks again smile.gif

Reply

osknockout
Lol, best of luck then. Sounds like you're decompiling a program you wrote and then deleted the source too.
Do tell if you have any problems with Boomerang.

Reply

tydes
I want to ask, how to decompile C++ programs that have been obfuscated????

I can't decompile it

Reply

osknockout
I suggest you use an assembly decompiler. biggrin.gif
It's obfuscated, so it's already loopy, if anything it
should make more sense in asm. laugh.gif

But seriously, what do you mean you can't decompile it?
Do you mean that it just won't decompile or that the output makes no sense?

Reply

iGuest
Hi guys. I am a member of staff for an online game called Chain of Command. We are a growing community of players returning to a game lost long ago when 2am games company went bankrupt.

At present the game is full of glitches. But we only have a compiled version of the game. We can't fix anything. For 3 years we've been searching for a way to get the source code so we can fix the game, from hiring Private Investigators to help track down the original programmers, to talking to professionals who would charge us $40k to $60k. We are a free game and run on donations, we clearly don't have that kind of cash.

Now, with my sob story over, anyone have any suggestions? I am a programmer and I'm getting to grips with C++. Another guy on our team is an excellent C++ coder. So once we get the source code I'm sure we can make improvements.

I'd appreciate any help with this. I downloaded and ran boomerang, but it commits an illegal operation during the Decompile stage. I've tried a few times with different downloads of the software. This may be caused by one of the many glitches in the coding :)

We can have considered rewriting the game from scratch, but apart from the workload being far too heavy for our small staff, there are equations within the code that we could never recreate accurately. We aren't looking for the easy way out. This is our last resort, as we would obviously like an original copy of the commented source code with all the variables intact.

Sorry for the length of this post :) And thanks in advance for any help.


-SlickRed

Reply



Got an Opinion! Express your Views! (no registration):-
Add your Reply/ Opinion/ Views/ Comments/ Suggestion/ Questions/ Queries etc.
Posts with decent grammar & English will be accepted and please refrain from profanities.
For asking a Question, We recommend you to sign-up (for free) so that you can track the topic easily.

Nature of your Post*: Opinion/ Reply/ Comments
Question/Query
Feedback to us.
       
Name   Email
Title/Question*

(Maximum characters: 10,000)
You have characters left.

Recent Queries:-
  1. decompile to c - 0.66 hr back. (1)
  2. c decompiler - 1.16 hr back. (2)
  3. decompiler c__ - 1.32 hr back. (1)
  4. decompilare c - 2.27 hr back. (1)
  5. decompile from assembly to c - 3.62 hr back. (1)
  6. c c decompiler - 4.58 hr back. (1)
  7. c decompile - 5.89 hr back. (2)
  8. freeware c decompiler - 11.76 hr back. (1)
  9. decompiler c - 2.02 hr back. (8)
  10. decompile c - 2.11 hr back. (4)
  11. c decompiler - 0.38 hr back. (4)
  12. uncompile c - 16.95 hr back. (1)
  13. decompiler c win - 17.71 hr back. (1)
  14. decompiler to asm - 22.58 hr back. (2)
Similar Topics

Keywords : decompiler, c, suggestion

  1. [req & Suggest] -[news Link]-
    Suggestion and Request. :) (2)
  2. New Bbcode Suggestion
    And a few other suggestions (3)
    Hey. I have a little suggestion that is way better then our original/current table bbcodes.
    Example: QUOTE Image or text here this would show a table with cells. Information:
    Used to create a table, you need to manually add tr and td tags for the rows and cells after you
    have inserted this tag. (ignore the "table=1". It's just table.) Screenshot: So how about
    this? /smile.gif" style="vertical-align:middle" emoid=":)" border="0" alt="smile.gif" /> Second:
    Will you ever get ImageFilez.com working? It displays a large SQL error. CODE Table ....
  3. Fun & Off-topic Forum
    A suggestion :) (1)
    Hey guys, I had a suggestion for the Lounge, and we might get more members. All GTA sites do it, so
    why don't we do it, even though we are not a GTA or games fansite, but we hold various subforums
    for games. /smile.gif" style="vertical-align:middle" emoid=":)" border="0" alt="smile.gif" /> My
    suggestion was, to add a "Fun & Off-Topic" forum, for forum games like, "Promote the user above
    you", or "Ban the user above you" or something of the sort. Why did I come up with this idea?: Well,
    this would give our fellow members the chance to post in the forums alot more. I....
  4. Suggestion About Email Notification
    (1)
    I have a suggestion, make an option where you receive email notification when your credit balance
    drops below X.xx credits, and to make the value you receive the notification from different amounts,
    e.g Recieve email notification when your credit balance drops below a certain amount: Y/N The
    amount before you receive notification: 1/2/3/4/5/10/15/20/25/50/100 credits. (or something
    simmilar) Even without this I have to say great job Trap17 /smile.gif"
    style="vertical-align:middle" emoid=":)" border="0" alt="smile.gif" />....
  5. Good Mp3 Player
    Suggestion for good mp3 player? (6)
    Hey guys I'm planning to get myself an mp3 player and my budget is $65...Could you please
    suggest some for me? My Preferences: digital (i should be able to see what song im playing and time
    passed and stuff like that) size should be greater or equal to 2gb must have inbuilt rechargeable
    battery or atleast ability to use rechargeable AA batteries user friendly good battery life some
    popular brand must be usable in india cuz thats where i live..... ....
  6. [suggestion] Allow Users To Delete Their Own Topic
    Possibly only if there are no replies (4)
    I've had the following happen to me twice within the past few days: I struggle with a problem
    for three or four hours. Eventually I give in and post asking for help. While I wait for the help
    I continue working on the problem. An hour or two down the road I figure out the issue on my own.
    As such, I no longer need the topic I created. I'd like to delete it so as not to waste
    people's time (and clutter up the sub forum), but I don't have the privileges to do so.
    Being able to delete your own topics would allow users to self moderate, and cut down on....
  7. Suggestion: "buying" More Space
    Use credits for something else as well... (5)
    I'm thinking of setting up a system of "buying" more webspace for your site, just like the
    domain name feature. Say, if you pay 20 credits, you get another 100 MB of bandwidth for your site.
    Or, if you pay 40 credits, you get 10 MB more space. What do you think? Sorry, could you change
    the "buy" in the title into "buying"? It seems like I'm trying to promote a paid hosting site.
    ....
  8. A Suggestion For All Hosted Members...
    (3)
    I would like to suggest something for all the hosted members on trap17. In your profile you have a
    section called your personal statement. You can get the address of your website to appear there by:
    Step one: on the Topics, Posts, Gallery, Comments, Friends, Settings bar, click Settings. Step two:
    where it says "Your Website" type in the adress to your website. step three: click submit, or ok
    at the bottom.... Your website will now appear in your personal statement. It gives others viewing
    your profile a chance to check out your website! So if you want to please....
  9. Aeara's Reapplication (free Web Hosting) [approved]
    A suggestion from BuffaloHelp (2)
    I'm REAPPLYING my application due to a situation that had occurred and was reported here:
    http://www.trap17.com/forums/ftp-issue-for...ble-t53975.html I previously applied, was screened
    and then approved here: http://www.trap17.com/forums/phpbb-forum-h...ved-t53921.html With the
    permission/suggestion of Buffalohelp I'm reapplying the same information so as to start with a
    clean slate that will enable me to not have troubles with my account usage in the future. Also in
    doing this I hope that the previous account is deleted, making the same url available. :....
  10. Suggestion-a Crafts Forum @ Trap17
    I think we need one:) (1)
    Hey Just wanted to suggest a crafts forum wherein people can post craft resources tips & tricks,
    etc, I have PLENTY to add to such a forum:) Thanks Archangel:)....
  11. Illegal Post Suggestion
    (4)
    Make this kind of post illegal . Warn and delete on first and permaban on second. Please.....
  12. Suggest Diet For Diabetic
    Suggestion needed (7)
    Hey people, Please suggest me a diest for a diabetic patient . I dont eat Non-veg foods so please
    gimme soe reccipes which are Indian and also vegetarian. And dont reply saying dont have sugar, i
    know , that i can browse the net to get the recipe , but lately i tries all those, and still i dont
    find a recipe tat strike my taste buds. One more thing is Omlette Diabetics ? ....
  13. I Want Start Up A Home Appliance Export Business, Suggestion Is Needed.
    (10)
    Hello everyone. I live in a Chinese city which is a home appliance manufacture base. A lot of
    plants here produce home appliance such as loudspeaker, shavers, fan, hair dryer, hand dryer,
    blender... etc. I have seen much people export these products to foreign country, So, I want to be
    involved in this business too. I have some questions here. 1. How can I be found by the buyers,
    This question can turn to "how buyers find their supplier". If they find supplier through internet,
    where they get infomations. 2. What if I act as a virtual agent for these buyer? 3. I c....
  14. Keyword Relevancy
    A Suggestion (0)
    Keyword Relevancy Addition to Board Rules & Guidelines? I recently became aware of
    the importance of composing topic titles and descriptions in a manner conductive to attracting new
    members via internet search engines by fully maximizing Keyword Relevancy. As it turns out,
    composing topic descriptions with the intent of attracting new members from search engines is an
    “extremely high priority” at this forum, even higher than getting hits from current members viewing
    the last topic list. Yet no mention of the term Keyword Relevancy (that I can find) is....
  15. 250 Credits For One Year Of Hosting Suggestion
    Suggestion for new application (14)
    Hy peeps. That forum "Post a new topic in My Ideas, Theories, Possiblities, Innovation"
    (possiblities is misspelled /huh.gif" style="vertical-align:middle" emoid=":huh:" border="0"
    alt="huh.gif" /> ), is forum forum for my first posts, and i guess for few last ones (unless it gets
    accepted /laugh.gif" style="vertical-align:middle" emoid=":lol:" border="0" alt="laugh.gif" />) j/k
    (memories) Anyway trap has a good offer for 250 credits for one year of domain, and i was wondering
    why can't be an offer for 250 credits for one year of hosting. Here's how i think ....
  16. [suggestion] Regarding Adverts!
    (3)
    Why don't you people just try to create a script that can check the presence of your proposed
    adverts on each member site! This way you can let the users to customize the text-links (but
    I'd recommend images) and merge them more seemlesingly in their sites. Make them to download the
    source code from the control panel. Let the script check each and every site as a cron job. if not
    found then warn them or you can even delete their accounts automatically. What do you say? I would
    recommend this topic only for mods and admin no members they will make this thre....
  17. Fantasico Issue / Suggestion
    Addon Script (3)
    I do not even know what fantasico is, and I dont plan on using it, however I clicked on it in the
    Cpanel and I got this message... QUOTE The server was not able to find the document
    (./frontend/rvblue/fantastico/index.php) you requested. Please check the url and try again. You
    might also want to report this error to your webhost. Alot of hosts offer a larger variety of
    free scripts such as image galleries, blogs, and CMS.. particularily I was looking for the
    Joomlas... Xoops would also be a good script to install. I should have a problem doing this myself
    howev....
  18. Tutorial Index Suggestion
    (5)
    A member (.nol) brought up an excellent point today. Index (table of content) of tutorials. An
    easy way to browse what kinds of tutorials are available in Trap17--both general and GFX. The
    simplest way of doing this is to generate RSS by sub-forum and then present it via Annex (for those
    who do not know it's our Community page). Or, if OpaQue grants, I can include HTML code to
    Tutorial Index forum post. Either way, it should be automated and updated according to RSS feed.
    RSS is the easy part. What I would like for all members of Trap17 to do is think about how RS....
  19. Limiting Max Number Of Credit Posts Suggestion?
    (19)
    How about that Trap17 limits maximum number of posts that you can get credits for in one day? My
    suggestion would be limiting posts that count for credits at 3 a day /rolleyes.gif"
    style="vertical-align:middle" emoid=":rolleyes:" border="0" alt="rolleyes.gif" /> . I really
    don't know how to explain this idea, it's just something that came to my mind.. What do you
    guys think?....
  20. A Suggestion: Pm Or Email Us
    (0)
    Perhaps you could PM or Email us when are hosting credits reach a certain level, reminding us to
    post before the credits go out. Those who haven't got trap17 as their home page may forget to
    post that day and get the problem of having to post again.....
  21. Suggestion For Free Forum To My Web Page
    I have only tried Invisionfree.com (1)
    Well, my title and description says about it. I would like to find a nice forum for my web page.
    Just test period. I have only tried invisionfree's forum and I did not see any problems with it.
    It was really nice actually, but I don't know if there are any other free forums that are better
    so suggestions, please!....
  22. Writing A Personal Testimonial
    any template or suggestion? (0)
    I need to write a personal testimonial of myself and submit to a company so that they can
    acknowledge it and sign it. The reason for this being that they are too busy. So can anyone suggest
    me an example of a personal testimonial or maybe a standard format? This testimonial would be sent
    to the U to boost my chances of getting in, I really want to get into U so this is very important to
    me.....
  23. Suggestion For This Site
    The initial posting requirement (5)
    I am a little annoyed by this initial posting requirement! I, like many people I'm sure
    have been searching and trying out various free web hosts to see if they will run certain scripts
    and have functioning features that are required for an intended purpose. I have tested about a dozen
    that seem to meet all of my requirements, only to find out after joining/testing that they
    don't! I like the posting concept of this site and think it is a brilliant idea, but should
    only be implemented once the user has had a chance to test the service - maybe a day or t....
  24. Gfx Section Suggestion
    (8)
    I think posting in the Showoff thread under the GFX Section should be counted for credits. That is
    probably my favorite section. I am not making this suggestion for myself but the Showoff section is
    really one of the major parts of the GFX section and it doesnt even count credits. I dont want
    anyone to get mad at me for making this suggestion so if you dont like it then just leave it be.....
  25. Forum Suggestion
    (5)
    Hi there, New customer here and i'm just wondering if it would be possible to setup a system
    were people who pay for hosting don't have to put up with all the adverts on the forum. Would
    that be possible?....
  26. Just A Suggestion
    (3)
    I've got a suggestion for another forum on trap17, perhaps you should have a showcase forum
    where members can show off the sites that they've created and then get comments and suggestions
    on what to improve. If this already exists, please tell me the name of the forum and totally
    disregard this message. Thanks /smile.gif" style="vertical-align:middle" emoid=":)" border="0"
    alt="smile.gif" />....
  27. Suggestion of Any Free Host For Adsense
    (6)
    Hi guyes.. plz suggest me any gud free domain host for my site... i want to put google ads on it..
    but as far as i know.. google adsense do not allow sites hosted on free domain hosts bcuz they
    already got their own ads on it... so plz suggest me any gud free host which will b allowded by
    adsense.......
  28. Trap17 Network Advertising
    Suggestion for Hosted members (3)
    I havent read all the pages in the sectiona nd i didnt do a search either so im not sure if you
    guys have brought this up before.. But I suggest that we create or someone creat a script that can
    be hosted thru trap 17 with all of the trap 17 hosted accounts.. It can be a script that can be
    placed on your website Displaying a (example:) Scrolling Links of all Hosted Trap 17 sites.. If
    trap17 can host it and keep it up to date.. and ive seen java scripts that do something similar so i
    know i can prbably be done.. but does anyone lese think this is a good idea or no and ....
  29. Price Suggestion On Custom Built Computer
    How Much Would You Pay? (23)
    I'm am thinking of building a custom computer. And this is what I have. What do you think?
    Case: Sonata II Piano Black Quiet Super Mini Tower, SmartPower 2.0 450W ATX12V v2.01 Power Supply
    Video card: Radeon 9250 Video Card, 8x AGP, 256MB DDR OS: WindowsXP Hard Drive: Ultra16 500GB
    Hard Drive 7200RPM, Internal, ATA/133 Motherboard/Processor: MSI K8
    ATX Socket 754 Motherboard and AMD Athlon 64 3000+ Processor Bundle Memory: 2GB
    PC3200 184pin DDR DIMM Memory Kit (2-1GB Modules) for PowerMac G5 1.8GHz, Apple Compatibl....
  30. Question/suggestion Concerning Mysql
    (8)
    Alright... I'm not one to complain about things, but on the delta server, the MySQL has been
    down multiple times a week. I'm getting hosting with a different company soon, on completely
    unrelated issues that I knew about before coming here and didn't expect to run into quite so
    fast, but... I just want to know if the version of MySQL is a stable version. Or is it being over
    used? Honestly, there have been hours straight when I've been without a forum. Like now for
    instance. My forums have been down for 2 hours straight on my paid site. My trap17 site is s....

    1. Looking for decompiler, c, suggestion

*RANDOM STUFF*





*SIMILAR VIDEOS*
Searching Video's for decompiler, c, suggestion

*MORE FROM TRAP17.COM*
advertisement



Decompiler For C++ - Any suggestion?



 

 

 

 

ADD REPLY / Got an Opinion! a humble request :-) RAPID SEARCH! Free Hosting [X]
Express your Opinions, Thoughts or Contribute your information that might help someone here.
Ask your Doubts & Queries to get answers.. "Together, We enlight each other!"
Register FREE for AD-FREE forum, Create your own topics, Ask Questions, track topics, setup subscriptions & notifications and Get a Free Website w/ Email and FTP.
500MB Space *No Ads*, CPanel, FTP, PHP, MySQL, EMails - 100% FREE