'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



Solution 1:[1]

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

strings mem_7fbf71165000 > strings.txt

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 master00