|
-
Apr 11th, 2004, 01:25 AM
#1
Thread Starter
Frenzied Member
C++ Decompiler
Hey, I'm looking an EXE -> C++ decompiler, I need to decompile a 218KB dos file to view the source of it (I realize that the functions and such won't have the original names but thats ok).
I know they exist because I remember using one a while back, I just can't find any right now.
I already have this EXE file in ASM, so an ASM to C++ coverter will be just as good.
thanks
Dimava
NXSupport - Your one-stop source for computer help
-
Apr 11th, 2004, 02:15 AM
#2
Member
Re: C++ Decompiler
Originally posted by dimava
Hey, I'm looking an EXE -> C++ decompiler, I need to decompile a 218KB dos file to view the source of it (I realize that the functions and such won't have the original names but thats ok).
I know they exist because I remember using one a while back, I just can't find any right now.
I already have this EXE file in ASM, so an ASM to C++ coverter will be just as good.
thanks
Dimava
I've honestly never heard of such a converter. But I imagne that if one ever created one, it would be a very complicated beast due to all the optimizations a retail exe goes through.
-
Apr 11th, 2004, 11:21 AM
#3
Never heard of one either, but I always thought it could be done. Ugly as sin, though.
-
Apr 11th, 2004, 08:55 PM
#4
Member
Well the problem of doing it would be how the compiler optimizes code. I mean you can get different exes with the same code by just adjusting some compiler optmization options. Then when you think of all these different compilers, you see how this one problem becomes very complicated. Then you also know that optimized code is extremely criptic. Meaning even after you do get all these exe's converted back to C, it's going to be full of gotos and ****. Then your program will have to be modified every single time a compiler gets and update.
-
Apr 11th, 2004, 09:03 PM
#5
So Unbanned
It would mostly depend on how the converter would create C structures. There's no way to compile something into C that has any real degree of complexity and return it to the same thing after a decompile.
It's easy to expand onto vagueness(VB/C -> ASM) it's not as easy though to do the reverse.
I've never seen a good working EXE decompiler, ever.
-
Apr 12th, 2004, 12:52 AM
#6
Thread Starter
Frenzied Member
are there any programs to take ASM code and draw out a logical diagram of how it works, with the gotos and how they flow into eachother, or like show a list of places that refer to a specific address
tnx
Dimava
NXSupport - Your one-stop source for computer help
-
Apr 12th, 2004, 05:08 AM
#7
Addicted Member
Originally posted by dimava
are there any programs to take ASM code and draw out a logical diagram of how it works, with the gotos and how they flow into eachother, or like show a list of places that refer to a specific address
tnx
Dimava
Not as far as i know. Your best bet is to just learn ASM.
-
Apr 12th, 2004, 08:04 AM
#8
So Unbanned
Originally posted by dimava
are there any programs to take ASM code and draw out a logical diagram of how it works, with the gotos and how they flow into eachother, or like show a list of places that refer to a specific address
tnx
Dimava
An ASM editor would do that, you'd be able to follow jumps and such, but without knowing ASM that wouldn't really help.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|