[all-commits] [llvm/llvm-project] f38f06: [llvm-readelf] - Do not crash when dumping the dyn...

Georgii Rymar via All-commits all-commits at lists.llvm.org
Mon Jun 22 05:42:21 PDT 2020


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

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

  Log Message:
  -----------
  [llvm-readelf] - Do not crash when dumping the dynamic symbol table when its sh_entzize == 0.

We have a division by zero crash currently when
the sh_entzize of the dynamic symbol table is 0.

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




More information about the All-commits mailing list