[all-commits] [llvm/llvm-project] 7c2635: [llvm-objdump] Rework .gnu.version_d dumping
Fangrui Song via All-commits
all-commits at lists.llvm.org
Fri Feb 28 09:39:10 PST 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 7c26356703f02eb72ab6a39d89cb507dceef5164
https://github.com/llvm/llvm-project/commit/7c26356703f02eb72ab6a39d89cb507dceef5164
Author: Fangrui Song <i at maskray.me>
Date: 2025-02-28 (Fri, 28 Feb 2025)
Changed paths:
M llvm/include/llvm/Object/ELF.h
M llvm/test/tools/llvm-objdump/ELF/private-headers.test
A llvm/test/tools/llvm-objdump/ELF/verdef-invalid.test
M llvm/test/tools/llvm-objdump/ELF/verdef.test
M llvm/test/tools/llvm-readobj/ELF/verdef-invalid.test
M llvm/tools/llvm-objdump/ELFDump.cpp
M llvm/tools/llvm-objdump/llvm-objdump.cpp
M llvm/tools/llvm-objdump/llvm-objdump.h
M llvm/tools/llvm-readobj/ELFDumper.cpp
Log Message:
-----------
[llvm-objdump] Rework .gnu.version_d dumping
and fix crash when vd_aux is invalid (#86611).
vd_version, vd_flags, vd_ndx, and vd_cnt in Elf{32,64}_Verdef are
16-bit. Change VerDef to use uint16_t instead.
vda_name specifies a NUL-terminated string. Update getVersionDefinitions
to remove some `.c_str()`.
Pull Request: https://github.com/llvm/llvm-project/pull/128434
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list