Autah-cs.198
net.unix-wizards
utcsrgv!utzoo!decvax!duke!chico!harpo!utah-cs!thomas
Wed Feb 17 18:09:34 1982
Undumping program
I have written a program which takes an a.out file and a core file
created by core dumping that a.out and creates a new executable file
with the text from the a.out and the data from the core.  This means
that a properly written program can be core dumped (after, say,
reading in some large tables) and restarted from the state it was
in when it dumped.  All data on the stack is, of course, lost,
but static data and heap (malloc'ed) data is still there.  Open
files are also lost (here's a use for the sh file descriptor binding!).

On utah-cs and utah-gr, this program is in ~thomas/bin/undump.  I would
be happy to send the source to anybody who wants it (it's not very long,
about 5000 characters).

Spencer Thomas
(thomas@utah-20, harpo!utah-cs!utah-gr!thomas)

-----------------------------------------------------------------
 gopher://quux.org/ conversion by John Goerzen <jgoerzen@complete.org>
 of http://communication.ucsd.edu/A-News/


This Usenet Oldnews Archive
article may be copied and distributed freely, provided:

1. There is no money collected for the text(s) of the articles.

2. The following notice remains appended to each copy:

The Usenet Oldnews Archive: Compilation Copyright (C) 1981, 1996 
 Bruce Jones, Henry Spencer, David Wiseman.