From: Kfir Lavi <lavi.kfir@gmail.com>
To: gentoo-embedded@lists.gentoo.org, gentoo-hardened@lists.gentoo.org
Subject: [gentoo-embedded] Tool for eliminating non used code or symbols?
Date: Mon, 25 Mar 2013 09:01:51 +0200 [thread overview]
Message-ID: <CAHNvW1+TnJOK=AO6DnU0ueEMpOYt+n2YKQ9x3VNSnF0OwsiRVg@mail.gmail.com> (raw)
Hi,
I'm looking for a way to reduce glibc code size.
It can be a way to make system smaller and minimize the impact
of attack vectors in glibc, as in return-to-libc attack.
Lets say I'm deleting the program 'mkdir', and mkdir uses a function
in glibc that non of the other parts of the system uses.
Then I want to eliminate this function from glibc. This leads to smaller
code and if this function is used in some attack scenario, maybe prevent it.
Is there a way to do it?
Can you help me think how to build a tool like this? or, integrate
with existing tools.
Thanks,
Kfir
next reply other threads:[~2013-03-25 7:02 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-03-25 7:01 Kfir Lavi [this message]
2013-03-30 1:09 ` [gentoo-embedded] Tool for eliminating non used code or symbols? Markos Chandras
2013-04-14 13:07 ` Kfir Lavi
2013-04-26 20:03 ` Mike Frysinger
2013-04-29 3:58 ` Kfir Lavi
2013-05-27 13:09 ` Bertrand Jacquin
2013-05-31 18:10 ` Christopher Friedt
2013-05-31 18:11 ` Christopher Friedt
2013-06-22 0:23 ` Mike Frysinger
2013-06-22 10:05 ` Anthony G. Basile
2013-06-25 17:44 ` Christopher Friedt
2013-06-30 12:01 ` Kfir Lavi
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAHNvW1+TnJOK=AO6DnU0ueEMpOYt+n2YKQ9x3VNSnF0OwsiRVg@mail.gmail.com' \
--to=lavi.kfir@gmail.com \
--cc=gentoo-embedded@lists.gentoo.org \
--cc=gentoo-hardened@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox