( GNU size ) examples

commandline session

$ 4.2.29 2 502---> ./a.out
found in: htop-0.9
found in: .
$ 4.2.29 3 503---> size a.out
$ 4.2.29 3 503---> size a.out
   text	   data	    bss	    dec	    hex	filename
   2401	    608	     16	   3025	    bd1	a.out
$ 4.2.29 4 504---> man size
$ 4.2.29 5 505---> size --format=SysV a.out
a.out  :
section              size      addr
.interp                28   4194816
.note.ABI-tag          32   4194844
.note.gnu.build-id     36   4194876
.hash                  80   4194912
.gnu.hash              28   4194992
.dynsym               360   4195024
.dynstr               143   4195384
.gnu.version           30   4195528
.gnu.version_r         32   4195560
.rela.dyn              24   4195592
.rela.plt             312   4195616
.init                  24   4195928
.plt                  224   4195952
.text                 776   4196176
.fini                  14   4196952
.rodata                50   4196968
.eh_frame_hdr          44   4197020
.eh_frame             164   4197064
.ctors                 16   6294384
.dtors                 16   6294400
.jcr                    8   6294416
.dynamic              416   6294424
.got                    8   6294840
.got.plt              128   6294848
.data                  16   6294976
.bss                   16   6294992
.comment               57         0
Total                3082


$ 4.2.29 6 506--->

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s