Advertise on Bikeforums.net



User Tag List

Results 1 to 10 of 10
  1. #1
    '05 NUEser EJ123's Avatar
    Join Date
    Aug 2005
    Posts
    3,374
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Is this possible computery people?

    So I have an exe program I downloaded off a site. Is there a way I can view the codes that it took to build that program?

  2. #2
    Senior Member jaxgtr's Avatar
    Join Date
    Jul 2006
    Location
    Jacksonville, FL
    My Bikes
    Cannondale SuperSix, Raliegh Record Ace, Trek 7300
    Posts
    3,834
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Yes, but you need a hack program to do it or you can use TransmitFile()
    Brian | 2013 Cannondale SuperSix 5 | 2003 Trek 7300 | 2011 Raleigh Record Ace - Steel is real
    Quote Originally Posted by AEO View Post
    you should learn to embrace change, and mock it's failings every step of the way.

  3. #3
    Senior Mumbler steve2k's Avatar
    Join Date
    Jan 2007
    Location
    England
    My Bikes
    Giant Boldershock (2000), Ridgeback Voyage (2010)
    Posts
    419
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    This isn't easy, and probably not worth trying unless you are a super geek.

    Compiling an EXE first converts the source code (optimised for people to understand) into assembly code (optimised for computers to understand), then it turns it into the EXE.

    You can sometimes get from the EXE back to the assembly code, but getting back to the source isn't easy. If you can understand assembly language then there's a chance, but I suspect it'd be quicker to program the whole thing again from scratch.

  4. #4
    cab horn
    Join Date
    Jun 2004
    Location
    Toronto
    My Bikes
    1987 Bianchi Campione
    Posts
    28,298
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by steve2k View Post
    You can sometimes get from the EXE back to the assembly code, but getting back to the source isn't easy. If you can understand assembly language then there's a chance, but I suspect it'd be quicker to program the whole thing again from scratch.
    You can't really say this with certainty unless you know WHAT exe he was talking about. If it was a "hello world" application it'd be easy to start from scratch. But if not the, well we'll just have to see.

    Depdending on what language the program was originally written in, there are decompilers out there - but you won't get the exact source code they use AND most importantly for any substantial program, no comments to go with it.

    I don't want to make assumptions but from how the OP is describin this problem, but it sounds like it's going to be way over your head.

    Quote Originally Posted by jaxgtr View Post
    Yes, but you need a hack program to do it or you can use TransmitFile()
    This is a bunch of nonsense.
    Last edited by operator; 02-12-08 at 06:10 AM.
    Mes compaingnons cui j'amoie et cui j'aim,... Me di, chanson.

  5. #5
    POWERCRANK addict markhr's Avatar
    Join Date
    Mar 2005
    Location
    North Acton, West London, UK
    Posts
    3,783
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Possibly try and find code that does something similar, i.e., not the same code but a similar end result.

    http://code.google.com/
    shameless POWERCRANK plug
    Recommended reading for all cyclists - Cyclecraft - Effective Cycling
    Condor Cycles - quite possibly the best bike shop in London
    Don't run red lights, wear a helmet, use hand signals, get some cycle lights(front and rear) and, FFS, don't run red lights!

  6. #6
    Senior Member DannoXYZ's Avatar
    Join Date
    Jul 2005
    Location
    Saratoga, CA
    Posts
    11,496
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You can disassemble code with IdaPro. Took me about 2-years to decode 8k of code in the Motronics boxes.

  7. #7
    Wood Licker Maelstrom's Avatar
    Join Date
    Apr 2002
    Location
    Whistler,BC
    My Bikes
    Transition Dirtbag, Kona Roast 2002 and specialized BMX
    Posts
    16,889
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    If it is open source, maybe just ask for the source?

  8. #8
    Banned Indy_Rider's Avatar
    Join Date
    Dec 2004
    Location
    On a boat
    My Bikes
    2000 Fisher Paragon, 2005 Giant OCR2, 2006 Bianchi SASS, numerous others
    Posts
    56
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Maelstrom View Post
    If it is open source, maybe just ask for the source?
    And if it isn't, maybe you shouldn't be trying to steal someones hard work and intellectual property.

  9. #9
    On my TARDIScycle! KingTermite's Avatar
    Join Date
    Jun 2005
    Location
    Eastside Seattlite Termite Mound
    My Bikes
    Trek 520, Trek Navigator 300, Peugeot Versailles PE10DE
    Posts
    3,928
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by EJ123 View Post
    So I have an exe program I downloaded off a site. Is there a way I can view the codes that it took to build that program?
    Forget it EJ. It's barely possible, but quite frankly, not at your programming skill level.

    You would need to decompile a program and view that.

    Explanation: When you compile a program, the compiler takes your variable names and gives them very generic names like var1, var2 no matter what data type. Then it takes your instructions and breaks them down into much, much simpler instructions so that the code is 10x longer. Then it finds ways to some things that could be done more efficiently so it changes parts of the programs. Then it finds other things that you linked to (yes, you are linking to something any time you use a standard function) and puts that code in as well doing the same above process.

    By the time you see the results even a seasoned programmer would barely recognize it from what "he/she wrote".


    You are better off finding a program (like much GNU and Opensource) that offers the source code to you.
    Quote Originally Posted by coffeecake View Post
    - it's pretty well established that Hitler was an *******.

  10. #10
    Wood Licker Maelstrom's Avatar
    Join Date
    Apr 2002
    Location
    Whistler,BC
    My Bikes
    Transition Dirtbag, Kona Roast 2002 and specialized BMX
    Posts
    16,889
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Indy_Rider View Post
    And if it isn't, maybe you shouldn't be trying to steal someones hard work and intellectual property.
    Thats what i meant to say haha...

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •