203 Commits

Author SHA1 Message Date
vanhauser-thc
dbfa23b40a fixes 2023-02-06 16:38:52 +01:00
vanhauser-thc
35f09e11a4 welcome 2023 2023-01-03 09:38:07 +01:00
vanhauser-thc
0165ca8c6c hide queue introspection behind define 2022-12-20 13:36:56 +01:00
vanhauser-thc
26a5bd625c write queue statistics 2022-11-18 12:23:18 +01:00
vanhauser-thc
b847e0f414 clang format 14 2022-07-12 09:04:54 +02:00
Tobias Scharnowski
b595727f2f
Fix Byte Decrement Havoc Mutation
While looking at the source code of the havoc mutations I realized that there seems to be a typo / copy+paste error with the SUBBYTE_ mutation. It is currently incrementing, instead of decrementing the value.

Alternative Fix: Change the documentation to "/* Decrease byte by minus 1. */" to make it work as documented :-P
2022-06-10 18:38:37 +02:00
vanhauser-thc
79099a01f8 fix effector map calculation 2022-05-10 11:05:43 +02:00
vanhauser-thc
7c8246f18f fix 2022-05-09 14:30:40 +02:00
vanhauser-thc
68e8467859 fix 2022-05-02 14:11:25 +02:00
vanhauser-thc
293e255734 fix mopt random selection 2022-05-02 13:09:34 +02:00
vanhauser-thc
0b228fb0f5 fix token usage in normal and MOpt mode 2022-05-02 08:17:06 +02:00
vanhauser-thc
27ab84fbf1 fix skipping unfavored fuzzed entries 2022-01-13 16:38:18 +01:00
vanhauser-thc
e1082f2548 welcome 2022 2022-01-01 00:49:17 +01:00
vanhauser-thc
53fa703755 more havoc 2021-12-27 19:06:06 +01:00
yuawn
7603e49765 rename active_paths 2021-12-11 10:07:16 +00:00
vanhauser-thc
6ce72deb75 more rename 2021-12-09 15:21:12 +01:00
vanhauser-thc
9063002af2 rename path 2021-12-09 13:22:10 +01:00
van Hauser
fb443eaf23
Merge pull request #1141 from AFLplusplus/afl4
cmplog enhancement variant
2021-11-07 14:09:09 +01:00
vanhauser-thc
9325a4fcbb http->https 2021-11-06 10:28:22 +01:00
vanhauser-thc
ed10f3783b new rtn cmplog: instrumentation side + supporting functions 2021-10-17 13:05:33 +02:00
yuawn
9d3816abff remove unused code 2021-07-25 16:25:37 +00:00
vanhauser-thc
dc0fed6e0c handle single seed with perf_score 0 2021-07-23 10:34:51 +02:00
Michael Rodler
cd683ed253 fixed potential UAF with custom mutator havoc on realloc 2021-07-15 11:03:20 +02:00
yuan
7cec158b0e
fix havoc comments (#1020) 2021-07-14 07:53:20 +02:00
van Hauser
7038e56da3
Select (#995)
* favor unfuzzed

* fix

* reinit table after a new fuzz
2021-06-27 10:22:18 +02:00
vanhauser-thc
74fcb365e9 little inline 2021-06-14 12:36:41 +02:00
vanhauser-thc
7665354405 threadsafe doc fixes, code format 2021-06-01 10:13:16 +02:00
vanhauser-thc
72ca9b4684 fix a few cur_time uses 2021-05-11 22:06:37 +02:00
realmadsci
1d9a3d955c
Fix memory errors when trim causes testcase growth (#881) (#903)
* Revert "fixed potential double free in custom trim (#881)"

This reverts commit e9d2f72382cab75832721d859c3e731da071435d.

* Revert "fix custom trim for increasing data"

This reverts commit 86a8ef168dda766d2f25f15c15c4d3ecf21d0667.

* 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 e9d2f72382cab75832721d859c3e731da071435d commit that was
reverted.
2021-05-07 00:14:16 +02:00
Dominik Maier
e9d2f72382 fixed potential double free in custom trim (#881) 2021-04-30 13:37:59 +02:00
vanhauser-thc
ae9087b390 update havoc 2021-04-14 17:30:08 +02:00
vanhauser-thc
1edc3ece61 add introspection 2021-03-27 12:50:57 +01:00
vanhauser-thc
eda1ee0807 restructure havoc 2021-03-27 12:24:18 +01:00
vanhauser-thc
d68bd656fe fix counting favorites 2021-03-24 11:12:44 +01:00
van Hauser
d808a8401e import cmplog opts 2021-02-01 12:16:55 +01:00
aflpp
e5116c6d55 fix -Z, remove q->next 2021-01-31 17:29:37 +01:00
van Hauser
9d08f0d098 added AFL_CMPLOG_ONLY_NEW feature 2021-01-30 15:39:47 +01:00
van Hauser
a61a30dee0 fix another pending_not_fuzzed location 2021-01-28 14:11:33 +01:00
van Hauser
e0663c91b9 wip fix 2021-01-26 12:15:13 +01:00
van Hauser
cd8668ad3a mopt fix 2021-01-25 13:55:09 +01:00
van Hauser
c71ce79963 fix colorization 2021-01-17 15:18:20 +01:00
van Hauser
a0e884cf8b merge cmplog 2021-01-15 16:56:40 +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
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
Dominik Maier
a19b3022d9 afl_custom_describe api added 2020-12-04 14:26:47 +01:00
van Hauser
1dfd7df7c0 small fix to actually document custom mutator introspection 2020-11-10 14:16:36 +01:00
van Hauser
8e1047f5ef support custom mutator introspection 2020-11-10 14:08:21 +01:00
van Hauser
a728e8f9a5 better scriptable output from introspection 2020-11-06 16:42:02 +01:00
van Hauser
416e01d3c6 match mopt to havoc 2020-11-02 11:04:35 +01:00