65 Commits

Author SHA1 Message Date
vanhauser-thc
a6cf9bb336 update honggfuzz custom mutator 2021-07-01 08:20:39 +02:00
hexcoder-
3b9f4441e5 avoid code duplication, symlink header file 2021-06-09 08:13:22 +02:00
vanhauser-thc
5f6ff95e6a fix docs 2021-06-01 10:53:02 +02:00
vanhauser-thc
12c8d339b1 update docs 2021-05-22 16:09:30 +02:00
vanhauser-thc
aeb6883532 update grammar mutator 2021-04-28 23:29:13 +02:00
Dominik Maier
a3f8fc5d1c moved custom_mutator examples 2021-04-26 16:03:08 +02:00
vanhauser-thc
c19d1f0c75 update grammar-mutator, show better fuzzing strategy yields 2021-04-09 12:22:16 +02:00
R. Elliott Childre
221616a1b7 Fixes: 6d2ac3e3140 ("fix grammar download script")
The git submodle entry point is "grammar_mutator" not "grammar-mutator"

The build script fails without this
2021-03-30 11:05:19 -04:00
Jiangen Jiao
c892642057 android: support host and target 32bit build 2021-03-25 20:40:31 +08:00
julihoh
2dd5a02061
Ergonomic Improvements for Rust Custom Mutators (#772)
* allow returning of str instead of CStr in rust custom mutator

* use OsStr instead of CStr for file paths

* fix cfg and compiler errors

* custom mutator default descriptions

* fix usage of afl_internal feature flag

* fix example mutator cfg

* fix lain mutator

* Revert "fix lain mutator"

This reverts commit adf700180888d86e8331939cea62d0b39fc699a7.

* actually fix lain mutator

* resolve question around utf-8 null bytes

* change from OsStr to Path to be even more ergonomic

* add rust custom mutator ci

* fix github action

* again

* separate compilation check
2021-03-05 19:40:59 +01:00
Dominik Maier
c219502f0f some rust cleanup 2021-02-27 15:52:36 +01:00
julihoh
a5da9ce42c
custom mutator rust support (#752)
* custom mutator rust support

* clarify how to view documentation for rust mutators

* remove `FuzzResult` hack and clarify lifetimes of CustomMutator::fuzz

* rename TErr associated tyep to Error to be more idiomatic

* fix warnings

* add example for fallible custom mutator

* make Fallible Custom Mutator the default and implement it's handle_err method by default

* rename CustomMutator::handle_err to handle_error

* add example mutator using lain
2021-02-27 15:05:13 +01:00
vanhauser-thc
5c239451cf cmplog finetuning 2021-02-25 09:15:54 +01:00
Andrea Fioraldi
17211253b2 libhfcommon not anymore a symlink 2021-02-19 18:25:24 +01:00
Andrea Fioraldi
6998489b26 Revert "Remove self-referential symlink"
This reverts commit aaf5fcd98a7c713ab8b6ae554babbf74bd92374b.
2021-02-19 18:21:10 +01:00
Andrea Fioraldi
4290cb5877 fix hongg mutator API change 2021-02-19 16:07:47 +01:00
Andrea Fioraldi
801f2449ec
Merge pull request #753 from frewsxcv/frewsxcv-libhf
Remove self-referential symlink
2021-02-19 16:02:25 +01:00
Corey Farwell
aaf5fcd98a Remove self-referential symlink 2021-02-19 09:18:59 -05:00
vanhauser-thc
89af2ef7a9 update honggfuzz custom mutator 2021-02-18 11:15:59 +01:00
Joey Jiao
7ad8f6c717 android: Add libprotobuf aflpp custom_mutator example 2021-01-20 15:46:41 +08:00
Joey Jiao
9d9e148e5c android: build custom mutators for symcc, radamsa 2021-01-20 15:46:41 +08:00
Joey Jiao
1e2da1dfb9 android: port libfuzzer-mutator 2021-01-20 15:46:41 +08:00
hexcoder-
b7af98e945 code cleanups (from cppcheck mostly) 2021-01-04 15:32:22 +01:00
hexcoder-
5cdbfeef4a Revert "code cleanups (from cppcheck)"
This reverts commit 33a7d6f1688856c050b0ac71ac1df4018e4d531c.
2021-01-04 15:17:39 +01:00
hexcoder-
33a7d6f168 code cleanups (from cppcheck) 2021-01-04 15:14:20 +01:00
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