|
Post Number: 1
|
|
Post Number: 2
|
|
Post Number: 3
|
askheaves
Ack!!!
Group: Members
Posts: 1955
Joined: Sep. 2000
|
|
Posted on: Dec. 04 2000,12:30 |
|
|
C++Decompilers do exist out there. I thought I remembered correctly that SoftICE was a decompiler, but apparently it's just a disassembler. So, I can't remember now what application I was using about a year ago, but I definitely saw C code at the very least coming out of an executable... still took a long ass time to decompile, though.
|
|
|
|
Post Number: 4
|
askheaves
Ack!!!
Group: Members
Posts: 1955
Joined: Sep. 2000
|
|
Posted on: Dec. 04 2000,19:19 |
|
|
quote: Originally posted by Der_Teufel: I have seen lots of Java decompilers, but since I don't know Jave it does me no good. I was just interested in seeing how some programs were written in C++.
A C++ Decompiler is typically not going to be real helpful in that respect. Since there are a lot of ways you can write code that boil down to the same assembly after optimizations (ie. rolled out loops, lookup tables, templates, other ickies), you're probably not going to get a very good glimpse at what the original source code was. There are exceptions, mostly in the C rhealm, but C++ is a trickier beast underneighth. Not to mention most programs you would want to try this on (games?) have the most critical routines written in inline assembly and have no real good counterparts in the C++ world. So, for educational purposes involved in learning programming techniques, it's probably not going to be very helpful. If you're curious as to how to hack a program, there is a lot more benefit.
|
|
|
|
Post Number: 5
|
|
Post Number: 6
|
hyperponic
FNG
Group: Members
Posts: 112
Joined: Aug. 2000
|
|
Posted on: Dec. 04 2000,23:14 |
|
|
even if you do manage to decompile C++ code, good luck making any sense out of it. more than likely, you'll end up with a bunch of meaningless crap that will take you forever to sort out. remember, when a program is compiled, comments, variable names, etc are all thrown away. if you want to learn how to code a feature, or how to code for specific platform, you'd have better luck either obtaining source code for an app, or sortin' through docs.
------------------ "It's not peer pressure, its just your turn." - Unknown
|
|
|
|
Post Number: 7
|
|
Post Number: 8
|
Der_Teufel
FNG
Group: Members
Posts: 166
Joined: Nov. 2000
|
|
Posted on: Dec. 05 2000,05:06 |
|
|
I have seen lots of Java decompilers, but since I don't know Jave it does me no good. I was just interested in seeing how some programs were written in C++.
|
|
|
|
Post Number: 9
|
Der_Teufel
FNG
Group: Members
Posts: 166
Joined: Nov. 2000
|
|
Posted on: Dec. 05 2000,16:54 |
|
|
Another reason I wanted to get a decompiler was to see how it decompiles the stuff that I have written.
|
|
|
|
Post Number: 10
|
vandlo
FNG
Group: Members
Posts: 1
Joined: Dec. 2000
|
|
Posted on: Dec. 05 2000,19:36 |
|
|
Hey Der_Teufel, I'm a CS major at Georgia Tech, I'm going to ask one of my professors that I think would know that on Wednesday, I'll post their response that night.
|
|
|
|
|