You can't.
You can use a decompiler to take it back to assembler... and you may get one that will make an attempt to take it back to c++, but it will have no idea what names to use for pointers etc. And it won't de-optimise it for readability.
Oh, and it's reverse engineering which is against the terms of the license for the software and may well be illegal.
How can i convert code in hex or binary into c++ code?
It's really not possible. A single instruction in C++ can be up to 8 or more assembler instructions. There is no one way to decompile, most tools that attempt to do so do not produce nice code. It has no idea what variable names are either, so reading the code is a nightmare.
Reply:completely rewrite it.
Possibly.. use a decompiler.
C++ compiles into binary.
Programming languages just make it so you don't have to write your programs as a string of 1's and 0's. The computer only knows 1 and 0. Everything else is built from that.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment