You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
The latest version of LIEF doesn't seem to support .relr.dyn (an array of relocation entries that encode relative relocations that do not require explicit addends or other information), which seems to be a relatively new feature that enables to reduce file sizes.
I think I'm struggling with the same issue. On the attached binaries, lief gives the correct output for an x86 version, while giving empty values for x64 / arm64 versions: libs.zip
Describe the bug
The latest version of LIEF doesn't seem to support
.relr.dyn
(an array of relocation entries that encode relative relocations that do not require explicit addends or other information), which seems to be a relatively new feature that enables to reduce file sizes.To Reproduce
librt.so.1.zip
Expected behavior
The readelf on ubuntu22 shows:
The addresses are the entries in
.init_array
andfini_array
, and the first entry of the section.data
, respectively.The LIEF version 0.14.1 fails to provide relocation information for those entries.
Environment (please complete the following information):
Additional context
https://maskray.me/blog/2021-10-31-relative-relocations-and-relr
The text was updated successfully, but these errors were encountered: