Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-03-24 | Always build with -fPIC | Matt Turner | |
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. | |||
2019-04-25 | Add a program using dlopen | Matt Turner | |
2019-04-25 | Add a check target to the Makefile | Matt Turner | |
2017-11-24 | Add build_id_find_nhdr_by_symbol() | Matt Turner | |
2016-12-14 | Use dl_iterate_phdr() instead of a linker script. | Matt Turner | |
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 | |||
2016-12-08 | Initial commit | Matt Turner | |