diff options
author | Rich Felker <dalias@aerifal.cx> | 2018-06-28 11:51:43 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2018-06-28 12:05:23 -0400 |
commit | c8b49b2fbc7faa8bf065220f11963d76c8a2eb93 (patch) | |
tree | 025af00a9ee6e135c58733602f594616c3e807bc /tools/add-cfi.i386.awk | |
parent | 8b8fb7f03721c42445f982582f462144ab60a1a0 (diff) | |
download | musl-c8b49b2fbc7faa8bf065220f11963d76c8a2eb93.tar.gz |
fix symtab-order-dependent spurious matches in dladdr
commit 8b8fb7f03721c42445f982582f462144ab60a1a0 added logic to prevent
matching a symbol with no recorded size (closest-match) when there is
an intervening symbol whose size was recorded, but it only worked when
the intervening symbol was encountered later in the search.
instead of rejecting symbols where addr falls outside their recorded
size during the closest-match search, accept them to find the true
closest-match, then reject such a result only once the search has
finished.
Diffstat (limited to 'tools/add-cfi.i386.awk')
0 files changed, 0 insertions, 0 deletions