Results 1 to 4 of 4

Thread: A Good Decompiler for C++

  1. #1
    Join Date
    May 2009
    Posts
    40

    A Good Decompiler for C++

    Hello,

    I have exe file writen in c++ or c and I want to decompile it, to source code. Does anybody know of a good Objective C decompiler? If so where can I download it?

  2. #2
    Join Date
    Mar 2008
    Posts
    335

    Re: A Good Decompiler for C++

    Decompilers generally give you assembly. I don't think you're going to be turn machine code with ease, this is because all of the C and C++ compilers compile differently. Even if you tried making a decompiler for a specific compiler, you would have to make sure it wasn't linked with any extra lib files or any other 3rd party thing other than source. Disassembly is going to be your only way to go as far as I am concerned.

  3. #3
    Join Date
    May 2008
    Posts
    279

    Re: A Good Decompiler for C++

    What you are trying to do is not the kind of task you learn as an introductory programmer. Just read byte by byte and translate the code asm as per op instructions. you can extract all your formulas and equations if you understand how the processor is operating this assembly language, use a debugger to step through the code. There are plenty of freeware tools to dismantle this, you can use one as a reference to see that you get the same result.

  4. #4
    Join Date
    May 2008
    Posts
    152

    Re: A Good Decompiler for C++

    No, it is not possible to decompile back to C. The best you can do is get the assembly code. You will just have to rewrite it. Just search for disassemblers. Just to let you know though, assembly is much different then the C/C++ high level language.

Similar Threads

  1. Edof cameras are good enough to capture good images
    By Namkar in forum Portable Devices
    Replies: 3
    Last Post: 14-08-2011, 08:30 AM
  2. Replies: 5
    Last Post: 08-02-2011, 08:36 PM
  3. Replies: 4
    Last Post: 24-11-2010, 10:07 PM
  4. Describe .NET decompiler
    By Ivann in forum Software Development
    Replies: 3
    Last Post: 17-11-2009, 05:16 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,713,946,946.06164 seconds with 16 queries