77 Commits

Author SHA1 Message Date
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
van Hauser
95fd080ca1 code format 2020-07-05 11:08:22 +02:00
David Carlier
29102d6bf1 libdislocator: hugepage enabled for illumos too. 2020-07-04 12:36:53 +01:00
van Hauser
49a769ac06 lto whitelist in test.sh 2020-06-23 21:23:10 +02:00
David Carlier
8f98044d69 Libdislocator Haiku build fix 2020-06-23 09:41:38 +00:00
van Hauser
048e429356 remove -Werror and add include for libdislocator 2020-06-21 16:33:55 +02:00
Dominik Maier
feffae60dd code format 2020-06-09 03:48:50 +02:00
David Carlier
b5c77cf4f6 libdislocator, adding subset of specific NetBSD api. 2020-06-05 15:32:27 +01:00
van Hauser
7b40d7b942 new code formatting + applied 2020-05-12 11:12:25 +02:00
van Hauser
07a0e2caf7 hopefully final fixes from code-format disaster :-( 2020-05-10 15:36:46 +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
fb89b042f8 Merge pull request #337 from devnexen/android_support_arc4_api
Android supports arc4 api.
2020-04-26 01:25:39 +02:00
hexcoder
2a60ceb694 fix issue #333 2020-04-25 21:29:19 +02:00
David Carlier
80916a3613 Android supports arc4 api. 2020-04-25 20:17:10 +01:00
van Hauser
0c3d06c41e refactored whitelist and blacklist in llvm_mode 2020-04-25 17:53:38 +02:00
van Hauser
cefefba244 Merge branch 'master' into dev 2020-04-25 13:05:25 +02:00
van Hauser
cce8c4dbae fixed map location support for LTO 2020-04-23 08:56:06 +02:00
David CARLIER
ce9c6df456 libdislocator android build fix. (#327)
Fix function signature for bionic libc
2020-04-21 13:14:34 +02:00
David Mendenhall
0aef3b4040 add NULL check to malloc_usable_size 2020-04-21 13:14:34 +02:00
David Mendenhall
ee238eb00d Move comment about adding 8 bytes to buffer length to the line where we
actually add 8 bytes
Remove defunct TODO for posix_memalign as the function now exists
Add wrapper for malloc_usable_size
2020-04-21 13:14:34 +02:00
David CARLIER
f6c9acd518 libdislocator android build fix. (#327)
Fix function signature for bionic libc
2020-04-21 10:17:11 +02:00
David Mendenhall
441b64b467 add NULL check to malloc_usable_size 2020-04-20 15:00:48 -07:00
David Mendenhall
e6fccdd9c1 Move comment about adding 8 bytes to buffer length to the line where we
actually add 8 bytes
Remove defunct TODO for posix_memalign as the function now exists
Add wrapper for malloc_usable_size
2020-04-20 14:24:47 -07:00
hexcoder-
20cb846c95 Makefile cleanup 2020-04-09 10:23:37 +02:00