lundi 30 octobre 2017

What's the c++11 data structure of this snippet of a memory dump

0x7fde40000d08: 0x91    0x7fde400000f8    
0x7fde40000d18: 0x7fde400000f8  0x7fde40000d28
0x7fde40000d28: 0xb8fcd0 <_ZTVNSt13__future_base11_State_baseE+16>      0x0
0x7fde40000d38: 0x0     0x0
0x7fde40000d48: 0x0     0x0
0x7fde40000d58: 0x0     0x200000001
0x7fde40000d68: 0xffffffffffffffff      0x1
0x7fde40000d78: 0x1     0x7fde40000d38
0x7fde40000d88: 0x100000000     0x200000090

I have a memory dump above (it is a malloc-chunk BTW.). Want to ask if anyone can guess what is the data structure of this. The user data part is from 0x7fde40000d10. But I guess this snippet is from a use-after-free memory, so the first two address is not right.

Aucun commentaire:

Enregistrer un commentaire