3357 Commits

Author SHA1 Message Date
hexcoder-
4261e17b3e replace non portable echo -n with printf 2020-08-31 22:08:54 +02:00
Andrea Fioraldi
8ca4414d70 merge conflicts 2020-08-31 20:34:28 +02:00
Andrea Fioraldi
6090bb1bca better fix for #539 2020-08-31 20:33:56 +02:00
van Hauser
a552631d3b update changelog 2020-08-31 20:22:20 +02:00
van Hauser
c552229c4d
Merge pull request #539 from hazimeh/dev
Fixed stack use-after-return bug in strntoll
2020-08-31 20:20:36 +02:00
van Hauser
2dffed1cff
Merge pull request #534 from AFLplusplus/dev
push to stable for GSOC
2020-08-31 19:04:37 +02:00
van Hauser
e93f78eca5
Merge pull request #538 from ploppelop/patch-1
Update parallel_fuzzing.md
2020-08-31 18:44:28 +02:00
Ahmad Hazimeh
9bbbec3fa8 Fixed stack use-after-return bug in strntoll 2020-08-31 18:39:50 +02:00
ploppelop
338638b124
Update parallel_fuzzing.md
fix multisystem example
2020-08-31 18:34:27 +02:00
Dominik Maier
17e1a72b3b Merge branch 'dev' of github.com:vanhauser-thc/AFLplusplus into dev 2020-08-31 18:32:33 +02:00
Dominik Maier
3e6471b949 added files to gitignore 2020-08-31 18:32:28 +02:00
van Hauser
e4de4e3500 update gitignore 2020-08-31 18:32:01 +02:00
Dominik Maier
bea76b346c fixed build error 2020-08-31 18:29:45 +02:00
Dominik Maier
53e63e9ded added forkserver init timeout 2020-08-31 18:28:36 +02:00
Dominik Maier
b1b5e21600 removed dummy 2020-08-31 18:20:39 +02:00
van Hauser
d765740707 hopefully finally fix ancient apple gmake 2020-08-31 18:18:40 +02:00
van Hauser
192cadee34 fix docs 2020-08-31 18:10:18 +02:00
van Hauser
d7d8afa512 fix afl-gcc help output 2020-08-31 17:54:21 +02:00
Dominik Maier
01fcee1190 fixed make install on mac os 2020-08-31 17:36:16 +02:00
van Hauser
0805437222 fix make man 2020-08-31 17:10:13 +02:00
van Hauser
4398b9b517 fix network server 2020-08-31 16:50:26 +02:00
hexcoder-
909262f6c5 fix non portable option -T for 'install' 2020-08-31 16:44:18 +02:00
David CARLIER
155ef8875a
Fix few warnings for FreeBSD case. (#536) 2020-08-31 16:37:46 +02:00
van Hauser
58cf030546 fix for MacOS sudo 2020-08-31 16:34:57 +02:00
hexcoder-
18ea9a8447 omit linker option '--dynamic-list' for MacOS 2020-08-31 16:19:09 +02:00
hexcoder-
ebd1e6bc4b Merge branch 'dev' of https://github.com/AFLplusplus/AFLplusplus into dev 2020-08-31 15:40:47 +02:00
hexcoder-
45d866d548 typo 2020-08-31 15:40:20 +02:00
domenukk
8087cf7988 Merge branch 'dev' of github.com:vanhauser-thc/AFLplusplus into dev 2020-08-31 15:17:51 +02:00
domenukk
9e8b3f13e1 fixed warning on mac 2020-08-31 15:17:37 +02:00
hexcoder-
ce4700ca6e Merge branch 'dev' of https://github.com/AFLplusplus/AFLplusplus into dev 2020-08-31 15:17:24 +02:00
hexcoder-
8253f90134 typos/wording 2020-08-31 15:16:55 +02:00
van Hauser
86421f3469
Merge pull request #535 from rhertzog/manpages
Fix manpages generated by llvm_mode/GNUMakefile
2020-08-31 15:05:54 +02:00
Raphaël Hertzog
811ef13b20 Fix manpages generated by llvm_mode/GNUMakefile
* Use a build date derived from SOURCE_DATE_EPOCH like in the main
  Makefile
* Fix the path to the binary
2020-08-31 14:56:02 +02:00
hexcoder-
7fb72f1038 typos 2020-08-31 14:47:22 +02:00
van Hauser
d2c9e4baa7 fix warnings and weird code insert 2020-08-31 13:12:59 +02:00
van Hauser
81767287c3 improve documentation 2020-08-31 13:02:40 +02:00
van Hauser
6c980e2a02 rewrite documentation 2020-08-31 12:56:14 +02:00
van Hauser
e7db4d4fe0 fix sync script, update remote sync documentation 2020-08-31 12:36:30 +02:00
hexcoder-
567042d146 typos fixed. 2020-08-31 12:32:31 +02:00
Dominik Maier
4697e4a5a5 description for AFL_MAX_DET_EXTRAS added 2020-08-31 12:26:41 +02:00
Dominik Maier
92b1f9cf36 added SO link about rand for clarification 2020-08-31 12:11:38 +02:00
van Hauser
bbf00204ea
Merge pull request #531 from rhertzog/extend-cflags-safe
Add -fdebug-prefix-map to CFLAGS_SAFE
2020-08-31 11:38:09 +02:00
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
van Hauser
7ee255cbcf
Merge pull request #529 from rhertzog/manpages
Manual pages related changes
2020-08-31 11:21:52 +02:00
van Hauser
961ddfd7f8
Merge pull request #528 from rhertzog/fix-symlinks
Fix the /usr/bin/afl-clang and afl-clang++ symlinks
2020-08-31 11:19:16 +02:00
van Hauser
4566bcf122 code-format 2020-08-31 10:57:01 +02:00
hexcoder-
ca0105ddf6 fix make DEBUG=1 (error seen with gcc 10.2.0) 2020-08-29 21:45:23 +02:00
Raphaël Hertzog
41bb359428
Fix various spelling errors (#532)
All those spelling errors have been caught by lintian's built-in
spellchecker:
https://lintian.debian.org/tags/spelling-error-in-binary.html
2020-08-28 23:04:25 +02:00
Raphaël Hertzog
146ede0f29 Add -fdebug-prefix-map to CFLAGS_SAFE
In Debian, we override CFLAGS to include -fdebug-prefix-map to avoid
hardcoding the build path in any generated debug information. This is
to help with getting the package to build reproducibly.

However you seem to voluntarily not honor CFLAGS but only CFLAGS_SAFE
for a limited number of source files. This resulted in a lintian warning
on Debian's side (https://lintian.debian.org/tags/file-references-package-build-path.html)
pointing to /usr/lib/afl/afl-llvm-rt-64.o and /usr/lib/afl/afl-llvm-rt.o.

With this commit, I'm manually adding -fdebug-prefix-map as a safe
build flag to CFLAGS_SAFE.
2020-08-28 22:16:08 +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