www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - Recovering D1 Code from .obj or .exe files

reply jicman <cabrera_ _wrc.xerox.com> writes:
Greetings!

I need your help, if so at all possible...

I just lost lots of code changes because a computer lock down, but I have a
good .exe file with .obj and also .exe files.  Is there a possibility to grab
the code from those files?  Or, is there any way that I can recover what I did
this weekend?  I have backups as of friday, but I did lots of work this weekend
that I would like to get back.

Any help would be greatly appreciated.

thanks,

josť
Nov 03 2009
next sibling parent BCS <none anon.com> writes:
Hello jicman,

 Greetings!
 
 I need your help, if so at all possible...
 
 I just lost lots of code changes because a computer lock down, but I
 have a good .exe file with .obj and also .exe files.  Is there a
 possibility to grab the code from those files?  Or, is there any way
 that I can recover what I did this weekend?  I have backups as of
 friday, but I did lots of work this weekend that I would like to get
 back.
.obj and .exe files have none of the source code in them you might be able to recover the program as C with some tools but it will be very ugly code and will take longer to clean up then to redo your weekend of work. Besides, if you just redo the work it will be easier the second time.
Nov 03 2009
prev sibling next sibling parent jicman <cabrera_ _wrc.xerox.com> writes:
BCS Wrote:

 Hello jicman,
 
 Greetings!
 
 I need your help, if so at all possible...
 
 I just lost lots of code changes because a computer lock down, but I
 have a good .exe file with .obj and also .exe files.  Is there a
 possibility to grab the code from those files?  Or, is there any way
 that I can recover what I did this weekend?  I have backups as of
 friday, but I did lots of work this weekend that I would like to get
 back.
.obj and .exe files have none of the source code in them you might be able to recover the program as C with some tools but it will be very ugly code and will take longer to clean up then to redo your weekend of work. Besides, if you just redo the work it will be easier the second time.
heh heh heh. :-) I don't want any c code. :-) That is why I am programming in d. Well, I guess I have to go back to the drawing board. I should have COMMITted! When in doubt, commit. thanks.
Nov 03 2009
prev sibling parent mpt <foo bar.com> writes:
jicman wrote:
 Greetings!
=20
 I need your help, if so at all possible...
=20
 I just lost lots of code changes because a computer lock down, but I ha=
ve a good .exe file with .obj and also .exe files. Is there a possibilit= y to grab the code from those files? Or, is there any way that I can rec= over what I did this weekend? I have backups as of friday, but I did lot= s of work this weekend that I would like to get back.
=20
 Any help would be greatly appreciated.
=20
 thanks,
=20
 jos=E9
Some time ago I looked at the binaries produced in linux. Template source code was in plain text in the executable. So if you did meta programming, you might recover those, unless they were somehow stripped.
Nov 04 2009