Age | Commit message (Collapse) | Author |
|
Apparently this can happen on some versions of Android. Fixed in Mesa
with commit 70d25cae8b9 ("util/build-id: check dlpi_name before strstr
call").
Closes: https://github.com/mattst88/build-id/issues/5
|
|
Cherry-picked from Mesa commit 02e2009b929a (util/build-id: Fix address
comparison for binaries with LOAD vaddr > 0) by Stephan Gerhold.
|
|
From upstream Mesa commit a042465c218e ("util/build-id: define ElfW and
NT_GNU_BUILD_ID if needed")
|
|
|
|
In preparation for adding a "by_symbol" equivalent.
|
|
|
|
|
|
|
|
|
|
According to Mike Frysinger [1] it is not reliable to read ELF sections
at runtime, which the previous method involving the linker script was
doing.
Instead, use dl_iterate_phdr() to find the build id.
[1] https://sourceware.org/ml/binutils/2016-12/msg00207.html
|
|
|