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
Loading