Famous Last Words: You can't decompile a C++ program
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)."
Surely he now understands the English infinitive "to be Slashdotted".
"Molest me not with this pocket calculator stuff."
- Deep Thought
Yeah, but they should know how to decompile the slasdot effect first... another one down. Anybody with a Mirror or Google Cache link ?
This sig can be distributed under the LGPL license
I'm going to use that line.
I would find both your educational background and the dictionary you're using very intresting.
*BBBBRRRRRRTTTT*
Incorrect! Spelling Nazi may have been the answer you're looking for.
Heh. You're assuming that you're attempting to decompile something that had human-understandable source to start with. :)
[b.belong('us') for b in bases if b.owner() == 'you']
Its write hear in my Oxbrige Enlish Dictionairy. What are you on about?
Hell, I'd be happy if the people working for me could consistently compile their c/c++. I need a new job...
We're talking about C++ here, not perl.
Compiled C++ code can't be decompiled into anything approximating the readability of the original; compiled perl code can.
Tarsnap: Online backups for the truly paranoid
I don't know about you but I pee in the shower all the time!!! intrestingh!!!
a/s/l here. Sorry, adding domain tags to your s
I damn well know computers. I have been working with them since 1904, when the Black Man made the first computer out of a peanut. I now work for Cray research making 18 figures.
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.
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.
well, when SGI lays you off this week, you're going to have plenty of time to learn how to create programs in binary, just like your friends.
scott king
Because you're one of the "innovators" at Micro$oft!
Yep; compiled Perl already approximates the readability of the original pretty well anyway. :-p
If you disagree, post your argument. (-1, Overrated) isn't your personal censorship tool for views you don't like.
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.
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.
cout << "member 1: " << local_struct.member1 << endl;
Clearly you haven't tried Domino's.
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!
This reminds me of a statement I saw on /. a long time ago:
Python: Executable Pseudocode
Perl: Executable line-noise
Integrate Keynote and LaTeX
My girlfriend just read that over my shoulder and said "Is that a poem?"
Don't drop the soap, Tommy!