Decompilers (Not Java)
-
Does anyone know of any decompilers apart from Visual studio out there that I can use to get C++ out of the app I'm decompiling.:confused: :confused: :confused: "The world doesn't care about your self esteem. The world expects you to get something done BEFORE you feel good about yourself." ~ Bill Gates
i don't know for sure, but i doubt it is even possible to build something that could generate C++ from an EXE. C++ is too high-level. you might be able to get C, and probably assembly; but even then, all the variables are going to be named "A", "B", "C"..., "Z74", etc., you would lose all of the "const" stuff, most of the typedefs would be gone, structures would lose meaning, etc.. i think, to generate C++ from an EXE you'd first have to know that the app was written in C++ to begin with, otherwise, a decompiler wouldn't know that this little section of code over here represents an "object". -c ------------------------------ Smaller Animals Software, Inc. http://www.smalleranimals.com
-
Does anyone know of any decompilers apart from Visual studio out there that I can use to get C++ out of the app I'm decompiling.:confused: :confused: :confused: "The world doesn't care about your self esteem. The world expects you to get something done BEFORE you feel good about yourself." ~ Bill Gates
Actually it's not that difficult. Will such code suit your needs? pObj->mov(esi,ebp[0x8]); pObj->mov(edi,ebp[0xc]); pObj->lea(eax,_lc_handle(78040338)); pObj->cmp((DWORD*)eax[0x8],0x0); pObj->mov(bh,0x41); pObj->mov(bl,0x5a); pObj->mov(dh,0x20); pObj->mov(eax,cs.eax); ;P Vagif Abilov COM+/ATL/MFC Developer Oslo, Norway
-
Actually it's not that difficult. Will such code suit your needs? pObj->mov(esi,ebp[0x8]); pObj->mov(edi,ebp[0xc]); pObj->lea(eax,_lc_handle(78040338)); pObj->cmp((DWORD*)eax[0x8],0x0); pObj->mov(bh,0x41); pObj->mov(bl,0x5a); pObj->mov(dh,0x20); pObj->mov(eax,cs.eax); ;P Vagif Abilov COM+/ATL/MFC Developer Oslo, Norway
you're speaking in tongues to me. I just want a decompiler that isn't java that can get me source code for this one app I have that I know was written in C++!:confused: "The world doesn't care about your self esteem. The world expects you to get something done BEFORE you feel good about yourself." ~ Bill Gates
-
you're speaking in tongues to me. I just want a decompiler that isn't java that can get me source code for this one app I have that I know was written in C++!:confused: "The world doesn't care about your self esteem. The world expects you to get something done BEFORE you feel good about yourself." ~ Bill Gates
-
you're speaking in tongues to me. I just want a decompiler that isn't java that can get me source code for this one app I have that I know was written in C++!:confused: "The world doesn't care about your self esteem. The world expects you to get something done BEFORE you feel good about yourself." ~ Bill Gates
If you find it, let me know. It should do C as well. Then we can decompile Windows and start an open source project: OpenWindows. :rolleyes: Jon Sagara Sagara Software
-
If you find it, let me know. It should do C as well. Then we can decompile Windows and start an open source project: OpenWindows. :rolleyes: Jon Sagara Sagara Software
LOL :laugh:
-
Does anyone know of any decompilers apart from Visual studio out there that I can use to get C++ out of the app I'm decompiling.:confused: :confused: :confused: "The world doesn't care about your self esteem. The world expects you to get something done BEFORE you feel good about yourself." ~ Bill Gates
As others have said there's simply no way to get the actual (or even useful) C or C++ source from an executable, but there are powerful tools that can help you disassemble and analyze one. The best tool I've found is: http://home.t-online.de/home/Ollydbg/ There might be expensive commercial tools that are better, but this is free and excellent for user mode programs that you don't have the source for. Plan to learn a little bit of asm first, of course. --CoolDev :cool:
-
As others have said there's simply no way to get the actual (or even useful) C or C++ source from an executable, but there are powerful tools that can help you disassemble and analyze one. The best tool I've found is: http://home.t-online.de/home/Ollydbg/ There might be expensive commercial tools that are better, but this is free and excellent for user mode programs that you don't have the source for. Plan to learn a little bit of asm first, of course. --CoolDev :cool:
-
As others have said there's simply no way to get the actual (or even useful) C or C++ source from an executable, but there are powerful tools that can help you disassemble and analyze one. The best tool I've found is: http://home.t-online.de/home/Ollydbg/ There might be expensive commercial tools that are better, but this is free and excellent for user mode programs that you don't have the source for. Plan to learn a little bit of asm first, of course. --CoolDev :cool:
-
If you find it, let me know. It should do C as well. Then we can decompile Windows and start an open source project: OpenWindows. :rolleyes: Jon Sagara Sagara Software
OpenWindows??? Look at www.reactos.com. Hmmm!!!!:rolleyes: :laugh: :eek: