215 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
Dominik Maier
7470b475a9
Reworked maybe_grow to take a single ptr, renamed to afl_realloc (#505)
* maybe_grow takes a single ptr

* fixed use_deflate

* reworked maybe_grow_bufsize

* helper to access underlying buf

* remove redundant realloc_block

* code format

* fixes

* added unit tests

* renamed maybe_grow to afl_realloc

* BUF_PARAMS -> AFL_BUF_PARAM
2020-08-18 00:50:52 +02:00
Dominik Maier
1978629d87
Custom Mutator readme (#495) 2020-08-07 14:21:12 +02:00
van Hauser
8ed6207b5c update honggfuzz custom mutator. make update is all it takes to stay current :) 2020-08-04 23:33:35 +02:00
van Hauser
2323c30b5b fix honggfuzz dict 2020-07-26 22:05:14 +02:00
van Hauser
aa3856261d fix warning 2020-07-23 17:17:44 +02:00
van Hauser
72b46a07d6 added honggfuzz custom mutator :) 2020-07-23 15:58:13 +02:00
van Hauser
9151cb9ba2 update link 2020-07-20 11:40:34 +02:00
van Hauser
204ae75d7b add superion custom mutator link 2020-07-20 10:31:07 +02:00
van Hauser
29e41a09d5 fix typos 2020-06-27 18:16:27 +02:00
van Hauser
8178f4dfdd remove radamsa, add radamsa custom mutator 2020-06-25 16:51:29 +02:00
Andrea Fioraldi
2fe7889912 move custom and pythoon mutators examples into examples/ 2020-02-03 13:11:10 +01:00
van Hauser
1a47a5a739 small adjustments for custom mutator 2019-09-05 10:10:42 +02:00
van Hauser
760416c1a0 small adjustments for custom mutator 2019-09-05 10:10:25 +02:00
Khaled Yakdan
1b3f971330 Added documentation and a simple example for the custom mutator functionality 2019-09-04 22:57:52 +02:00