van Hauser
a42b74b624
Merge pull request #530 from rhertzog/add-cppflags
...
Pass CPPFLAGS to all calls of the C compiler
2020-08-31 11:33:34 +02:00
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
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
3d8f054580
readme fix
2020-08-05 01:19:31 +02:00
van Hauser
6d364dd2cb
add sancov-like allow/denylist instrument feature
2020-08-05 01:13:51 +02:00
David Carlier
ae41cedafe
gcc plugin forcing USEMMAP on Haiku
2020-07-25 16:14:27 +00:00
David Carlier
90adc2cb85
illumos littlefixes: little typo for cpu binding and
...
even tough gcc plugin less good than LLVM, clang
is more buggy on this os.
2020-07-09 15:43:05 +01:00
van Hauser
0aed549df1
warn rather than fail if AFL_MAP_SIZE is set and not understood by instrumenter
2020-07-06 14:11:21 +02:00
van Hauser
75fa1ac3b0
warn rather than fail if AFL_MAP_SIZE is set and not understood by instrumenter
2020-07-06 14:10:14 +02:00
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