Skip to content

Comment on What is a core dump and how do you parse one?

Comments

And for your next trick, undump: convert the core file into an executable program which recreates the process in the same state it was originally dumped (nearly).

This was (is?) a step in compiling Emacs. Compile the C code into an uninitialized binary of the Lisp interpreter, start the interpreter, load in a bunch of Lisp code, dump core, then undump the core into /usr/bin/emacs.

And many other Lisps like Franz and AKCL/GCL.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.