about summary refs log tree commit diff
path: root/VERSION
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2015-10-15 22:51:56 -0400
committerRich Felker <dalias@aerifal.cx>2015-10-15 22:51:56 -0400
commitbde0b4b92e2c3f8d26d28e8478f196233ce51618 (patch)
tree8ed82eb56e52190a1dddae326a6d0b0ffed0e75b /VERSION
parentbc9b6ea0df6a820878d9ac538b2b852fec367d41 (diff)
downloadmusl-bde0b4b92e2c3f8d26d28e8478f196233ce51618.tar.gz
musl-bde0b4b92e2c3f8d26d28e8478f196233ce51618.tar.xz
musl-bde0b4b92e2c3f8d26d28e8478f196233ce51618.zip
fix dladdr treatment of function descriptors for fdpic
when determining which module an address belongs to, all function
descriptor ranges must be checked first, in case the allocated memory
falls inside another module's memory range.

dladdr itself must also check addresses against function descriptors
before doing a best-match search against the symbol table. even when
doing the latter (e.g. for code addresses obtained from mcontext_t),
also check whether the best-match was a function, and if so, replace
the result with a function descriptor address. which is the nominal
"base address" of the function and which the caller needs if it
intends to subsequently call the matching function.
Diffstat (limited to 'VERSION')
0 files changed, 0 insertions, 0 deletions