Understanding how memory contents map into a struct
- by user95592
I am not able to understand how bytes in memory are being mapped into a struct.
My machine is a little-endian x86_64. The code was compiled with gcc 4.7.0 from the Win64 mingw32-64 distribution for Win64.
These are contents of the relevant memory fragment:
...450002cf9fe5000040115a9fc0a8fe...
And this is the struct definition:
typedef struct…