Commit Graph

200 Commits

Author SHA1 Message Date
779a72ef8c fixed AFL_POST_PROCESS_KEEP_ORIGINAL for version 4.07a 2023-04-21 16:46:15 +02:00
7101ffa1ae Merge remote-tracking branch 'origin/dev' into atnwalk
# Conflicts:
#	include/afl-fuzz.h
#	src/afl-fuzz-run.c
2023-04-21 11:31:22 +02:00
9ab902402c fixed code clones in atnwalk.c, introduced new environment variable AFL_POST_PROCESS_KEEP_ORIGINAL in AFL++ to integrate atnwalk without re-compiling afl-fuzz 2023-04-17 17:09:48 +02:00
450dbae8cd first version with unix domain sockets is ready for testing 2023-04-17 17:09:48 +02:00
8f6d9d66ef fix post_process 2023-04-15 09:11:33 +02:00
f756734ad2 fix attempt at post_process implementation 2023-04-13 12:07:27 +02:00
668f5e1fa9 debug output 2023-02-15 09:32:32 +01:00
35f09e11a4 welcome 2023 2023-01-03 09:38:07 +01:00
e5c725c4e0 custom mutator fix 2022-11-14 22:47:34 +01:00
c5f8869778 afl_custom_fuzz_send added 2022-11-11 10:46:45 +01:00
7b2145b914 shorter calibration 2022-08-19 09:16:17 +02:00
d090232452 remove debug 2022-07-19 17:06:23 +02:00
4d20b2d28b fix 2022-07-19 17:04:53 +02:00
c67f98865e fix 2022-07-19 14:53:43 +02:00
ca4a8c0f92 post_process 0/NULL return support 2022-07-19 12:24:03 +02:00
b847e0f414 clang format 14 2022-07-12 09:04:54 +02:00
83f32c5248 honor AFL_MAP_SIZE well outside of afl++ 2022-06-08 10:56:11 +02:00
7c8246f18f fix 2022-05-09 14:30:40 +02:00
51942b605d support post_process's own return buffer 2022-05-09 13:18:14 +02:00
fa2b040476 fix LTO with cmplog and laf 2022-03-18 15:00:24 +01:00
70cc32dc6d Fix issue with trim in shared memory mode 2022-03-07 14:28:45 +10:30
d5b9cd4b73 add afl-fuzz -y fuzz length support 2022-02-05 08:27:17 +01:00
e1082f2548 welcome 2022 2022-01-01 00:49:17 +01:00
9063002af2 rename path 2021-12-09 13:22:10 +01:00
9325a4fcbb http->https 2021-11-06 10:28:22 +01:00
3deca3b09b fix lto cmplog stability issue 2021-10-15 11:25:02 +02:00
08080e70a6 use HASH_CONST 2021-07-31 08:09:47 +00:00
000b16af16 fix linefeed 2021-06-29 10:39:10 +02:00
cbac22d82b reverse read the queue n resumes 2021-06-22 17:24:06 +02:00
35153e9b49 correct map size for small targets 2021-06-16 15:33:03 +02:00
f3362007ed code format 2021-06-14 22:59:48 +02:00
ef5fd33120 Add debug output to alert user to calibration progress/issues (#969) 2021-06-14 21:21:01 +02:00
a7340a1ac6 fix AFL_CAL_FAST 2021-06-10 10:25:37 +02:00
753d5d74ff remove redundant unsetenv (#947) 2021-06-01 12:39:39 +02:00
07c3e47e6b fixes 2021-06-01 11:19:49 +02:00
17e904eedf fix afl_custom_post_process with multiple custom mutators 2021-06-01 10:40:34 +02:00
109383f438 less executions on variable paths 2021-05-25 09:08:31 +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
86452cc959 fix stdin trimming 2021-04-30 23:41:06 +02:00
e9d2f72382 fixed potential double free in custom trim (#881) 2021-04-30 13:37:59 +02:00
7ca51fab19 ensure one fuzzer sync per cycle, cycle introspection 2021-03-27 12:53:09 +01:00
70c1de5d64 better forkserver error help and code format 2021-03-24 11:12:44 +01:00
dfe6f7f8c9 make setting different file permissions easy via config.h 2021-03-23 20:21:08 +01:00
fb2a6b6941 minimum sync time 2021-02-22 16:56:35 +01:00
d046b28f2f Fix "src" attribute in sync stage filenames (#703) 2021-01-27 03:04:06 +00:00
e91f3b0de6 codeql fix 2021-01-19 10:41:42 +01:00
b9ba2805e5 minor changes 2021-01-12 17:31:29 +01:00
efd8042431 fix lto cmplog instability 2021-01-12 13:42:00 +01:00
3d1a25ce4e added check to silence scan-build 2021-01-08 11:54:35 +01:00
6c095b3937 code format 2021-01-04 23:13:56 +01:00