Article View: comp.lang.modula2
Article #3031Re: Can a program be un-linked?
From: Daniel P Hudson
Date: Thu, 16 Nov 1995 16:57
Date: Thu, 16 Nov 1995 16:57
32 lines
2144 bytes
2144 bytes
In article <816377951snx@deliah.nemeter.dinoco.DE>, michely@deliah.nemeter.dinoco.DE (Joachim Michely) wrote: > captain@nether.net writes in article <4835cf$pg4@news.cic.net>: > > > > Can a modula-2 program which has been linked to become a dos.exe > > file be returned to its original state (ie plain text) > > I have an exe version of a program which was deleted, I would > > really like to get the text back. I am usingthe Stony Brook Quickmod > Because Modula-2 code is "compiled", ther is no way back. Think of a compiled program as hamburger meat, you can not run it backwards through any machine and have a cow rebuilt. 8-) There are some compilers that permit debug information to be implanted into the executable code which will permit you to view the executable as source code such as Microsoft CodeView when used with their C/C++/BASIC compilers and their codeview debugger. The only way to see if your compiler supports anything like this is to check you manual. However, note this is not something you should leave in your final product, unless you think having people reverse engineer your code is a good thing. If you need to know whether a certain program you have has been compiled with debugging info for this purpose, view it through a binary editer and see if any labels are implanted anywhere. If you can read something that doesn't appear to be string data, chances are the product has debug info in it. Or if you happen to have the MAP/LIST files from the compiler/linker you might be able to use a debugger with these, although I wouldn't bet on it and these usually have the original source code listed somewhere anyway.
Technical Details
Message-ID:
<48fqgv$stq@huron.eel.ufl.edu>Path:
arc1-ca.pugleaf.net!freenet2.freenet.ufl.edu!afn03257References:
<4835cf$pg4@news.cic.net> <816377951snx@deliah.nemeter.dinoco.DE>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!freenet2.freenet.ufl.edu!afn03257 From: afn03257@freenet2.freenet.ufl.edu (Daniel P Hudson) Newsgroups: comp.lang.modula2 Subject: Re: Can a program be un-linked? Date: 16 Nov 1995 16:57:03 GMT Message-ID: <48fqgv$stq@huron.eel.ufl.edu> References: <4835cf$pg4@news.cic.net> <816377951snx@deliah.nemeter.dinoco.DE> NNTP-Posting-Host: freenet2.afn.org X-Newsreader: wsOMR/SOUP v1.00 [NR]