Memory Dumps
I’ve been looking at memory dumps often lately. Since I usually (always) debug with ‘printf’, I needed a better visual for my memory dumps. I decided to do a simple memory dumper:

And added some features:
- Colored output
- Different data types (hex, decimal, …)
- You can specify different regions with different colors and sub-regions
- Print actual data values
- Array elements alternate between bold and normal styles
- Display cache alignment
Here is a example:
The example above produces the following result:
Here are some other examples:
- ascii

- matrices

- just too much…
