This adds a new method to ELFObjectFileBase that returns the symbols and addresses of PLT entries.
This design was suggested by pcc and eugenis in https://reviews.llvm.org/D49383.
Differential D50203
Find PLT entries for x86, x86_64, and AArch64 jgalenson on Aug 2 2018, 3:40 PM. Authored by
Details This adds a new method to ELFObjectFileBase that returns the symbols and addresses of PLT entries. This design was suggested by pcc and eugenis in https://reviews.llvm.org/D49383.
Diff Detail
Event TimelineComment Actions I'm not at all familiar with ELF or parsing x86 and ARM, so I'd appreciate feedback on how this works and if there's a way to do it more cleanly (especially the parsing). I'm also not sure how to test this. The two child patches both use the new APIs and have tests for themselves, so perhaps that's good enough?
|