76 Commits

Author SHA1 Message Date
van Hauser
232290108e only build afl-gcc-fast if afl-gcc-pass could be build 2020-04-25 12:51:14 +02:00
Rick van Schijndel
82b6b8c87e afl-gcc and afl-clang: fail when binary name can't be used to determine build mode
This is a continuation of PR #318.
The goal is to prevent issues where binaries with the wrong name will
silently pass control to the C compiler instead of failing.
This makes it more explicit that aflplusplus relies on the name of the
binary for correct compiler execution.
2020-04-23 23:21:38 +02:00
van Hauser
ef311ec70c done implementing AFL_MAP_SIZE 2020-04-17 10:08:56 +02:00
van Hauser
d8947d1fa4 add extended forkserver feature to gcc_plugin and qemu_mode 2020-04-11 08:15:42 +02:00
van Hauser
3a509c6168
LTO optimization, variable map size, autodictionary (#307)
* lto module clean-up

* step 1/3

* step 1/3 completed

* if tmp is ever made non-static

* parts 2 and 3 - autodictionary is complete

* variable map_size support

* variable map size: changed overlooked functions

* remove debug for autodict

* 64 bit alignment of map size

* fix review comments

* force 64 bit alignment on both sides

* typo
2020-04-10 22:33:11 +02:00
van Hauser
b485b7a252 fix compilers for empty AFL_CC/AFL_CXX env 2020-04-09 16:27:00 +02:00
hexcoder-
b5e4d1a491 fix gcc_plugin Makefile (VPATH) 2020-04-09 10:23:37 +02:00
hexcoder-
20cb846c95 Makefile cleanup 2020-04-09 10:23:37 +02:00
hexcoder-
ed8c0d173e gcc_plugin: portable Makefile 2020-04-09 10:23:37 +02:00
hexcoder-
c57fdbedaf gcc_plugin fix compile for USEMMAP 2020-04-09 10:23:37 +02:00
hexcoder-
7f817fe583 rename all 'Makefile' to 'GNUmakefile', use -Werror for -flto checks 2020-04-09 10:23:37 +02:00
van Hauser
14d2456c35 fix gcc 2020-04-01 13:10:07 +02:00
hexcoder-
0732e66da9 gcc_plugin: fix compiler warnings regarding -O and FORTIFY_SOURCE 2020-04-01 13:10:06 +02:00
hexcoder-
23d9649aec making 'CFLAGS="-m32" make source-only tests' work 2020-04-01 13:10:06 +02:00
hexcoder-
6cbd0f1faf avoid calling awk for 'which' replacement, use POSIX 'command -v' instead 2020-03-21 18:51:43 +01:00
hexcoder-
6965797286 unicorn: increase timeout for unicorn test in build script 2020-03-20 17:31:48 +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-
a3bd1c71ca Makefiles: replace 'which' with 'type' 2020-03-18 23:51:54 +01:00
hexcoder-
94a4cc8415 Makefiles: prefer POSIX 'type' over 'which' for checking 2020-03-18 22:55:14 +01:00
hexcoder-
a5e747af14 rework docs installation 2020-03-18 17:26:21 +01:00
van Hauser
684f4dd1c4 honor afl_quiet on env var checks + code-format 2020-03-11 11:42:57 +01:00
Dominik Maier
cc1d6b33b1 unified pointer placement 2020-03-10 22:04:05 +01:00
van Hauser
188a6f5ec5 disable leaksanitizer when "make" ... more 2020-03-09 12:17:59 +01:00
van Hauser
c159b872ef removed warning in afl-gcc-pass.so.cc 2020-03-09 11:23:29 +01:00
van Hauser
dcf7d85cba honor no_quiet for missing llvm_mode output, also print to stderr with afl-*-rt.o.c instead of stdout for errors plus two potential bad free() fixes 2020-03-09 10:56:53 +01:00
van Hauser
05a3418f86 added __afl_final_loc to all compile RTs 2020-03-04 01:51:41 +01:00
Andrea Fioraldi
59b80cb01e fix #218 for GCC plugin 2020-03-01 11:51:15 +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-
6e08be1d0b add env info to afl-fuzz (please review!), small clarifications in docs/env_variables.md 2020-02-28 22:02:55 +01:00
hexcoder-
0b21441590 add env info to afl-gcc-fast 2020-02-28 19:50:07 +01:00
van Hauser
4e37e12c06 code-format 2020-02-28 00:19:36 +01:00
van Hauser
2c9c2e139e afl-gcc change -> test.sh 2020-02-25 14:01:55 +01:00
hexcoder-
891b568678 fix references to README docs 2020-02-25 08:34:44 +01:00
van Hauser
e40415cf16 fix 2020-02-16 19:22:12 +01:00
van Hauser
204059c61a check for mistyped env vars 2020-02-16 18:16:10 +01:00
hexcoder-
37f865ab24 fix UBSAN handling, update docs 2020-02-16 10:44:53 +01:00
hexcoder-
24dcc5eb37 fix issue #194 more seriously 2020-02-13 21:06:09 +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
van Hauser
542bea37fb fix MDs 2020-02-03 16:10:16 +01:00
Andrea Fioraldi
13ac2cb125 s/experimental\//examples\/g 2020-02-03 14:13:09 +01:00
Andrea Fioraldi
437efe795a adjust a bit readmes 2020-02-01 20:20:41 +01:00
Andrea Fioraldi
b2bee5c32a moar moar copyrights 2020-01-06 16:17:23 +01:00
Andrea Fioraldi
b95cd8968d Merge branch 'master' of github.com:vanhauser-thc/AFLplusplus 2020-01-06 11:46:23 +01:00
Andrea Fioraldi
67cbeeb395 added ++ to copyright notes 2020-01-06 11:46:14 +01:00
van Hauser
3b9517ae73 v2.60d and year 2020 init 2019-12-31 13:01:08 +01:00
van Hauser
9829c5eb95 really ensure that all .test files are removed after they are not needed anymore 2019-12-30 15:14:00 +01:00
van Hauser
3f23f40a56 makefile clean fix 2019-12-30 13:26:39 +01:00
van Hauser
2b0cfe1ab5 final touches 2019-12-03 01:45:01 +01:00
van Hauser
dbdd9dbbde getting very close with travis 2019-12-02 17:32:31 +01:00
Andrea Fioraldi
124ec8d297 code format (contributors, do it!) 2019-12-02 14:34:21 +01:00