Skip to content
Advertisement

Cleanup output from GDB memory dump

We lost a configuration file which we were able to recover some of the data with a gdb memory dump but many important parts of the file are buried in memory noise.

Is there a way to cleanup the dump files?

Example output

enter image description here

Advertisement

Answer

The strings command was able to remove the garbage from the file.

strings mem_7fbf71165000 > strings.txt
User contributions licensed under: CC BY-SA
8 People found this is helpful
Advertisement