50 Commits

Author SHA1 Message Date
hexcoder-
115ee8bad5 fix Makefile for examples/argv_fuzzing and socket_fuzzing 2020-04-14 21:19:03 +02:00
Toizi
504529c3aa
fix crash triage example (#304) 2020-04-09 13:46:21 +02:00
hexcoder-
6688184bfd argv_fuzzing Makefile: portable version 2020-04-09 10:23:37 +02:00
hexcoder-
d37a195392 socket_fuzzing Makefile: make it portable 2020-04-09 10:23:37 +02:00
Andrea Fioraldi
88782ae43c custom mutator readme 2020-04-09 10:23:37 +02:00
hexcoder-
fef08192ad restore portable Makefiles 2020-04-09 10:23:37 +02:00
hexcoder-
7f817fe583 rename all 'Makefile' to 'GNUmakefile', use -Werror for -flto checks 2020-04-09 10:23:37 +02:00
Dominik Maier
d374648ce3 docs 2020-04-01 13:10:07 +02:00
Dominik Maier
c8bdf0790f reenabled custom mutator report 2020-04-01 13:10:07 +02:00
Dominik Maier
c36c34cf9e fixed example 2020-04-01 13:10:07 +02:00
h1994st
61ea398612 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-04-01 13:10:07 +02:00
h1994st
64e1d3a975 test.sh: "trusty-amd64" does not work well with "realpath". Use
"readlink -f" for Ubuntu instead.
2020-04-01 13:10:07 +02:00
h1994st
71edae4a0f example.py: add deinit() 2020-04-01 13:10:07 +02:00
h1994st
0dd8ed9171 Fix invalid memory access bug in afl_custom_pre_save of example.c 2020-04-01 13:10:07 +02:00
h1994st
d568559f01 Fix typo 2020-04-01 13:10:06 +02:00
h1994st
245304f593 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-04-01 13:10:06 +02:00
Dominik Maier
da1a0249d7 merged dev 2020-04-01 13:10:06 +02:00
Dominik Maier
98545f30aa code format 2020-04-01 13:10:06 +02:00
Dominik Maier
81873d97f8 error handling for custom mutators 2020-04-01 13:10:06 +02:00
Dominik Maier
ab5e0703da tiny changes in custom mut api 2020-04-01 13:10:06 +02:00
Dominik Maier
e59282fe20 if exponential growth is too much, don't doo it 2020-04-01 13:10:05 +02:00
Dominik Maier
9785b15ed2 more custom mutator remodelling 2020-04-01 13:10:05 +02:00
Dominik Maier
e71c2937de code format 2020-04-01 13:10:05 +02:00
Dominik Maier
932eae7343 example fixed 2020-03-27 11:06:06 +01:00
Dominik Maier
604f122819 docu 2020-03-27 11:06:06 +01:00
Dominik Maier
d6a7630fe2 more api 2020-03-27 11:06:06 +01:00
Dominik Maier
e9c7610cb7 edited custom mutator pre_save api 2020-03-27 11:06:06 +01:00
Dominik Maier
6d3dc83c5d code format 2020-03-27 11:06:06 +01:00
van Hauser
c75b403bb7 fix doc link 2020-03-27 11:06:06 +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