40 Commits

Author SHA1 Message Date
van Hauser
6d2ac3e314 fix grammar download script 2020-12-08 12:36:19 +01:00
van Hauser
8999023432 fixes for grammar scripts 2020-12-08 12:29:47 +01:00
Dominik Maier
eda068751e streamlined grammar mutator submodule 2020-12-08 10:09:35 +01:00
R. Elliott Childre
5d6b1129f0
Fix Grammar Mutator Submodule (#623)
Fixes: 651ad18e2179 ("added the grammar mutator as a git submodule ...")

* Project pointer never pushed
* Reduces dirctory complexity
* Building and dependencies for the subproject should be isolated to the
  subproject's documentation
* Fix broken link to README
* Use `--init` for `git submodule`
2020-12-08 09:30:17 +01:00
hexcoder-
d042a63ab4 micro optimization: allocate only when needed 2020-11-17 20:09:52 +01:00
van Hauser
99c783821f
Merge pull request #601 from Rumata888/fixing_symcc
Fixing symcc custom mutator
2020-11-17 10:13:57 +01:00
Rumata888
9d22c8a02c Fixed fd leak on early exit and closed pipes before early exits and PFATAL 2020-11-17 12:00:06 +03:00
Rumata888
622f942555 Fixed memleaks, change exit to PFATAL 2020-11-13 14:54:36 +03:00
hexcoder-
35fd6847fe another two mem leaks 2020-11-12 21:51:44 +01:00
hexcoder-
ffe41e6fce fix two mem leaks detected by cppcheck 2020-11-12 20:26:53 +01:00
Rumata888
c05c5b787b Fixed name collision problem 2020-11-12 02:36:08 +03:00
Rumata888
bb218b330f Formatted changed/added files 2020-11-12 01:29:17 +03:00
Rumata888
20a8a93fd1 Fixed symcc custom mutator 2020-11-12 01:13:57 +03:00
van Hauser
1661303248 fix libfuzzer custom mutator and add introspection function 2020-11-10 13:43:48 +01:00
hexcoder-
158efe49ac typo 2020-10-29 23:57:51 +01:00
hexcoder-
2decf1d088 typo 2020-10-29 23:55:00 +01:00
hexcoder-
3e17a90faa typo 2020-10-29 23:45:22 +01:00
hexcoder-
46a828212e typo 2020-10-29 23:43:58 +01:00
van Hauser
207cbd5cf7 fix and update libfuzzer custom mutator 2020-09-21 15:47:10 +02:00
van Hauser
5f52f72761 set explore as default, fix schedule display 2020-09-20 14:58:08 +02:00
Dominik Maier
7f94fe3587 code format 2020-09-13 14:26:57 +02:00
van Hauser
862b6d0382 fix for afl-compiler-rt to only send dictionary data if there is some 2020-09-11 08:56:28 +02:00
van Hauser
380051868a add libfuzzer custom mutator, minor enhancements and fixes 2020-09-10 15:26:46 +02:00
van Hauser
a4cac3fce5 new custom mutator: symcc 2020-09-09 17:49:43 +02:00
van Hauser
651ad18e21 added the grammar mutator as a git submodule + documentation 2020-09-01 10:52:39 +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
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