Commit Graph

265 Commits

Author SHA1 Message Date
5218c0b187 all mutation strategies 2023-03-29 22:53:15 +02:00
01236f47bc nits 2023-03-28 16:50:05 +02:00
c33f8751e3 Merge pull request #1651 from AFLplusplus/dev
Dev
2023-02-21 01:11:00 +01:00
6f4b5ae083 nit 2023-02-21 01:07:02 +01:00
91b7f1c9f2 fix regression 2023-02-21 01:05:46 +01:00
668f5e1fa9 debug output 2023-02-15 09:32:32 +01:00
ab26356bf7 Increase fuzz_level for mopt_common_fuzzing
Change performance score calculation for lin and quad power schedules
2023-02-07 19:50:31 +03:00
dbfa23b40a fixes 2023-02-06 16:38:52 +01:00
91ccbf3f68 fix 2023-02-01 17:16:51 +01:00
1b4e1d75b3 cmplog decision updates 2023-01-25 13:52:22 +01:00
eeca3a0b29 lots of fixes 2023-01-19 11:52:19 +01:00
14d8eb9e40 autotoken: splicing; splice_optout 2023-01-18 22:17:14 +01:00
8cc1c6c54e nits 2023-01-16 10:18:08 +01:00
35f09e11a4 welcome 2023 2023-01-03 09:38:07 +01:00
0165ca8c6c hide queue introspection behind define 2022-12-20 13:36:56 +01:00
26a5bd625c write queue statistics 2022-11-18 12:23:18 +01:00
b847e0f414 clang format 14 2022-07-12 09:04:54 +02:00
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
79099a01f8 fix effector map calculation 2022-05-10 11:05:43 +02:00
7c8246f18f fix 2022-05-09 14:30:40 +02:00
68e8467859 fix 2022-05-02 14:11:25 +02:00
293e255734 fix mopt random selection 2022-05-02 13:09:34 +02:00
0b228fb0f5 fix token usage in normal and MOpt mode 2022-05-02 08:17:06 +02:00
27ab84fbf1 fix skipping unfavored fuzzed entries 2022-01-13 16:38:18 +01:00
e1082f2548 welcome 2022 2022-01-01 00:49:17 +01:00
53fa703755 more havoc 2021-12-27 19:06:06 +01:00
7603e49765 rename active_paths 2021-12-11 10:07:16 +00:00
6ce72deb75 more rename 2021-12-09 15:21:12 +01:00
9063002af2 rename path 2021-12-09 13:22:10 +01:00
fb443eaf23 Merge pull request #1141 from AFLplusplus/afl4
cmplog enhancement variant
2021-11-07 14:09:09 +01:00
9325a4fcbb http->https 2021-11-06 10:28:22 +01:00
ed10f3783b new rtn cmplog: instrumentation side + supporting functions 2021-10-17 13:05:33 +02:00
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