Support Forums
Noobie question :p - Printable Version

+- Support Forums (https://www.supportforums.net)
+-- Forum: Categories (https://www.supportforums.net/forumdisplay.php?fid=87)
+--- Forum: Coding Support Forums (https://www.supportforums.net/forumdisplay.php?fid=18)
+---- Forum: Programming with C++ (https://www.supportforums.net/forumdisplay.php?fid=20)
+---- Thread: Noobie question :p (/showthread.php?tid=16087)

Pages: 1 2


RE: Noobie question :p - Scorch - 02-15-2011

You can reverse engineer it, but you cannot get the source from a compiled C++ program.


RE: Noobie question :p - AceInfinity - 02-15-2011

(02-15-2011, 05:43 PM)Scorch Wrote: You can reverse engineer it, but you cannot get the source from a compiled C++ program.

no, lol you're wrong there unfortunately, however during compiling a C++ program, some of the information gets lost, such as comments within the code, classes, etc.

But you can get certain calls, statements, variables and parameters in source code view. You'll still have to edit part of the code though. But you can get somewhat of a source code out of it.


RE: Noobie question :p - Scorch - 02-16-2011

(02-15-2011, 07:21 PM)Infinity Wrote: no, lol you're wrong there unfortunately, however during compiling a C++ program, some of the information gets lost, such as comments within the code, classes, etc.

But you can get certain calls, statements, variables and parameters in source code view. You'll still have to edit part of the code though. But you can get somewhat of a source code out of it.

You're right about getting some of it. However the amount you can get is far to small to do much with.
Disassembling is possible, but translating asm into C++ will not go well.