is printf in the LIBC library?

Source: Internet
Author: User

LIBC There are a lot of functions, using NM to see a bit, there is even reboot function, Khan!

Using grep, you can see that various printf are also here on the head.

Objdump is to see the address of the function corresponds to the function name, although it can also prove that printf in the libc, but it feels a little bit small to use.

Use Objdump, more than nm out some information, it seems that NM can also be the address of the function to print out, hehe.

[Email protected] lib]$nm libc-2.3.2.so |grep printf
000e9210 T __argp_fmtstream_printf
00052040 W asprintf
00052040 T __asprintf
00052040 T __asprintf_internal
0004bf80 T buffered_vfprintf
00055FF0 T buffered_vfprintf
U[email protected]@GLIBC_PRIVATE
00052080 T dprintf
00051F50 T fprintf
00065EA0 W fwprintf
00065EA0 T __fwprintf
00052080 T __gi_dprintf
00051F50 T __gi_fprintf
0004c820 T __GI___PRINTF_FP
00052000 T __gi_sprintf
00047690 T __gi_vfprintf
00051F50 W _io_fprintf
0006a2d0 T _i O_o bstack_printf
0006a1c0 T _i O_o bstack_vprintf
00051f80 T _io_printf
00052000 T _io_sprintf
00069DC0 T _io_vasprintf
00069F30 T _io_vdprintf
00047690 T _io_vfprintf
00047690 T _io_vfprintf_internal
000520C0 T _io_vfwprintf
0006a050 T _io_vsnprintf
00064AA0 T _io_vsprintf
00064AA0 T _io_vsprintf_internal
00066070 T _io_vswprintf
0006a2d0 W obstack_printf
0006A1C0 W obstack_vprintf
0004f160 T Parse_printf_format
00051F80 T printf
001364c8 b __printf_arginfo_table
0004c820 T __PRINTF_FP
0004fcd0 T __printf_fphex
00138C20 b __printf_function_table
00051660 T Printf_size
00051f20 T Printf_size_info
0004BAF0 T Printf_unknown
00055B10 T Printf_unknown
0004f0d0 T __register_printf_function
0004f0d0 W register_printf_function
00051FC0 W snprintf
00051FC0 T __snprintf
00052000 T sprintf
00065ee0 T swprintf
00069DC0 W vasprintf
00069F30 W vdprintf
00047690 T vfprintf
000520C0 W vfwprintf
000520C0 T __vfwprintf
0004c7e0 T vprintf
0006a050 W vsnprintf
0006a050 W __vsnprintf
00064AA0 W vsprintf
00066070 W vswprintf
00066070 T __vswprintf
00065f20 T vwprintf
00065f60 T wprintf

---------------------Csdnxw Source: CSDN Original: 1639640?utm_source=copy copyright notice: This article for Bo Master original article, reprint please attach blog link!

The above mentioned two tools, have time to understand, one is nm, and the other is

Objdump

is printf in the LIBC library?

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.