forums.silverfrost.com Forum Index forums.silverfrost.com
Welcome to the Silverfrost forums
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

How to decompile a Fortran .exe file?

 
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> General
View previous topic :: View next topic  
Author Message
Hamed



Joined: 15 Jan 2018
Posts: 2

PostPosted: Thu Jan 18, 2018 12:16 am    Post subject: How to decompile a Fortran .exe file? Reply with quote

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
View user's profile Send private message
PaulLaidler
Site Admin


Joined: 21 Feb 2005
Posts: 5441
Location: Salford, UK

PostPosted: Thu Jan 18, 2018 8:21 am    Post subject: Reply with quote

If you can understand assembly code then try searching online for "Free Windows Disassemblers".
Back to top
View user's profile Send private message
LitusSaxonicum



Joined: 23 Aug 2005
Posts: 1814
Location: Yateley, Hants, UK

PostPosted: Thu Jan 18, 2018 2:09 pm    Post subject: Reply with quote

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
View user's profile Send private message
wahorger



Joined: 13 Oct 2014
Posts: 456
Location: Morrison, CO, USA

PostPosted: Thu Jan 18, 2018 3:44 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> General All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group