[all-commits] [llvm/llvm-project] 3249bf: [llvm-readobj] - Don't crash when a broken GNU has...

Georgii Rymar via All-commits all-commits at lists.llvm.org
Wed Jun 24 05:56:34 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 3249bfda9678724207803ce675505ffbfa65a372
      https://github.com/llvm/llvm-project/commit/3249bfda9678724207803ce675505ffbfa65a372
  Author: Georgii Rymar <grimar at accesssoftek.com>
  Date:   2020-06-24 (Wed, 24 Jun 2020)

  Changed paths:
    M llvm/test/tools/llvm-readobj/ELF/hash-symbols.test
    M llvm/tools/llvm-readobj/ELFDumper.cpp

  Log Message:
  -----------
  [llvm-readobj] - Don't crash when a broken GNU hash table is dumped with --hash-symbols.

Start using the `checkGNUHashTable` helper which was recently introduced to report
a proper warning when a GNU hash table goes past the end of the file.

Differential revision: https://reviews.llvm.org/D82449




More information about the All-commits mailing list