9d3816abff
remove unused code
2021-07-25 16:25:37 +00:00
dc0fed6e0c
handle single seed with perf_score 0
2021-07-23 10:34:51 +02:00
cd683ed253
fixed potential UAF with custom mutator havoc on realloc
2021-07-15 11:03:20 +02:00
7cec158b0e
fix havoc comments ( #1020 )
2021-07-14 07:53:20 +02:00
7038e56da3
Select ( #995 )
...
* favor unfuzzed
* fix
* reinit table after a new fuzz
2021-06-27 10:22:18 +02:00
74fcb365e9
little inline
2021-06-14 12:36:41 +02:00
7665354405
threadsafe doc fixes, code format
2021-06-01 10:13:16 +02:00
72ca9b4684
fix a few cur_time uses
2021-05-11 22:06:37 +02:00
1d9a3d955c
Fix memory errors when trim causes testcase growth ( #881 ) ( #903 )
...
* Revert "fixed potential double free in custom trim (#881 )"
This reverts commit e9d2f72382
.
* Revert "fix custom trim for increasing data"
This reverts commit 86a8ef168d
.
* Fix memory errors when trim causes testcase growth
Modify trim_case_custom to avoid writing into in_buf because
some custom mutators can cause the testcase to grow rather than
shrink.
Instead of modifying in_buf directly, we write the update out
to the disk when trimming is complete, and then the caller is
responsible for refreshing the in-memory buffer from the file.
This is still a bit sketchy because it does need to modify q->len in
order to notify the upper layers that something changed, and it could
end up telling upper layer code that the q->len is *bigger* than
the buffer (q->testcase_buf) that contains it, which is asking
for trouble down the line somewhere...
* Fix an unlikely situation
Put back some `unlikely()` calls that were in
the e9d2f72382
commit that was
reverted.
2021-05-07 00:14:16 +02:00
e9d2f72382
fixed potential double free in custom trim ( #881 )
2021-04-30 13:37:59 +02:00
ae9087b390
update havoc
2021-04-14 17:30:08 +02:00
1edc3ece61
add introspection
2021-03-27 12:50:57 +01:00
eda1ee0807
restructure havoc
2021-03-27 12:24:18 +01:00
d68bd656fe
fix counting favorites
2021-03-24 11:12:44 +01:00
d808a8401e
import cmplog opts
2021-02-01 12:16:55 +01:00
e5116c6d55
fix -Z, remove q->next
2021-01-31 17:29:37 +01:00
9d08f0d098
added AFL_CMPLOG_ONLY_NEW feature
2021-01-30 15:39:47 +01:00
a61a30dee0
fix another pending_not_fuzzed location
2021-01-28 14:11:33 +01:00
e0663c91b9
wip fix
2021-01-26 12:15:13 +01:00
cd8668ad3a
mopt fix
2021-01-25 13:55:09 +01:00
c71ce79963
fix colorization
2021-01-17 15:18:20 +01:00
a0e884cf8b
merge cmplog
2021-01-15 16:56:40 +01:00
c6e038fe25
code cleanups (shadowed vars, (un)signed type mismatches, format types, etc.)
2021-01-04 20:40:53 +01:00
46156957bd
fix aflfast changes
2020-12-08 11:07:11 +01:00
06ec5ab3d7
Sampling next seed by weight (hit_count, bitmap_size, exec_us)
2020-12-07 21:32:25 +00:00
a19b3022d9
afl_custom_describe api added
2020-12-04 14:26:47 +01:00
1dfd7df7c0
small fix to actually document custom mutator introspection
2020-11-10 14:16:36 +01:00
8e1047f5ef
support custom mutator introspection
2020-11-10 14:08:21 +01:00
a728e8f9a5
better scriptable output from introspection
2020-11-06 16:42:02 +01:00
416e01d3c6
match mopt to havoc
2020-11-02 11:04:35 +01:00
0fd98ae8b0
added mutation introspection make target
2020-11-01 21:34:08 +01:00
b5686eb63e
fixes two huge bugs
2020-10-29 00:05:28 +01:00
93c9093817
merge conflict
2020-10-28 14:36:49 +01:00
fe705bb956
expand havoc if not new findings in the last 5 seconds
2020-10-28 14:32:53 +01:00
ac1c3b8701
mini improvements
2020-10-19 11:34:57 +02:00
ea0851c654
fix previous commit
2020-10-15 12:54:18 +02:00
d1e18f9edf
fix afl_swap_bufs usage?
2020-10-15 12:20:33 +02:00
0139b8cdcb
add missing swap bufs
2020-10-15 10:28:11 +02:00
24e0c9cf65
add missing swap bufs
2020-10-15 10:22:40 +02:00
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
d6da5605c8
fix splicing selection
2020-10-12 04:03:42 +02:00
b7e0490bcd
Revert "Merge branch 'memcache_marc' into dev"
...
This reverts commit c03fbcedaa
, reversing
changes made to dab017ddda
.
2020-10-12 03:44:34 +02:00
c03fbcedaa
Merge branch 'memcache_marc' into dev
2020-10-12 03:18:54 +02:00
6a397d6111
add new seed selection algo and make it the default
2020-10-11 14:31:31 +02:00
2d5fadc1e6
hunting ref underflow
2020-10-06 16:45:25 +02:00
74dc227c44
code format
2020-10-06 15:38:36 +02:00
a4b60ca5b6
testcase cache added
2020-10-06 15:37:59 +02:00
e69b25e34b
increase havoc_stack_pow2 on no finds
2020-09-28 10:13:00 +02:00
6b3b1775b6
improving on splice candidate check patch
2020-09-25 12:03:24 +02:00
a75e7594f7
Add comments
...
Co-authored-by: Ivan Gulakov <gulakov@ispras.ru >
2020-09-24 18:50:59 +03:00