[all-commits] [llvm/llvm-project] 7eecf2: [llvm-readelf/llvm-readobj] - Check the version of...

Georgii Rymar via All-commits all-commits at lists.llvm.org
Mon Dec 2 01:57:43 PST 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 7eecf2b872e506927f59b6a1f4a8546d8baaa700
      https://github.com/llvm/llvm-project/commit/7eecf2b872e506927f59b6a1f4a8546d8baaa700
  Author: Georgii Rymar <grimar at accesssoftek.com>
  Date:   2019-12-02 (Mon, 02 Dec 2019)

  Changed paths:
    M llvm/test/tools/llvm-readobj/elf-verneed-invalid.test
    M llvm/tools/llvm-readobj/ELFDumper.cpp

  Log Message:
  -----------
  [llvm-readelf/llvm-readobj] - Check the version of SHT_GNU_verneed section entries.

It is a follow-up for D70826 and it is similar to D70810.

SHT_GNU_verneed contains the following fields:
`vn_version`: Version of structure. This value is currently set to 1, and will be reset
if the versioning implementation is incompatibly altered.
(https://refspecs.linuxfoundation.org/LSB_5.0.0/LSB-Core-generic/LSB-Core-generic/symversion.html)

We should check it for correctness.

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




More information about the All-commits mailing list