Why readelf can't get `vfprintf` symbol address(`00000`)
Opened this issue · 0 comments
Rtoax commented
Why readelf can't get vfprintf
symbol address(00000
)
[rongtao@RT-PC build]$ readelf --sym test --wide | grep printf
33: 0000000000000000 0 FUNC GLOBAL DEFAULT UND snprintf@GLIBC_2.2.5 (3)
55: 0000000000000000 0 FUNC GLOBAL DEFAULT UND fprintf@GLIBC_2.2.5 (3)
89: 0000000000000000 0 FUNC GLOBAL DEFAULT UND vfprintf@GLIBC_2.2.5 (3)
95: 0000000000000000 0 FUNC GLOBAL DEFAULT UND sprintf@GLIBC_2.2.5 (3)
119: 0000000000403220 0 FUNC GLOBAL DEFAULT UND printf@GLIBC_2.2.5 (3)
476: 0000000000403220 0 FUNC GLOBAL DEFAULT UND printf@GLIBC_2.2.5
480: 0000000000000000 0 FUNC GLOBAL DEFAULT UND snprintf@GLIBC_2.2.5
545: 0000000000000000 0 FUNC GLOBAL DEFAULT UND fprintf@GLIBC_2.2.5
656: 0000000000000000 0 FUNC GLOBAL DEFAULT UND vfprintf@GLIBC_2.2.5
673: 0000000000000000 0 FUNC GLOBAL DEFAULT UND sprintf@GLIBC_2.2.5
[rongtao@RT-PC build]$ objdump -d test | grep @plt | grep ^0 | grep printf
0000000000403220 <printf@plt>:
0000000000403230 <snprintf@plt>:
0000000000403390 <fprintf@plt>:
00000000004035c0 <vfprintf@plt>:
0000000000403620 <sprintf@plt>: