89 Commits

Author SHA1 Message Date
van Hauser
06264df168 rename whitelist -> instrumentlist 2020-06-30 17:28:21 +02:00
van Hauser
89f0dc2d14 fix gcc mode for travis 2020-06-23 17:43:04 +02:00
van Hauser
cffb0e9a25 fix gcc makefile 2020-06-23 17:36:05 +02:00
van Hauser
2b26e3867f fix gcc makefile 2020-06-23 17:31:52 +02:00
Dominik Maier
dc002b4b35 code format 2020-06-15 11:08:24 +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
Dominik Maier
83112ed5e0 got rid of questionable phrasing 2020-06-02 14:54:24 +02:00
van Hauser
a550df4301 code format 2020-05-29 14:43:03 +02:00
hexcoder-
9c286da29b gcc_plugin: better error message when compiler and plugin versions do not match 2020-05-29 12:10:45 +02:00
hexcoder-
6e98b3ebb2 non GNU Makefiles: message when gmake is not found, gcc_plugin portability 2020-05-16 12:15:03 +02:00
van Hauser
7b40d7b942 new code formatting + applied 2020-05-12 11:12:25 +02:00
van Hauser
30bfd44dfd indenting preprocessor directives breaks compilation and cant be fixed, reverting ... :-( 2020-05-10 12:09:37 +02:00
van Hauser
26f8708fed fix warning, code format 2020-05-10 11:35:31 +02:00
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