Skip to contentSkip to conversation

Dumping memory of a running process?

DISCUSSION Ian Stirling 2 participants 2 messages Mar 13, 2001

lore
Share & tools
lore
#0 lore raw

Is there a way to dump the memory of any process without stopping, or modifying it?

Obviously normally stopping it would be the right thing to do, but is it possible, and if so, is there a handy tool?

#1 lore raw
Quoted 6 lines

Is there a way to dump the memory of any process without stopping, or modifying it?

Obviously normally stopping it would be the right thing to do, but is it possible, and if so, is there a handy tool?

fork() and raise(SIGABRT) in the child does the trick. Of course this only works if you have access to the source code.

/Mike