42 Commits

Author SHA1 Message Date
Dominik Maier
822e75f7c2 reenabled custom mutator report 2020-03-31 14:01:22 +02:00
Dominik Maier
1f257c5875 fixed example 2020-03-30 16:46:54 +02:00
h1994st
d9b18ec853 Fix heap allocation bug
- Reason: `afl->out_size` is not consistent with the actual allocation
of `afl->out_buf`. The deleted line in `src/afl-fuzz-one.c` may change
`afl->out_size`, but `afl->out_buf` is not changed
2020-03-30 16:46:54 +02:00
h1994st
6c14415664 test.sh: "trusty-amd64" does not work well with "realpath". Use
"readlink -f" for Ubuntu instead.
2020-03-30 16:46:54 +02:00
h1994st
45561d552e example.py: add deinit() 2020-03-30 16:46:54 +02:00
h1994st
fbd5bd8f37 Fix invalid memory access bug in afl_custom_pre_save of example.c 2020-03-30 16:46:54 +02:00
h1994st
048beb752d Fix typo 2020-03-30 16:46:53 +02:00
h1994st
ff14dfc0fc Add a test case for the custom mutator
- Update the Makefile in examples/custom_mutators
- Add a test program for testing the custom mutator
- Update test.sh for testing the custom mutator
- [TODO] Update the result checking criterias of the custom mutator in
test.sh
2020-03-30 16:46:11 +02:00
Dominik Maier
c697a003d1 merged dev 2020-03-30 16:45:13 +02:00
Dominik Maier
1938a12222 code format 2020-03-28 12:59:41 +01:00
Dominik Maier
4c11ef5d20 error handling for custom mutators 2020-03-28 12:58:56 +01:00
Dominik Maier
11767bec0e tiny changes in custom mut api 2020-03-28 11:55:10 +01:00
Dominik Maier
8992c44c41 if exponential growth is too much, don't doo it 2020-03-28 05:01:01 +01:00
Dominik Maier
53fd8fe6ea more custom mutator remodelling 2020-03-28 04:57:44 +01:00
Dominik Maier
e04f4b3f20 code format 2020-03-27 23:30:15 +01:00
Dominik Maier
5a7d33330a example fixed 2020-03-26 19:48:26 +01:00
Dominik Maier
12a9a1001e docu 2020-03-26 19:47:16 +01:00
Dominik Maier
97a1af39f7 more api 2020-03-26 19:44:44 +01:00
Dominik Maier
eeb7e12b9f edited custom mutator pre_save api 2020-03-25 21:54:52 +01:00
Dominik Maier
f6466214c6 code format 2020-03-25 11:31:01 +01:00
van Hauser
c9a2401983 fix doc link 2020-03-24 18:46:25 +01:00
Dominik Maier
77b81e7361 custom mutators might work again like this 2020-03-23 18:18:54 +01:00
Andrea Fioraldi
f32d1022bd surgical_havoc_mutate() in custom mutator helpers 2020-03-23 10:47:17 +01:00
van Hauser
dae249dc71 minor fix to qemu_persistent_hook example 2020-03-17 16:10:34 +01:00
van Hauser
684f4dd1c4 honor afl_quiet on env var checks + code-format 2020-03-11 11:42:57 +01:00
Dominik Maier
cc1d6b33b1 unified pointer placement 2020-03-10 22:04:05 +01:00
van Hauser
36ce9c1fb9 more code format 2020-03-09 08:30:28 +01:00
h1994st
8f93cf5c55 Add two new hooks for the custom mutator
- `afl_custom_queue_get` and `afl_custom_queue_new_entry`
- Update the corresponding document and examples
2020-03-07 16:28:48 -05:00
Andrea Fioraldi
172d384bf2 custom havoc mutation 2020-03-07 12:11:06 +01:00
Antonio Morales
c18f6c2618
Fixing 2 little mistakes
This example doesn't compile due to two little errors:
- There is a missing semicolon
- "data" array doesn't exist. I think "buf" should be used instead.
2020-03-06 16:09:43 +01:00
h1994st
38e7dd2b9e Update examples of the custom mutator
- Merge `examples/python_mutators` into `examples/custom_mutators`
- Remove `examples/python_mutators`
- Update existing examples to demonstrate new APIs
2020-03-04 01:09:37 -05:00
van Hauser
449a14d1d0 more examples for README and custom_mutator README 2020-02-28 14:07:38 +01:00
hexcoder-
f240c5381a fix -m32 on arm (-> -m32be), make 64 bit version explicit (do not assume 64 bit as default) 2020-02-23 22:03:51 +01:00
hexcoder-
32281ddcb0 fix -m32 on arm 32 bit (is -m32be). make 32 and 64 bit varaints optional 2020-02-23 12:40:05 +01:00
Andrea Fioraldi
ef00ed6090 code format 2020-02-16 13:21:39 +01:00
hexcoder
afb23f09cf
argv fuzzing afl-fuzz-inl.h: apply patch from issue#195
@dpmdpm2: Thanks
2020-02-13 19:58:08 +01:00
van Hauser
079f177cda persistent mode doc 2020-02-08 15:41:17 +01:00
Andrea Fioraldi
aa2cb66ea2 code format 2020-02-07 20:44:36 +01:00
Andrea Fioraldi
f2f6be5e99 afl qemu persistent hook 2020-02-07 20:43:17 +01:00
van Hauser
542bea37fb fix MDs 2020-02-03 16:10:16 +01:00
Andrea Fioraldi
13ac2cb125 s/experimental\//examples\/g 2020-02-03 14:13:09 +01:00
Andrea Fioraldi
2fe7889912 move custom and pythoon mutators examples into examples/ 2020-02-03 13:11:10 +01:00