Skip to content
  1. Jan 18, 2019
  2. Jan 16, 2019
    • Armando Montanez's avatar
      [elfabi] Add support for reading DT_SONAME from binaries · fe7ab3c2
      Armando Montanez authored
      This change gives the llvm-elfabi tool the ability to read DT_SONAME from a binary ELF file into an ELFStub.
      
      Added:
      
       - DynamicEntries struct for storing dynamic entries that are relevant to elfabi.
       - terminatedSubstr() retrieves a null-terminated substring from a StringRef.
       - appendToError() appends a string to an error, allowing more specific error messages.
      
      Differential Revision: https://reviews.llvm.org/D55629
      
      llvm-svn: 351361
      fe7ab3c2
  3. Jan 07, 2019
    • Armando Montanez's avatar
      [elfabi] Add option to manually specify file read format · 488545ef
      Armando Montanez authored
      Although llvm-elfabi will attempt to read input files without needing the format to be manually specified, doing so has the potential to introduce extraneous errors that can hinder debugging (since multiple readers may fail in attempts to read the file). This change allows the input file format to be manually specified to force elfabi to use a single reader. This makes it easier to test and debug errors specific to a given reader.
      
      llvm-svn: 350545
      488545ef
  4. Jan 03, 2019
    • Armando Montanez's avatar
      [elfabi] Introduce tool for ELF TextAPI · 31f0f659
      Armando Montanez authored
      Follow up for 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 enalysis 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.
      
      Differential Revision: https://reviews.llvm.org/D55352
      
      llvm-svn: 350341
      31f0f659
Loading