Famous Last Words: You can't decompile a C++ program 479
The Great Jack Schitt writes "I've always heard that you couldn't decompile a program written with C++. This article describes how to do it. It's a bit lengthy and it doesn't seem like the author usually writes in English, but it might just work (haven't tried it, but will when I have time)."
Oop (Score:5, Funny)
Surely he now understands the English infinitive "to be Slashdotted".
Decompile this! SlashDot Effect! (Score:2, Funny)
Re:You can't (Score:5, Funny)
I'm going to use that line.
Re:Intresting (Score:1, Funny)
I would find both your educational background and the dictionary you're using very intresting.
Re:Intresting (Score:3, Funny)
Incorrect! Spelling Nazi may have been the answer you're looking for.
Re:You can't (Score:5, Funny)
Re:Intresting (Score:2, Funny)
Its write hear in my Oxbrige Enlish Dictionairy. What are you on about?
let's get back to basics (Score:5, Funny)
Re:You can't (Score:5, Funny)
Compiled C++ code can't be decompiled into anything approximating the readability of the original; compiled perl code can.
Re:Intresting (Score:0, Funny)
You're right, that is nonsense. (Score:5, Funny)
I can scratch a superscalar CPU out of silicon with a pocket knife. I even have friends who can write major programs in binary code (yes, just 1s and 0s)... even though writing a simple "hello world" program can ammount to 92,752 bits. I fail to realize that this ability does not a good computer scientist make. Things like intelligent design and research make a CS good.
The parent post is fluff. It's stupid, the man is flamboyant and exagerating. He clearly has no real education of computer engineering and does not recognize that any executable code can be reverse-engineered or decompiled. Especially since every langage (save interpreted languages like Java) are compiled to machine code -- specific, unambiguous, structured code. "Decompiling" this is only really a matter of translating it into your langauge of choice.
So, Mr. Proud American, please get off your imaginary high horse. You're not fooling anyone.
Mirror!!! (Score:1, Funny)
Here's the text from the original article:
1. Make a copy of the program you want to decomplie. Let's assume it's PROG.EXE. Copy it to PROGBACK.EXE.
2. Copy PROGBACK.EXE to a DOS PC if you're not using one.
3. Type EDIT PROGBACK.EXE from C:\ (or where ever you copied it to).
4. Enjoy the source code! You can print it out or change it or just look at it.
5. If you change it, use FILE SAVE.
Re:This is nonsense (Score:2, Funny)
Anyone want to decompile SCO? (Score:5, Funny)
Re:Why (Score:1, Funny)
Re:Anyone want to decompile SCO? (Score:1, Funny)
Re:You can't (Score:3, Funny)
Yep; compiled Perl already approximates the readability of the original pretty well anyway. :-p
I couldn't help it (Score:5, Funny)
Cypher: Well you have to. The compilers work for the construct program. But there's way too much information to decode the Matrix. You get used to it. I...I don't even see the code. All I see is an array, function pointer, integer. Hey, you uh... want a drink?
Neo: Sure.
Cypher: You know, I know what you're thinking, because right now I'm thinking the same thing. Actually, I've been thinking it ever since I got here. Why, oh why didn't I sell my VA Linux stock?... Good shit, huh? Cowboy Neal makes it. It's good for two things, degreasing Perl code and killing brain cells.
Re:Decompiling to C++ is like... (Score:3, Funny)
Calling yourself Mr. Metaphor is like using metaphor instead of analogy, which, in your case, is as incorrect as a cow marking its territory with cow pies and instituting an elaborate cow-tipping territory defense program.
Re:Is This Really C++ (Score:2, Funny)
cout << "member 1: " << local_struct.member1 << endl;
Re:You can't (Score:5, Funny)
Clearly you haven't tried Domino's.
Re:You can't (Score:4, Funny)
Here's how:
Flush shit down toilet -> let shit mellow at sewage plant -> strain shit residue out of bottom of sewage vat -> haul to field -> spread on grass -> grass grows -> cow eats grass -> pull cow's udder, direct milk into bucket -> ferment milk to cheese -> shred cheese -> spread on dough -> Pizza!
Re:You can't (Score:4, Funny)
Python: Executable Pseudocode
Perl: Executable line-noise
Re:sure you can go from asm - c++ (Score:4, Funny)