This is an archive of the discontinued LLVM Phabricator instance.

[llvm-readelf/llvm-readobj] - Check the version of SHT_GNU_verneed section entries.
ClosedPublic

Authored by grimar on Nov 29 2019, 1:06 AM.

Details

Summary

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.

Diff Detail

Event Timeline

grimar created this revision.Nov 29 2019, 1:06 AM
Herald added a project: Restricted Project. · View Herald TranscriptNov 29 2019, 1:06 AM
This revision is now accepted and ready to land.Nov 29 2019, 1:19 AM
This revision was automatically updated to reflect the committed changes.