Add configure --disable-textrelcheck option to enable CC=afl-fuzz on 32bit.
authorMark Wielaard <mjw@redhat.com>
Thu, 27 Nov 2014 22:53:30 +0000 (23:53 +0100)
committerMark Wielaard <mjw@redhat.com>
Thu, 4 Dec 2014 13:38:18 +0000 (14:38 +0100)
commit805ec833c17b01e1791162227ab0b4119ffe1eb0
tree49b51144788da2c08bd393cbb82335bdd6d0af38
parent12ab700282dd66d5d2144e13611011426091f260
Add configure --disable-textrelcheck option to enable CC=afl-fuzz on 32bit.

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=afl-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.

Signed-off-by: Mark Wielaard <mjw@redhat.com>
ChangeLog
config/ChangeLog
config/eu.am
configure.ac
libasm/ChangeLog
libasm/Makefile.am
libdw/ChangeLog
libdw/Makefile.am
libelf/ChangeLog
libelf/Makefile.am