rtoax 2022-09-29 22:45 采纳率: 0%
浏览 5
已结题

Why readelf can't get `vfprintf` symbol address(`00000`)

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>:
  • 写回答

0条回答 默认 最新

    报告相同问题?

    问题事件

    • 系统已结题 10月7日
    • 创建了问题 9月29日