How do people reverse-engineer compiled applications to get the source code?

318 views

I know the long answer to this question would probably be the equivalent of a college course, but can you summarise how tech people do this?

If you open game.exe with a text editor you’re just going to get what looks like a scrambled mess of characters, so how would one convert this into readable source code?

In: 5

12 Answers

Anonymous 0 Comments

computers “think” in binary or energy =1 or no energy =0. the structure of the chip makes it happen that thoses states create certain results. you can compare it to a huge system of floodgates that let water through or not. in reality its a little more complcate. certain results have got certain names to make it understandable for humans. this is called assembler or assembly. everything that happens in your computer happens at this level. it would be realy complicated to write your code in this language (i did it by myself) so some clever guys used those assembly commands to create higher languages that are easier understandable and create results that are oriented more on how humans think. there is one disadvantage, those languages are slower, so if you want the code to run faster, you translate it into assembly and optimize the code by deleting unnecessary code. now to reverseengineer code, you have to act like the scientists in jurrasic park. you take parts of the assembly code and compare it to the assembly code that build a code in a higher language. if you find enough elements of the “assembly-dna” of a certain command , you fill it up with the necessary assembly code and tada, you got another line. now because of the fact that this has to follow certain rules, you can write a program that does this automatically.

You are viewing 1 out of 12 answers, click here to view all answers.