[all-commits] [llvm/llvm-project] 893c84: [obj2yaml] - Dump the content of a broken hash tab...

Georgii Rymar via All-commits all-commits at lists.llvm.org
Fri Dec 25 01:06:15 PST 2020


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

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

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

This is similar to D93760.

When something is wrong with the 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/D93799




More information about the All-commits mailing list