Let's say I make a std::map in C++, and ADDR is their address in memory. When I look at this place in memory I will find a pointer and in ADDR + 4 will be the amount of elements in the container. Now, when I go to [ADDR], I will find 3 more Pointers, the first points to the left most element of the Tree, the second to the Root of the Tree, and the third to the right most element of the Tree. Now here is my question:
When I make a std::map<int, int>, and and I go to a Node ( let's take the Root for example ),I will have the it->first in the Node+0x10 and it->second in Node+0x14, but I found a Tree in a software which has the it->first in the Node+0xC and it->second in Node+0x10, and I just can't discover which structure this is. Someone here has any idea what this can be?
Example if I make a std::map<std::string, int>:
Here it is the struct I want to identify:
PS: This software is developed in C++.
boost::fusion::map
. Are there twobool
values at+0x14
and+0x15
?