135 Commits

Author SHA1 Message Date
Raphaël Hertzog
c0fd7ba6d1 Pass CPPFLAGS to all calls of the C compiler
This variable is a standard way to inject options for the C
preprocessor. It's respected by the implicit rules of make
and autoconf/automake.

Debian sets this variable during package build to inject
`-D_FORTIFY_SOURCE=2` and we would like afl++ to respect it.

Note that this commit also adds $(CFLAGS) in the build of
afl-performance.o where it was missing. It might have been
on purpose but we want to keep CFLAGS everywhere as well
since Debian injects various options through that variable
(for hardening and reproducibility).
2020-08-28 21:55:52 +02:00
Raphaël Hertzog
b0b2a15891 Improve the generated manual page to be compatible with whatis
And generate the manual page for afl-g++ too.
2020-08-28 21:34:36 +02:00
Raphaël Hertzog
ff3c9cbd73 Fix installation path of manual pages
Manual pages are stored in /usr/share/man/.
2020-08-28 21:34:08 +02:00
van Hauser
c7f0d30668 added afl_custom_fuzz_count 2020-08-24 17:32:41 +02:00
van Hauser
9532499ef5 install libafldrivers 2020-08-16 14:14:24 +02:00
root
af14acf2c1 Revert "Merge branch 'debug' into dev"
This reverts commit a7537b5511ad767d2240cf2dc6d3e261daa676f9, reversing
changes made to 15e799f7ae666418e75c6a79db833c5316b21f97.
2020-08-14 14:35:05 +02:00
van Hauser
a7537b5511
Merge branch 'debug' into dev 2020-08-14 13:23:14 +02:00
van Hauser
212bb990b7 LTO: apply laf-intel+redqueen/cmplog at link time 2020-08-13 21:27:11 +02:00
van Hauser
67dac15226
Merge branch 'debug' into taint 2020-08-11 03:40:12 +02:00
Dominik Maier
a422fcaa40 fixed minor inconsistencies, reenabled warnings 2020-08-10 19:04:51 +02:00
van Hauser
fb84103ffb please no -Werror in the dev branch 2020-08-10 09:39:43 +02:00
van Hauser
e4a0237cbc step 1 2020-08-09 00:35:12 +02:00
van Hauser
d8f5502d83 initial integration 2020-08-08 20:29:56 +02:00
Dominik Maier
22d3a5e90a enabled Wextra, fixed bugs 2020-08-07 16:55:58 +02:00
van Hauser
4a859aff70 travis fixes 2020-08-05 10:25:53 +02:00
Dominik Maier
194188fe56 split up testcases 2020-08-04 21:33:29 +02:00
Dominik Maier
7cb00b69f0 warnings reenabled 2020-07-30 17:01:57 +02:00
van Hauser
a76e375d5c import lost PR when switching to stable, updated todo 2020-07-28 11:05:00 +02:00
van Hauser
1bbeef48e1 update readme, renice -20 2020-07-27 09:10:48 +02:00
van Hauser
9cddbc0420 add -F option to sync to foreign fuzzer queues 2020-07-24 12:26:52 +02:00
David Carlier
e137b40eb5 Haiku build fix. librt is necessary for Linux primarly and SunOS 2020-07-13 16:22:18 +00:00
van Hauser
e5e485fcdb fix autodict 2020-06-29 00:58:05 +02:00
van Hauser
cd6954e3c1 fix make static 2020-06-27 23:11:10 +02:00
van Hauser
5904083231 remove debug 2020-06-25 22:28:56 +02:00
van Hauser
171b1923e9 shmem release fix 2020-06-25 22:02:02 +02:00
van Hauser
633a3feab9 fix makefile 2020-06-25 17:51:48 +02:00
van Hauser
8178f4dfdd remove radamsa, add radamsa custom mutator 2020-06-25 16:51:29 +02:00
hexcoder-
9858bc81a3 GNUmakefile: warn about '.' being first path in PATH environment variable. This causes recursion in 'as'. (seen in Haiku) 2020-06-25 13:28:34 +02:00
van Hauser
5f1c0111a6 fix make files 2020-06-23 18:06:08 +02:00
Dominik Maier
7119bf5d86 Added rand, hash unittests 2020-06-22 21:58:23 +02:00
van Hauser
5cad92e57e fix unicorn mode for CFLAGS 2020-06-21 18:07:30 +02:00
van Hauser
048e429356 remove -Werror and add include for libdislocator 2020-06-21 16:33:55 +02:00
David Carlier
67d87dd2a9 Porting to Haiku.
getrusage does not implement resident memory gathering, no shm api neither.
2020-06-14 15:32:02 +00:00
van Hauser
a632c00b0d switch to faster and better hash + random 2020-06-12 16:08:49 +02:00
David Carlier
b3feda052d start of illumos cpu binding implementation.
The current user needs the proc_owner permission, not something doable
 via the settings script.
2020-06-10 16:16:47 +01:00
David Carlier
0adb664a31 OpenBSD build update and llvm mode fix
Unlike upstream version, LLVM in OpenBSD enable by default anti ROP gadget
 leading to bigger binaries and lower performances.
On OpenBSD, it needs to link to c++ abi for th unwind symbols.
2020-05-30 19:28:47 +01:00
Dominik Maier
408ef5298b
Merge pull request #383 from dgmelski/fix-read-timed
Fix read_timed when accumulating short reads
2020-05-29 18:58:25 +02:00
hexcoder-
bfd2b6298e OpenBSD6.7, 32bit fix add linker option -z notext 2020-05-28 22:23:30 +02:00
hexcoder-
8a2656681f GNUmakefile: make binary-only: make qemu build optional, so unicornafl can be build 2020-05-28 08:27:21 +02:00
van Hauser
996e1515b3 better performance compilation options for afl++ and targets 2020-05-26 13:19:57 +02:00
van Hauser
0994972c07 more performance testing 2020-05-25 22:19:50 +02:00
hexcoder-
3b4cd98498 add local include paths for DronFlyBSD 2020-05-19 17:57:56 +02:00
hexcoder-
b927b80e10 GNUmakefile: add paths for FreeBSD 3rd party packages 2020-05-16 20:30:07 +02:00
Dominik Maier
a55e26959b fixed recursive clean 2020-05-15 01:31:02 +02:00
Ruben ten Hove
867f948bb2 create temp symlink to python3 for qemu mode if python isn't found 2020-05-14 21:49:36 +02:00
hexcoder-
fa20eb1de7 GNUmakefile: add standard path for NetBSD, test for git and svn before use 2020-05-14 18:47:44 +02:00
van Hauser
4e192db13c better clean 2020-05-13 18:24:01 +02:00
van Hauser
8cc5442401 fix GNUmakefile 2020-05-13 18:20:06 +02:00
hexcoder-
b6be906082 GNUmakefile: avoid tabs 2020-05-13 17:03:59 +02:00
hexcoder-
c384a17b41 GNUmakefile: add paths /usr/local/... for OpenBSD, add check for ASAN 2020-05-13 16:42:20 +00:00