From mboxrd@z Thu Jan 1 00:00:00 1970 Content-Type: multipart/mixed; boundary="===============1439963117842883224==" MIME-Version: 1.0 From: Mark Wielaard To: elfutils-devel@lists.fedorahosted.org Subject: Re: [PATCH] Add configure --disable-textrelcheck option to enable CC=afl-fuzz on 32bit. Date: Thu, 04 Dec 2014 14:40:55 +0100 Message-ID: <1417700455.18974.14.camel@bordewijk.wildebeest.org> In-Reply-To: 1417129682-29070-1-git-send-email-mjw@redhat.com --===============1439963117842883224== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable On Fri, 2014-11-28 at 00:08 +0100, Mark Wielaard wrote: > Using american fuzzy lop has found a lot of issues. It would be nice to > make using it a bit easier. Our build files make sure that no shared > library uses text relocations, but afl-gcc will insert some on i686. > http://www.akkadia.org/drepper/textrelocs.html > = > Now CC=3Dafl-gcc ./configure --disable-textrelcheck will allow them so > that afl can instrument the libraries. > = > Don't try to use or install them except with afl-fuzz. When selinux is > enabled it might prevent loading the libraries with DT_TEXTREL set. I pushed this to elfutils git master now. Running on 32bit x86 Fedora has discovered some more crashers. I am currently analyzing and will post patches soon. Thanks, Mark --===============1439963117842883224==--