View previous topic :: View next topic |
Author |
Message |
Hamed
Joined: 15 Jan 2018 Posts: 2
|
Posted: Thu Jan 18, 2018 12:16 am Post subject: How to decompile a Fortran .exe file? |
|
|
Hi I have fortran executable file which I want to decompile in order to reviiew the code. can any one help how it can be done.[/b][/code] |
|
Back to top |
|
 |
PaulLaidler Site Admin
Joined: 21 Feb 2005 Posts: 8174 Location: Salford, UK
|
Posted: Thu Jan 18, 2018 8:21 am Post subject: |
|
|
If you can understand assembly code then try searching online for "Free Windows Disassemblers". |
|
Back to top |
|
 |
LitusSaxonicum
Joined: 23 Aug 2005 Posts: 2402 Location: Yateley, Hants, UK
|
Posted: Thu Jan 18, 2018 2:09 pm Post subject: |
|
|
You may be able to disassemble it, but you will not be able to restore the original Fortran source code. That means that you can, with a huge effort, find out what it does. It would be easier to read the program's help file!
In any case, even if you have someone's Fortran source code, it can be hard to understand. Even if reverse compilation were possible, you would have lost any comments there were, plus such helpful aids to understanding as indents, blank lines, etc.
If the original compilation was done with debugging options set, you might just find it easier, but if the code was compiled with optimisations, it would be harder - but then they are grades in the 'to all intents impossible' spectrum. |
|
Back to top |
|
 |
wahorger

Joined: 13 Oct 2014 Posts: 1255 Location: Morrison, CO, USA
|
Posted: Thu Jan 18, 2018 3:44 pm Post subject: |
|
|
Also, depending on the software, you may have accepted a usage agreement that you would not attempt to disassemble any of the code. I know that I have that in my User Agreement for my software.
Most other software, including some free software, has this as a condition of download and/or usage. |
|
Back to top |
|
 |
|