[all-commits] [llvm/llvm-project] b8cb18: [obj2yaml] - Dump the content of a broken GNU hash...

Georgii Rymar via All-commits all-commits at lists.llvm.org
Thu Dec 24 00:27:34 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: b8cb1802a8a2037bd893e038b4eafa61bd5c279e
      https://github.com/llvm/llvm-project/commit/b8cb1802a8a2037bd893e038b4eafa61bd5c279e
  Author: Georgii Rymar <grimar at accesssoftek.com>
  Date:   2020-12-24 (Thu, 24 Dec 2020)

  Changed paths:
    M llvm/test/tools/obj2yaml/ELF/gnu-hash-section.yaml
    M llvm/tools/obj2yaml/elf2yaml.cpp

  Log Message:
  -----------
  [obj2yaml] - Dump the content of a broken GNU hash table properly.

When something is wrong with the GNU hash table header we dump
its context as a raw data.

Currently we have the calculation overflow issue and it is possible to
bypass the validation we have (and crash).

The patch fixes it.

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




More information about the All-commits mailing list