small pixel drawing of a pufferfish j3s.sh

*
Jes Olson j3s@c3f.net
Fri, 20 Oct 2023 20:51:50 -0500
commit

c4517e8484a68c734d2f17c17c5468bfe09f0577

parent

4980709723c51de6e2045c828160b764da14f0ef

1 files changed, 5 insertions(+), 8 deletions(-)

jump to
M thought/recover-lost-text-by-coredumping-firefox.htmlthought/recover-lost-text-by-coredumping-firefox.html

@@ -49,22 +49,19 @@

2. attach gdb to firefox and dump its core sudo gdb -p <pid> + gcore firefox.dump + <this takes awhile> + exit 3. find your lost text in the coredump strings firefox.dump | grep 'phrase-from-your-text' -4. disconnect gbd - - detach # this detach prevents firefox from dying - # when you type "exit" - exit - -5. remove coredump +4. remove coredump rm firefox.dump -and that's it! you recovered your text. +that's it! text recovered. 😎 shoutout to klardotsh[1] for inspiring me to post this.