Generally you have to emulate the code, run through it and see what code that would generate. Please tell us all, if you are going to sell your C++ decompiler, this sounds very interesting.Īn exe2cpp program is - as already said - perhaps theoretically possible but definitely practically impossible.Ī disassembler on the other hand is doable, but to make a good one you need to do a lot of work. Oh, how well does you program work for executables created with VB or Delphi? These are also legal exe files. Perhaps you can compare your attempts of decompiling with these and get some ideas. no decompilers to C or C++ in that league so far, i may have missed something. There are some disassemblers which do a good job there and are considered top of the line tools. and there are different compilers and optimizers making this an even more complicated task. I'd very much like to know, how you get the information about all the possible libraries which can be statically or dynamically linked to an exe file. There are some decompilers available, but they do not do a very good job in creating anything similar to the original C or C++ source. The problem is not converting the functionality to whatever language, but to extract the semantics of the original C program, even harder for C++. How would taking a compiler course in grad school help here? Hmmm, maybe there you got the idea of creating your own "language", because that's what compiler courses are for.
0 Comments
Leave a Reply. |