[PATCH] D55352: [elfabi] Introduce tool for ELF TextAPI

Armando Montanez via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 5 20:32:27 PST 2018


amontanez created this revision.
amontanez added reviewers: jakehehrlich, phosek, ruiu, echristo, jhenderson, mcgrathr.
Herald added subscribers: llvm-commits, mgorny.

Follow up for D53051 <https://reviews.llvm.org/D53051>

This patch introduces the tool associated with the ELF implementation of TextAPI (previously llvm-tapi, renamed for better distinction). This tool will house a number of features related to analysis and manipulation of shared object's exposed interfaces. The first major feature for this tool is support for producing binary stubs that are useful for compile-time linking of shared objects. This patch introduces beginnings of support for reading binary ELF objects to work towards that goal.

Added:

- elfabi tool.
- Support for reading architecture from a binary ELF file into an ELFStub.
- Support for writing .tbe files.


Repository:
  rL LLVM

https://reviews.llvm.org/D55352

Files:
  llvm/test/CMakeLists.txt
  llvm/test/tools/llvm-elfabi/binary-read-arch.test
  llvm/test/tools/llvm-elfabi/replace-soname-tbe.test
  llvm/test/tools/llvm-elfabi/tbe-read-basic.test
  llvm/tools/LLVMBuild.txt
  llvm/tools/llvm-elfabi/CMakeLists.txt
  llvm/tools/llvm-elfabi/ELFObjHandler.cpp
  llvm/tools/llvm-elfabi/ELFObjHandler.h
  llvm/tools/llvm-elfabi/LLVMBuild.txt
  llvm/tools/llvm-elfabi/llvm-elfabi.cpp
  llvm/tools/llvm-elfabi/llvm-elfabi.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D55352.176915.patch
Type: text/x-patch
Size: 14807 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20181206/d0b2c1ca/attachment.bin>


More information about the llvm-commits mailing list