Jordan Gordeev wrote:
> On FreeBSD, when we iterate over the list, we get a list of tags that
> is a prefix of the tags of the main executable.
> The tags on the main executable:
> 1 1 1 15 12 13 4 5 6 10 11 21 20 23 17 18 19 0x6ffffffe 0x6fffffff
> 0x6ffffff0
> What we get:
> 1 1 1 15 12 13 4 5 6 10 11 21
Oh, it's obvious why on FreeBSD we get only a prefix of the list. The
search simply stops when we find a DT_DEBUG entry (code 21).
So, all the focus should be on what _DYNAMIC should point to.