171 Commits

Author SHA1 Message Date
hexcoder-
6e98b3ebb2 non GNU Makefiles: message when gmake is not found, gcc_plugin portability 2020-05-16 12:15:03 +02:00
hexcoder-
6b69cd2e57 Makefile: for convenience forward targets to GNUmake 2020-05-14 09:00:17 +00:00
hexcoder-
7f817fe583 rename all 'Makefile' to 'GNUmakefile', use -Werror for -flto checks 2020-04-09 10:23:37 +02:00
Dominik Maier
5e66d95fbd better asan 2020-04-09 10:23:37 +02:00
Dominik Maier
8e417ecb5c makefile asan fix 2020-04-09 10:23:37 +02:00
Dominik Maier
a9d072ad02 O3 again 2020-04-09 10:23:37 +02:00
Dominik Maier
5630c2e72c list testcase added 2020-04-09 10:23:37 +02:00
hexcoder-
29ff59cc8a fixing unit tests (again) remove CFLAGS_FLTO, put LDFLAGS near the end 2020-04-09 10:23:37 +02:00
Dominik Maier
dab429521b added (broken) list test 2020-04-09 10:23:37 +02:00
hexcoder-
ee72d5d01d add Make rule for new unit test 2020-04-09 10:23:37 +02:00
hexcoder-
378f4dd46d fix make target unit test (tested on Ubuntu 16.04) 2020-04-09 10:23:37 +02:00
Dominik Maier
d40866add2 unittest for prealloc added 2020-04-01 14:39:03 +02:00
Dominik Maier
c7cf2c17a2 fix ASAN bulid for old gcc versions 2020-04-01 13:10:07 +02:00
Dominik Maier
29b1e30126 fixed asan mem limit 2020-04-01 13:10:07 +02:00
van Hauser
24b9eddc7e disable memory limits for ASAN build 2020-04-01 13:10:07 +02:00
Dominik Maier
a0693d466c try to fix forkserver 2020-04-01 13:10:07 +02:00
van Hauser
8f98d5a8f8 fix unit test compilation 2020-04-01 13:10:07 +02:00
Dominik Maier
5bc6dccbbd src doku is now markdown 2020-04-01 13:10:07 +02:00
Dominik Maier
42ee300e92 dropped make switches 2020-04-01 13:10:07 +02:00
Dominik Maier
582f5103d9 enabled fortify source 2020-04-01 13:10:07 +02:00
van Hauser
514036898f added unit target to make help and README 2020-04-01 13:10:07 +02:00
Dominik Maier
7c383094d9 added unittest for unit_maybe_alloc 2020-04-01 13:10:06 +02:00
hexcoder-
78d73720a2 fix detection compiles (e.g. python) when using CFLAGS="-m32" 2020-04-01 13:10:05 +02:00
Andrea Fioraldi
aac7c7d75d detect arm in build_qemu_support.sh 2020-03-22 12:09:52 +01:00
hexcoder-
96736309a7 support for arm platform when building qemu 2020-03-21 22:11:07 +01:00
van Hauser
c6db05c5ae test.sh with -no-pie 2020-03-21 21:10:38 +01:00
hexcoder-
d0b5cd64c3 install llvm_mode READMEs 2020-03-19 23:55:28 +01:00
van Hauser
be261b3e69 moved repository to https://github.com/AFLplusplus/AFLplusplus and updated links 2020-03-19 15:20:39 +01:00
hexcoder-
94a4cc8415 Makefiles: prefer POSIX 'type' over 'which' for checking 2020-03-18 22:55:14 +01:00
van Hauser
cfd451c6f3 cmplog was neither quiet nor where its llvm passes installed 2020-03-17 16:26:51 +01:00
hexcoder-
5b9335be10 fix compilation for Darwin/MacOSX 2020-03-16 14:04:21 +01:00
van Hauser
7685893cdb fix afl-fuzz-document 2020-03-15 17:09:52 +01:00
van Hauser
f9f163e48f fix afl-fuzz-document 2020-03-15 17:07:06 +01:00
Dominik Maier
15ba6249fc fauxserver 2020-03-15 17:02:48 +01:00
van Hauser
288432843b updated README, ideas and a missing clean in Makefile 2020-03-11 12:03:44 +01:00
Rishi Ranjan
cd377f3d99
Replace alarms with select and threads (#243)
* Use select to monitor forkserver for timeouts instead of alarm

* Remove redundent conditons in select monitoring of fdsin forkserver and cmplog

* Replace SIGALARM with POSIX timers in afl-fuzz-run

* Make changes to Makefile to use POSIX timers

* Resolve Merge Conflicts and rename variables accordingly

* Change forkserver and cmplog to handle exec_tmout = 0

* Handle timeout function bug rectify

* Add error handling to afl-fuzz run timers

* Add timer_delete to afl-fuzz-run

* Remove memory leaks
2020-03-10 13:07:29 +01:00
van Hauser
aa4050d406 disable leaksanitizer when "make" 2020-03-09 12:04:35 +01:00
van Hauser
9d686ba523
Add LTO collision free llvm_mode (#223)
* first new implementation, only works with AFL_DONT_OPTIMIZE

* bug hunting

* interim commit

* finalized LTO non-collision solution

* update documentation

* merge resulted in some problems, fixing these

* added lto env to env check

* fixed llvm weirdness to messes up our instrumentation due CFG rewrite optimizations

* all llvm instrumentation issues have been resolved! :-)

* llvm 9 is required (so far)

* update lto readme
2020-03-05 10:52:26 +01:00
Dominik Maier
f6050ab804 Silenced output of if python not found 2020-03-02 16:12:12 +01:00
van Hauser
6730b6a15a code-format, env.md fixes and adding -hh for env usage display into afl-fuzz and Makefile 2020-02-29 14:23:44 +01:00
hexcoder-
d39830a4dc portability: replace GNU extension of date (-I) with posix "+%y-%m-%d" 2020-02-25 20:31:08 +01:00
hexcoder-
a540bae7a9 left over README reference fix 2020-02-25 08:43:49 +01:00
van Hauser
0b692faddd gcc-10 support 2020-02-19 12:20:09 +01:00
van Hauser
8a6544f7f9 document build options 2020-02-19 11:04:48 +01:00
van Hauser
9c1bef49e6 and make make work again 2020-02-19 10:53:38 +01:00
Andrea Fioraldi
cdbb35d87e ASAN_BUILD makefile define 2020-02-18 10:53:37 +01:00
hexcoder-
0ad698ffbf add option -h and man page for afl-as 2020-02-16 21:56:40 +01:00
hexcoder-
08ad02d2b0 forgot to reenable the 2>/dev/null 2020-02-11 20:23:03 +01:00
hexcoder-
1b758e4d6b compatibility for GNU make 4.3, which behaves different for
lines with '#' like in
 ifeq "$(shell echo '\#include <sys/ipc.h> ...
Now make v 4.3  wants
 ifeq "$(shell echo '#include <sys/ipc.h> ...
In order to get it working with all GNU makes, we use a make
variable for '#' called HASH
2020-02-11 20:15:01 +01:00
hexcoder-
a93e11b797 first work for OpenIndiana (solaris flavor) 2020-02-08 16:50:37 +01:00