194 Commits

Author SHA1 Message Date
vanhauser-thc
668f5e1fa9 debug output 2023-02-15 09:32:32 +01:00
vanhauser-thc
35f09e11a4 welcome 2023 2023-01-03 09:38:07 +01:00
vanhauser-thc
e5c725c4e0 custom mutator fix 2022-11-14 22:47:34 +01:00
vanhauser-thc
c5f8869778 afl_custom_fuzz_send added 2022-11-11 10:46:45 +01:00
vanhauser-thc
7b2145b914 shorter calibration 2022-08-19 09:16:17 +02:00
vanhauser-thc
d090232452 remove debug 2022-07-19 17:06:23 +02:00
vanhauser-thc
4d20b2d28b fix 2022-07-19 17:04:53 +02:00
vanhauser-thc
c67f98865e fix 2022-07-19 14:53:43 +02:00
vanhauser-thc
ca4a8c0f92 post_process 0/NULL return support 2022-07-19 12:24:03 +02:00
vanhauser-thc
b847e0f414 clang format 14 2022-07-12 09:04:54 +02:00
vanhauser-thc
83f32c5248 honor AFL_MAP_SIZE well outside of afl++ 2022-06-08 10:56:11 +02:00
vanhauser-thc
7c8246f18f fix 2022-05-09 14:30:40 +02:00
vanhauser-thc
51942b605d support post_process's own return buffer 2022-05-09 13:18:14 +02:00
vanhauser-thc
fa2b040476 fix LTO with cmplog and laf 2022-03-18 15:00:24 +01:00
mchesser
70cc32dc6d Fix issue with trim in shared memory mode 2022-03-07 14:28:45 +10:30
vanhauser-thc
d5b9cd4b73 add afl-fuzz -y fuzz length support 2022-02-05 08:27:17 +01:00
vanhauser-thc
e1082f2548 welcome 2022 2022-01-01 00:49:17 +01:00
vanhauser-thc
9063002af2 rename path 2021-12-09 13:22:10 +01:00
vanhauser-thc
9325a4fcbb http->https 2021-11-06 10:28:22 +01:00
vanhauser-thc
3deca3b09b fix lto cmplog stability issue 2021-10-15 11:25:02 +02:00
yuawn
08080e70a6 use HASH_CONST 2021-07-31 08:09:47 +00:00
vanhauser-thc
000b16af16 fix linefeed 2021-06-29 10:39:10 +02:00
vanhauser-thc
cbac22d82b reverse read the queue n resumes 2021-06-22 17:24:06 +02:00
vanhauser-thc
35153e9b49 correct map size for small targets 2021-06-16 15:33:03 +02:00
vanhauser-thc
f3362007ed code format 2021-06-14 22:59:48 +02:00
Dustin Spicuzza
ef5fd33120
Add debug output to alert user to calibration progress/issues (#969) 2021-06-14 21:21:01 +02:00
vanhauser-thc
a7340a1ac6 fix AFL_CAL_FAST 2021-06-10 10:25:37 +02:00
terrynini
753d5d74ff
remove redundant unsetenv (#947) 2021-06-01 12:39:39 +02:00
vanhauser-thc
07c3e47e6b fixes 2021-06-01 11:19:49 +02:00
vanhauser-thc
17e904eedf fix afl_custom_post_process with multiple custom mutators 2021-06-01 10:40:34 +02:00
vanhauser-thc
109383f438 less executions on variable paths 2021-05-25 09:08:31 +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
vanhauser-thc
86452cc959 fix stdin trimming 2021-04-30 23:41:06 +02:00
Dominik Maier
e9d2f72382 fixed potential double free in custom trim (#881) 2021-04-30 13:37:59 +02:00
vanhauser-thc
7ca51fab19 ensure one fuzzer sync per cycle, cycle introspection 2021-03-27 12:53:09 +01:00
vanhauser-thc
70c1de5d64 better forkserver error help and code format 2021-03-24 11:12:44 +01:00
vanhauser-thc
dfe6f7f8c9 make setting different file permissions easy via config.h 2021-03-23 20:21:08 +01:00
vanhauser-thc
fb2a6b6941 minimum sync time 2021-02-22 16:56:35 +01:00
Adrian Panasiuk
d046b28f2f Fix "src" attribute in sync stage filenames (#703) 2021-01-27 03:04:06 +00:00
van Hauser
e91f3b0de6 codeql fix 2021-01-19 10:41:42 +01:00
van Hauser
b9ba2805e5 minor changes 2021-01-12 17:31:29 +01:00
van Hauser
efd8042431 fix lto cmplog instability 2021-01-12 13:42:00 +01:00
Dominik Maier
3d1a25ce4e added check to silence scan-build 2021-01-08 11:54:35 +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
688f4ffb89 added corpus introspection 2020-12-28 14:01:48 +01:00
van Hauser
03849d147a warn on _AFL and __AFL env vars 2020-12-23 17:56:39 +01:00
hexcoder-
9a5ea5b5c2 workaround for Solaris: NAME_MAX is not defined 2020-12-22 20:33:06 +01:00
van Hauser
d07b0169cb skim import 2020-12-17 10:55:33 +01:00
hexcoder-
befb1a2f39 remove stray debugging fprintf 2020-12-12 16:40:13 +01:00