ELF>H@@ USHHHT$0HHL$8LD$@HH)H$LL$H)z)r)j)b)Z)R)J)BH$H$D$0HD$HD$ HD$HH1H9t1H[]H1@ːH(:1H111!11111 1 1 f(L$L$f(111111AAHAAH11H޼xV411A1111111AA41 f(L$L$f(11H1111111111111A E1E111H$111111X1A 1 1 11H("%s"Constant stringworksFormat specifier s %sFormat specifier s worksworks!!!Format specifier c %cFormat specifier c !Format specifier d %dFormat specifier d 1Format specifier i %iFormat specifier i 1Format specifier u %uFormat specifier u 2Format specifier o %oFormat specifier o 375Format specifier x %xFormat specifier x aFormat specifier X %XFormat specifier X BFormat specifier p %pFormat specifier p 0x5Format specifier f %fFormat specifier f 3.141593Format specifier g %gFormat specifier g 3.1416Flag '-' is ignored <%-4d>Flag '-' is ignored < 1>Flag '0' works <%04d>Flag '0' works <0006>yxabcdef!op`qrstabcdlong long X: %llxlong long X: 123456789abcdef0%s pointer is fine(null) pointer is fineon the dark sidearetheyqwertyuiopHelloHello int, %dHello int, 1Hello int, -1Hello int, %iI am a stringHello string '%s'Hello string 'I am a string'Hello %d hack %dHello 1 hack 4hackHello %uHello 1Hello 4294967295Hex: %lx '%6lx'Hex: 20 ' 41'Hello string %`sHello string `I am a string`TESTHello %05sHello TESTQQQQMy %1$`-.1s testMy `Q` testAAAADDDDMy %2$s test done %1$sMy AAAA test done DDDDCCCCMy %1$s test %2$s, %1$-.3sMy DDDD test CCCC, DDDMy %1$`-.4b testMy QQQQ testMy %1$c testMy X testMy %1$*02$d testMy 00010 testMy %1$`s test %2$s, %1$`-.3sMy `DDDD` test CCCC, `DDD`Format specifier b %.5b (mysql extension)Format specifier b works (mysql extension)Width is ignored for strings <%04s> <%5s>Width is ignored for strings Precision works for strings <%.5s>Precision works for strings Flag '`' (backtick) works: %`s %`.4s (mysql extension)Flag '`' (backtick) works: `abcd` `op``q` (mysql extension)Length modifiers work: %d * %ld * %lld * %zdLength modifiers work: 1 * -1 * 2 * 3Length modifiers work: %i * %li * %lli * %zdPositional arguments work: %3$s %1$s %2$sPositional arguments work: on the dark side they areAsterisk '*' as a width works: <%*d>Asterisk '*' as a width works: < 4>Asterisk '*' as a precision works: <%.*s>Asterisk '*' as a precision works: Positional arguments for a width: <%1$*2$d>Positional arguments for a width: < 4>Positional arguments for a precision: <%1$.*2$s>Positional arguments for a precision: Positional arguments and a width: <%1$06x>Positional arguments and a width: <0000ab>Positional arguments octal: <%1$o>Positional arguments octal: <7777>Padding and %%p <%04p> <%05p> <%08p> <%8p>Padding and %p <0x12> <0x034> <0x0000ab> < 0xcd>F with a width (ignored) and precision: <%10.5f>F with a width (ignored) and precision: <12.34568>G with a width (ignored) and precision: <%10.5g>G with a width (ignored) and precision: <12.35>================================================================Hello hack hack hack hack hack hack hack %dHello hack hack hack hack hack hack hack 1Hello %d hack hack hack hack hack %dHello 1 hack hack hack hack hack 4Hello '%s' hhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhHello 'hack' hhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhHello hhhhhhhhhhhhhh %d sssssssssssssssHello hhhhhhhhhhhhhh 1 sssssssssssssssconn %ld to: '%-.64s' user: '%-.32s' host: '%-.64s' (%-.64s)conn 1 to: '(null)' user: '(null)' host: '(null)' ((null))My <%010d> test1 <%4x> test2 <%4X>My <0000000010> test1 < a> test2 < A>My <%1$010d> test1 <%2$4x> test2 <%2$4x>My <0000000010> test1 < a> test2 < a>JM! @$(@GCC: (GNU) 4.4.7 20120313 (Red Hat 4.4.7-11)zRx (ADO AAD HD0.symtab.strtab.shstrtab.rela.text.data.bss.rodata.str1.1.rodata.str1.8.rodata.cst8.comment.note.GNU-stack.rela.eh_frame @ &,12Y@2h O \00.e^z``u`00 (  0a  $ (5<?FKPUmy_vsnprintf-t.c.LC24.LC71test1bufmy_vsnprintfstrlenokstrcmpmainplandiagexit_status " e         1  J   0% 1 S6 i; G ~L Q ] b g s x }     , B  W m            % * ,/ ; G@ ]E J sQ uV `[ ` e wj o v }    @                # ( - 82 C pH M T ^ c h y  ~ P         H p       8 " p' 5 < AF  P \ a f r w ,|  :   : ,  H V h    P             , 01 X6 B G L X ] b s x }     H    ! & 1  < A R  ^ c h     c    <% * 1 ; @ G \ a (h w X|       c ! >  L