4 ms·
How is it possible to RE a whole videogame? What's the process to go from bits to C++?
by rambojazz 6y ago
How is it possible to RE a whole videogame? What's the process to go from bits to C++?
- deleted 6y ago[deleted]
- CodeArtisan 6y agothe bits are cpu instructions that you can analyze the data flow to revert the instructions into c++ code, either manually or assisted with a decompiler. https://en.wikipedia.org/wiki/Decompiler https://en.wikipedia.org/wiki/Decompiler https://en.wikipedia.org/wiki/Ghidra https://en.wikipedia.org/wiki/Ghidra https://ghidra-sre.org/ https://ghidra-sre.org/
- ThrowawayR2 6y agoYou have a long list of machine language instructions. You know (roughly) what the output of the compiler looks like when translating from source code to machine language for various constructs like functions, if statements, etc. (a compiler course helps here). Some reverse engineering tools provide partial automation for that to assist in this deciphering. After that, it's just a lot of painstaking, grinding work.