https://bugs.llvm.org/show_bug.cgi?id=42215
Bug ID: 42215
Summary: [llvm-readobj] - Tool fails to dump the object if
.dynsym has sh_link field set to 0.
Product: tools
Version: trunk
Hardware: PC
OS: Windows NT
Status: NEW
Severity: enhancement
Priority: P
Component: llvm-readobj
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected]
It also applies to any other invalid value of sh_link.
Tool reports:
error: invalid sh_type for string table, expected SHT_STRTAB
and exits
while GNU readelf reports a warning and continues dumping:
Section Headers:
[Nr] Name Type Address Offset
Size EntSize Flags Link Info Align
[ 0] NULL 0000000000000000 00000000
0000000000000000 0000000000000000 0 0 0
readelf: Warning: [ 1]: Link field (1711276134) should index a string section.
[ 1] .dynsym DYNSYM 0000000000000000 00000180
0000000000000002 0000000000000018 A 1711276134 0 0
--
You are receiving this mail because:
You are on the CC list for the bug._______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs