give up learning C++?

Started by
20 comments, last by jpetrie 15 years, 3 months ago
Quote:
Any actual links which prove this statement? AFAIR compiled C++ code is rather easy to decompile if you aren't using some kind of obfuscator tool.

Quote:
Huh? Difficult to decompile? Every language is equally difficult to compile; you just need to know the assembly equivalent for standard assignments and statements in whatever language that you use. Decompiling is the same regardless of what language was used to write the program, and any program can be decompiled into any other language. You just gotta do the work.

I suspect he meant to translate back from the compiled executable to C++. It's trivial to translate to assembly, for example. Getting back into actual C++ is harder, and getting something that resembles meaningful C++ is almost impossible. There's so much contextual and semantic information that lost in the compilation process for C++ -- it's an extremely destructive transformation.

Just because you can turn a random executable into technically-legal C++ doesn't mean that C++ is in any way more readable or useful (in, say, the hands of somebody doing some kind of evil reverse-engineering work) than the far-easier-to-obtain assembly.

Certainly there's been some research into this area, but the results are pretty lackluster.

Advertisement

This topic is closed to new replies.

Advertisement