89 Commits

Author SHA1 Message Date
van Hauser
aa0d378520 better cache entry algo 2020-10-23 15:21:21 +02:00
van Hauser
0e748ccda7 set max testcache entries automated if not specified by the user 2020-10-23 14:05:34 +02:00
van Hauser
c866aef37f maybe enhancement to cache algo 2020-10-22 21:07:37 +02:00
van Hauser
8d75c08938 change queue cache algo 2020-10-22 15:48:09 +02:00
hexcoder-
d0cdbc48ae always close file descriptor when opened, use standard types 2020-10-20 00:07:40 +02:00
van Hauser
ac1c3b8701 mini improvements 2020-10-19 11:34:57 +02:00
van Hauser
fcea01a8ea add eviction stat 2020-10-17 11:38:55 +02:00
van Hauser
d5c3b4bafd directly add new queue to cache 2020-10-16 09:35:35 +02:00
van Hauser
f41aafa4f7 retake from mem if possible 2020-10-15 15:48:39 +02:00
van Hauser
354bda2846 fix reget of testcase after trim 2020-10-15 15:33:47 +02:00
van Hauser
0f8529a3db prepare halloween fuzzbench run 2020-10-15 15: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
d9b63766df fix new seed selection algo 2020-10-12 11:12:16 +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
4f207b4eba fixed ref check 2020-10-06 16:20:32 +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
383cd487a2 small improvements to Marcel's patch, fix laf-intel + redqueen crashes 2020-09-29 15:02:57 +02:00
Marcel Boehme
e87eca7fe8 Patching and improving AFLFast schedules. 2020-09-29 11:53:27 +00:00
van Hauser
6b3b1775b6 improving on splice candidate check patch 2020-09-25 12:03:24 +02: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
van Hauser
7ff9800804 fix exploit, mmopt and rare schedule 2020-09-19 15:13:15 +02:00
van Hauser
6404abd7d6 bugfix for fixed seeds 2020-09-07 17:30:28 +02:00
vanhauser-thc
2f90f2faba code-format 2020-09-05 13:19:19 +02:00
vanhauser-thc
e30b2c6af6 final changes for pre-3.0 2020-09-05 13:18:28 +02:00
vanhauser-thc
4b3ad5f037 add cull queue, -i subdir traversal 2020-09-05 12:32:10 +02:00
van Hauser
4c48d3a3ad update xxh3 to 0.8.0, fix is_ascii 2020-09-03 09:59:23 +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
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
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
4f695b6f4c fixes 2020-08-11 11:16:48 +02:00
van Hauser
3ec1b23743 cleanup minor issues 2020-08-11 10:36:34 +02:00
van Hauser
f181a8307b put ! in .new map 2020-08-10 12:48:15 +02:00
van Hauser
ff40359a60 fixes 2020-08-09 21:09:07 +02:00
van Hauser
b60663c031 taint integration done 2020-08-09 18:48:12 +02:00
van Hauser
f30ca1476c fix short write 2020-08-05 11:17:15 +02:00
van Hauser
ea9ba53cdb fix oob reads, code-format 2020-07-30 17:09:22 +02:00
van Hauser
f32811922e minor opt 2020-07-29 11:56:38 +02:00
van Hauser
ce9b4698fe added andrea's splicing, added cycle_schedules 2020-07-21 20:53:51 +02:00
Andrea Fioraldi
c2b04bdf6c queue buffer and new splice havoc mutation 2020-07-16 14:32:41 +02:00
root
4b99ebbf22 Revert "Merge branch 'text_inputs' into dev"
This reverts commit 6d9b29daca46c8912aa9ddf6c053bc8554e9e9f7, reversing
changes made to 07648f75ea5ef8f03a92db0c7566da8c229dc27b.
2020-06-29 18:48:17 +02:00
van Hauser
6d9b29daca
Merge branch 'text_inputs' into dev 2020-06-29 18:35:51 +02:00
van Hauser
8bd8442bcc fix for schedules 2020-06-25 22:44:46 +02:00
van Hauser
b5573b3adb add seek power schedule, remove update stats in calibration, fix help output 2020-06-25 10:33:59 +02:00
van Hauser
76a2d9b59b further refinement 2020-06-22 13:48:59 +02:00