203 Commits

Author SHA1 Message Date
van Hauser
0fd98ae8b0 added mutation introspection make target 2020-11-01 21:34:08 +01:00
van Hauser
b5686eb63e fixes two huge bugs 2020-10-29 00:05:28 +01:00
Andrea Fioraldi
93c9093817 merge conflict 2020-10-28 14:36:49 +01:00
Andrea Fioraldi
fe705bb956 expand havoc if not new findings in the last 5 seconds 2020-10-28 14:32:53 +01:00
van Hauser
ac1c3b8701 mini improvements 2020-10-19 11:34:57 +02:00
van Hauser
ea0851c654 fix previous commit 2020-10-15 12:54:18 +02:00
van Hauser
d1e18f9edf fix afl_swap_bufs usage? 2020-10-15 12:20:33 +02:00
van Hauser
0139b8cdcb add missing swap bufs 2020-10-15 10:28:11 +02:00
van Hauser
24e0c9cf65 add missing swap bufs 2020-10-15 10:22:40 +02:00
van Hauser
56ac3fcdc5
configurable testcache with malloc (#581)
* cache item number to cache memory size

* reload testcase if trimming changed the size

* fix splicing selection

* slim splicing

* import sync fix

* write testcache stats to fuzzer_stats

* fix new seed selection algo

* malloc+read instead of mmap

* fix

* testcache is configurable now and no reference counts

* fixes compilation, test script

* fixes

* switch TEST_CC to afl-cc in makefile

* code format

* fix

* fix crash

* fix crash

* fix env help output

* remove unnecessary pointer resets

* fix endless loop bug

* actually use the cache if set

* one more fix

* increase default cache entries, add default cache size value to config.h

Co-authored-by: hexcoder- <heiko@hexco.de>
2020-10-14 15:30:30 +02:00
van Hauser
d6da5605c8 fix splicing selection 2020-10-12 04:03:42 +02:00
vanhauser-thc
b7e0490bcd Revert "Merge branch 'memcache_marc' into dev"
This reverts commit c03fbcedaa68db5324423975a34331287426f7c2, reversing
changes made to dab017dddaaab6d836a590f7bba3eea3549758d2.
2020-10-12 03:44:34 +02:00
van Hauser
c03fbcedaa
Merge branch 'memcache_marc' into dev 2020-10-12 03:18:54 +02:00
van Hauser
6a397d6111 add new seed selection algo and make it the default 2020-10-11 14:31:31 +02:00
Dominik Maier
2d5fadc1e6 hunting ref underflow 2020-10-06 16:45:25 +02:00
Dominik Maier
74dc227c44 code format 2020-10-06 15:38:36 +02:00
Dominik Maier
a4b60ca5b6 testcase cache added 2020-10-06 15:37:59 +02:00
van Hauser
e69b25e34b increase havoc_stack_pow2 on no finds 2020-09-28 10:13:00 +02:00
van Hauser
6b3b1775b6 improving on splice candidate check patch 2020-09-25 12:03:24 +02:00
Vitalii Akolzin
a75e7594f7 Add comments
Co-authored-by: Ivan Gulakov <gulakov@ispras.ru>
2020-09-24 18:50:59 +03:00
Vitalii Akolzin
888d63748a Fix potential endless loop in custom_mutator_stage
Co-authored-by: Ivan Gulakov <gulakov@ispras.ru>
2020-09-24 18:25:32 +03:00
vanhauser-thc
4b3ad5f037 add cull queue, -i subdir traversal 2020-09-05 12:32:10 +02:00
h1994st
9a6a32775f Prevent afl-fuzz from modifying stage_max during fuzzing 2020-08-27 00:32:53 -04:00
van Hauser
c7f0d30668 added afl_custom_fuzz_count 2020-08-24 17:32:41 +02:00
Dominik Maier
1301552101 added AFL_MAX_DET_EXTRAS env var 2020-08-23 01:48:36 +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
van Hauser
43214d6b46 more likely 2020-08-15 22:10:28 +02:00
van Hauser
2f28ecd3a5 more unlikely 2020-08-15 20:51:57 +02:00
root
af14acf2c1 Revert "Merge branch 'debug' into dev"
This reverts commit a7537b5511ad767d2240cf2dc6d3e261daa676f9, reversing
changes made to 15e799f7ae666418e75c6a79db833c5316b21f97.
2020-08-14 14:35:05 +02:00
van Hauser
a7537b5511
Merge branch 'debug' into dev 2020-08-14 13:23:14 +02:00
Dominik Maier
83df65a66b cleaned up maybe_add_auto calls 2020-08-14 00:46:15 +02:00
van Hauser
b604f5eafc finalize first beta! yay! 2020-08-11 18:06:18 +02:00
van Hauser
220dc4a43d review done, pray 2020-08-11 16:25:35 +02:00
van Hauser
457f627101 move taint_mode var 2020-08-11 15:10:18 +02:00
van Hauser
3ec1b23743 cleanup minor issues 2020-08-11 10:36:34 +02:00
van Hauser
0ba09ee85a enhancements 2020-08-11 10:24:45 +02:00
van Hauser
67dac15226
Merge branch 'debug' into taint 2020-08-11 03:40:12 +02:00
van Hauser
9c953ab51f memory grab at startup to prevent crashes 2020-08-10 13:03:59 +02:00
van Hauser
8f8555dfdf fix segfault 2020-08-10 12:05:30 +02:00
van Hauser
9ec223c844 final touches for first testing 2020-08-09 23:47:51 +02:00
van Hauser
558a82891a finalize havoc 2020-08-09 22:02:44 +02:00
van Hauser
4fc16b542e havoc copy 2020-08-09 21:32:15 +02:00
van Hauser
ff40359a60 fixes 2020-08-09 21:09:07 +02:00
van Hauser
e99d7e9730 integration in fuzz_one 2020-08-09 20:24:56 +02:00
murx-
9a1d526ed4 Add support for specific custom mutator name 2020-08-08 18:34:54 +02:00
Dominik Maier
699ebaa8e2 code format 2020-08-07 17:32:41 +02:00
Dominik Maier
22d3a5e90a enabled Wextra, fixed bugs 2020-08-07 16:55:58 +02:00
van Hauser
e2434cf8c6 remove datalen in havoc 2020-08-06 23:27:50 +02:00
van Hauser
c8354d7516 new rand mode for data offsets that prefer low offset values 2020-08-04 23:22:42 +02:00
van Hauser
f32811922e minor opt 2020-07-29 11:56:38 +02:00