extracting source code from exe

This is a discussion on extracting source code from exe within the C++ Programming forums, part of the General Programming Boards category; ifi we have a exe file, of a program.Is there ne way we can extract source code from it?...

  1. #1
    Lord CyKill
    Guest

    extracting source code from exe

    ifi we have a exe file, of a program.Is there ne way we can extract source code from it?

  2. #2
    C++ Developer XSquared's Avatar
    Join Date
    Jun 2002
    Location
    Ontario, Canada
    Posts
    2,718
    No.
    Naturally I didn't feel inspired enough to read all the links for you, since I already slaved away for long hours under a blistering sun pressing the search button after typing four whole words! - Quzah

    You. Fetch me my copy of the Wall Street Journal. You two, fight to the death - Stewie

  3. #3
    Pursuing knowledge confuted's Avatar
    Join Date
    Jun 2002
    Posts
    1,916
    Yes, but it will be in ASM.
    Away.

  4. #4
    Burning in Hell! Luigi's Avatar
    Join Date
    Nov 2002
    Posts
    117
    asm means assembly system machine?

    also is it possible for an human to understand that language or is it simply too hard?

    If yes is there a good place for that?
    Luigi


    // I use Xcode 1.1 && CodeWarrior 8.3
    // When on Mac Os X 10.3.2

    // I use Microsoft Visual C++ 6.0
    // When on windows XP

  5. #5
    C++ Developer XSquared's Avatar
    Join Date
    Jun 2002
    Location
    Ontario, Canada
    Posts
    2,718
    The assembly that a compiler spits out will probably be very hard to understand. Assembly is readable machine language. Instead of writing the program directly in machine language, you write asm commands, which are directly translated into machine language.
    Naturally I didn't feel inspired enough to read all the links for you, since I already slaved away for long hours under a blistering sun pressing the search button after typing four whole words! - Quzah

    You. Fetch me my copy of the Wall Street Journal. You two, fight to the death - Stewie

  6. #6
    Xei
    Xei is offline
    Registered User Xei's Avatar
    Join Date
    May 2002
    Posts
    719
    Yes, and decoding an EXE and trying to figure it out from ASM would take hours upon hours, and be a real $$$$$. There are some applications which try to compare the ASM decoded from the EXE into a language, but they are usually inaccurate, and often don't work.

  7. #7
    ¡Amo fútbol!
    Join Date
    Dec 2001
    Posts
    2,136
    Originally posted by Luigi
    asm means assembly system machine?

    also is it possible for an human to understand that language or is it simply too hard?

    If yes is there a good place for that?
    ASM is definately understandable by humans because that is what it was designed for. It basically gives readable names to all of the computers commands. However, in asm, you literally have to do everything. There is no structure as in high level languages. You have to create your own if blocks and while loops. With small apps like "Hello Worlds" it isn't so bad. However, if looking at something like MS Word... have fun .

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 4
    Last Post: 01-18-2008, 06:05 PM
  2. Lines from Unix's source code have been copied into the heart of Linux????
    By zahid in forum A Brief History of Cprogramming.com
    Replies: 13
    Last Post: 05-19-2003, 03:50 PM
  3. True ASM vs. Fake ASM ????
    By DavidP in forum A Brief History of Cprogramming.com
    Replies: 7
    Last Post: 04-02-2003, 03:28 AM
  4. Exe to source code
    By Morgan in forum C Programming
    Replies: 2
    Last Post: 03-20-2003, 06:54 AM
  5. Interface Question
    By smog890 in forum C Programming
    Replies: 11
    Last Post: 06-03-2002, 05:06 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21