I have a trivial C program below which takes an int as input and dumps the memory layout to the terminal:
# cat foo.c #include #include <