I have a tool to generate snapshots of my C program as it's running, in the form of corefiles.
Is it possible to bring these corefiles back to life as executable programs? And if so, how do i do it? Are there any libraries that do this already?
I'm working on *nix systems.
Yes it is, in theory.
If your snapshot is a full dump of the whole memory of your program, the stack, the heap, along with the PC, it is possible to put this dump back in memory and launch the process of execution again. But you will have to do this in kernel land I think.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With