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