Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Sun, 18 Nov 2012 23:59:12 +0100
From: Szabolcs Nagy <nsz@...t70.net>
To: musl@...ts.openwall.com
Subject: Re: debloating data, bss

* Rich Felker <dalias@...ifal.cx> [2012-11-18 16:03:53 -0500]:
> 
>     908     160      12    1080     438 random.o (ex lib/libc.a)
> 
> Unfortunately I think random really does have that much state...
> 

interestingly the data segment has different size here
(i386, gcc-4.4.3, default config):

$ size libc.a |grep random
    841     140      12     993     3e1 random.o (ex libc.a)

and looking into the code it seems there is indeed 140 bytes
of initialized static data (and 12bytes of zero)

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.