Age | Commit message (Collapse) | Author |
|
On systems where /bin/sh is dash, this would lead to empty *.expected
and *.results files and thus make check would always succeed.
Closes: #1
|
|
The dladdr(3) explains that dladdr often doesn't do what you expect
because the function pointer will point to the PLT entry in the original
object and not the actual function itself.
|
|
|
|
|
|
|
|
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
|
|
|