🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: pl.comp.lang.c
Article #309242

need a program that will print a percent of code in tehe exe/dll

#309242
From: (fir)
Date: Sat, 29 Apr 2017 12:46
11 lines
1761 bytes
if you got exe or dll the most important sections are .code .data .const and .bss 

 need a simple console program that show the size of the code 
(in bytes and also in percent) in given .exe .dll [also sieze of consts and initialised data, yet size of static arrays] 

i think it will be simple like less than 100 lines probably 
(maybe even more like 30 or 50) but needs a moment to write 

some pieces? 

(i can vrite it alone but posted this idea and question as i find it good and usefull) 
Technical Details
Message-ID: <624bfa7c-7f80-4bc9-a2cb-7598eab65097@googlegroups.com>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.icm.edu.pl!news.nask.pl!news.nask.org.pl!news.unit0.net!weretis.net!feeder6.news.weretis.net!feeder.usenetexpress.com!feeder1.iad1.usenetexpress.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!c45no518828qtb.1!news-out.google.com!v18ni9ita.0!nntp.google.com!c26no821883itd.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Received: by 10.129.168.130 with SMTP id f124mr7337194ywh.148.1493469988919;        Sat, 29 Apr 2017 05:46:28 -0700 (PDT)
X-Received: by 10.157.4.34 with SMTP id 31mr54969otc.2.1493469988825; Sat, 29 Apr 2017 05:46:28 -0700 (PDT)
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.icm.edu.pl!news.nask.pl!news.nask.org.pl!news.unit0.net!weretis.net!feeder6.news.weretis.net!feeder.usenetexpress.com!feeder1.iad1.usenetexpress.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!c45no518828qtb.1!news-out.google.com!v18ni9ita.0!nntp.google.com!c26no821883itd.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail
Newsgroups: pl.comp.lang.c
Date: Sat, 29 Apr 2017 05:46:28 -0700 (PDT)
Complaints-To: groups-abuse@google.com
Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=5.172.255.253; posting-account=Sb6m8goAAABbWsBL7gouk3bfLsuxwMgN
NNTP-Posting-Host: 5.172.255.253
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <624bfa7c-7f80-4bc9-a2cb-7598eab65097@googlegroups.com>
Subject: need a program that will print a percent of code in tehe exe/dll
From: "(fir)" <profesor.fir@gmail.com>
Injection-Date: Sat, 29 Apr 2017 12:46:28 +0000
Lines: 10
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit