Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Sun, 23 Aug 2020 14:08:31 +0300 (MSK)
From: Alexander Monakov <amonakov@...ras.ru>
To: musl@...ts.openwall.com
Subject: Re: direct coding of asctime_r

On Sun, 23 Aug 2020, Jens Gustedt wrote:

> > Do I understand correctly that this 10k figure is for an "application"
> > that does not use stdio at all otherwise?
> 
> It just uses unformatted IO, namely `puts`.

I see, thanks. Indeed printf-style formatting can pull in a bit above 10KB
on top of what 'puts' alone needs. On x86-64, top 5 new symbols by size are:

357 T vfprintf
464 r states
1823 r errmsg
2384 t printf_core
2930 t fmt_fp

Of those, errmsg would also be pulled in by 'strerror'.

Alexander

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.