112 Commits

Author SHA1 Message Date
van Hauser
0a3a708f9b less stack mem req 2021-01-23 10:01:09 +01:00
van Hauser
a0e884cf8b merge cmplog 2021-01-15 16:56:40 +01:00
van Hauser
dc81f681c9 fix weight calc, thanks to Marcel 2021-01-10 13:12:44 +01:00
van Hauser
20a47cb23e
Merge pull request #679 from AFLplusplus/dev
Dev
2021-01-08 15:43:13 +01:00
van Hauser
7b8c8cf12f fix 2021-01-08 00:47:52 +01:00
van Hauser
6c095b3937 code format 2021-01-04 23:13:56 +01:00
hexcoder-
c6e038fe25 code cleanups (shadowed vars, (un)signed type mismatches, format types, etc.) 2021-01-04 20:40:53 +01:00
van Hauser
fac373ec9e try new weighting 2021-01-01 13:42:58 +01:00
van Hauser
f38595f6b4 better weighting 2020-12-30 12:32:55 +01:00
van Hauser
0246fe9200 fix 32-bit mode, fix weighting 2020-12-30 10:34:22 +01:00
Marcel Böhme
0922763db1
Update afl-fuzz-queue.c 2020-12-29 14:57:05 +11:00
van Hauser
688f4ffb89 added corpus introspection 2020-12-28 14:01:48 +01:00
van Hauser
cc781e44f3 code format 2020-12-11 11:21:28 +01:00
van Hauser
8a1acac559 schedule improvements, new default is FAST 2020-12-11 10:28:39 +01:00
van Hauser
e5c50037d5 fix oversight for accessing nfuzz 2020-12-09 12:03:11 +01:00
van Hauser
d1eb4eeb7f weighting for explore and exploit 2020-12-09 08:34:54 +01:00
van Hauser
46156957bd fix aflfast changes 2020-12-08 11:07:11 +01:00
Marcel Boehme
06ec5ab3d7 Sampling next seed by weight (hit_count, bitmap_size, exec_us) 2020-12-07 21:32:25 +00:00
hexcoder
108a89b559
typo 2020-11-18 08:33:06 +01:00
Dominik Maier
23f37ff505 fixed alloc errors, code format 2020-11-18 02:33:47 +01:00
van Hauser
868cb61ea6 hopeful the final testcache improvement ... 2020-10-26 15:24:33 +01:00
van Hauser
e5f30c6908 fix testcache bug 2020-10-24 16:28:46 +02:00
Dominik Maier
4e99e3b36c initializing testcase_buf 2020-10-24 03:16:22 +02:00
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