[PATCH] D56031: [elfabi] Add support for reading dynamic symbols from binaries

Armando Montanez via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 18 10:26:52 PST 2019


amontanez updated this revision to Diff 182552.
amontanez edited the summary of this revision.
amontanez added a reviewer: ruiu.
amontanez added a comment.

Now uses DT_HASH and DT_GNU_HASH to determine the size of .dynsym. A number of tests still need to be updated as this change requires that a DT_SYMTAB entry exists in the .dynamic section (which many tests are missing).


Repository:
  rL LLVM

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D56031/new/

https://reviews.llvm.org/D56031

Files:
  llvm/test/tools/llvm-elfabi/Inputs/gnu_hash.so
  llvm/test/tools/llvm-elfabi/Inputs/sysv_hash.so
  llvm/test/tools/llvm-elfabi/binary-read-syms-gnu-hash.test
  llvm/test/tools/llvm-elfabi/binary-read-syms-sysv-hash.test
  llvm/tools/llvm-elfabi/ELFObjHandler.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D56031.182552.patch
Type: text/x-patch
Size: 11508 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190118/f2414497/attachment.bin>


More information about the llvm-commits mailing list