summaryrefslogtreecommitdiff
path: root/build-id.h
AgeCommit message (Collapse)Author
2017-11-24Add build_id_find_nhdr_by_symbol()Matt Turner
2017-11-24Add "by_name" to function nameMatt Turner
In preparation for adding a "by_symbol" equivalent.
2017-11-24Rename "note" to "build_id_note" to avoid potential collisionsMatt Turner
2017-11-24Change API to match upstream MesaMatt Turner
2017-02-14Remove unused headers.Matt Turner
2016-12-14Use 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-08Initial commitMatt Turner