838 Commits

Author SHA1 Message Date
rapt0r
c1d9a4fab9 feat: introduce GCC disable environment variable
This change is to disable the GCC plugin version check for
GCC plugin and CMPLOG, to overcome the issues with incompatability
with expected GCC version and actual GCC version used to compile
using `AFL_GCC_DISABLE_VERSION_CHECK` environment variable.
2024-10-19 22:19:41 +09:00
vanhauser-thc
4cc9232485 add AFL_OPT_LEVEL support 2024-10-16 18:26:08 +02:00
vanhauser-thc
4a1cf0b9af code format 2024-10-07 13:43:19 +02:00
Sergej Schumilo
1d6cd5dd19 fix AFL_AUTORESUME=1 for Nyx mode 2024-09-14 03:51:20 +02:00
vanhauser-thc
1689a8e053 code format, llvm 18 2024-08-19 16:25:32 +02:00
vanhauser-thc
6e37f9b237 new cmplog map 2024-07-24 14:48:23 +02:00
vanhauser-thc
ccb952dde8 Revert "Replace gettimeofday with clock_gettime (#2159)"
This reverts commit 7c380a6612f00e4a7ed02364dc2b3769e8edc8f8.
2024-07-14 10:18:23 +02:00
carpintero-de-c
7c380a6612
Replace gettimeofday with clock_gettime (#2159) 2024-07-14 00:25:58 +02:00
vanhauser-thc
50ae95cee4 add AFL_OLD_FORKSERVER feature 2024-06-29 16:31:08 +02:00
vanhauser-thc
9d33580aac code format 2024-06-28 16:46:42 +02:00
vanhauser-thc
ba7313b521 AFL_CUSTOM_MUTATOR_LATE_SEND added 2024-06-27 18:51:58 +02:00
Kuan-Wei Chiu
ac5815d994 Optimize bit counting using __builtin_popcount
Use the __builtin_popcount intrinsic to optimize the bit counting
function if the compiler supports it. This change replaces the manual
bit counting algorithm with the more efficient built-in function, which
leverages hardware support on compatible processors.

This modification ensures that the code remains backward-compatible by
falling back to the original implementation when __builtin_popcount is
not available.
2024-06-24 06:52:07 +08:00
vanhauser-thc
ecb5854be0 add zlib compression for fast resume 2024-06-21 14:40:23 +02:00
Christian Holler (:decoder)
8fcca6fb41 Collect persistent coverage data and dump it at the end of the run
With CODE_COVERAGE builds, we need to collect the coverage data of each
iteration in a persistant buffer that has the same size as the regular
trace buffer used for fuzzing. We dump this information at the end of
the run and when combined with pointer data and module info, this can be
used to calculate code coverage.
2024-06-19 12:36:58 +02:00
vanhauser-thc
b8568034f0 code format and changelog 2024-06-18 15:42:34 +02:00
vanhauser-thc
304e84502d fast resume option 2024-06-18 15:24:38 +02:00
vanhauser-thc
dd762726dc fastresume implementation 2024-06-12 09:10:35 +02:00
vanhauser-thc
f2cd5e1d8e v4.22a init 2024-06-09 19:15:12 +02:00
vanhauser-thc
ec0b83f127 4.21c 2024-06-09 18:39:56 +02:00
vanhauser-thc
f0937f96d4 target hash 2024-06-07 11:48:58 +02:00
vanhauser-thc
0618bfd4ae fix 2024-06-07 09:58:27 +02:00
vanhauser-thc
bdfd38771a add cmplog_time measurement 2024-06-07 09:47:29 +02:00
vanhauser-thc
2806d6be2f optimize syncing 2024-06-05 09:20:30 +02:00
vanhauser-thc
2d9b793dbb AFL_NO_SYNC 2024-06-04 14:48:02 +02:00
vanhauser-thc
9419e39fdf nits 2024-05-31 18:32:31 +02:00
vanhauser-thc
1db3b81d2e dump cc 2024-05-15 14:16:44 +02:00
vanhauser-thc
7d3530a22e nit 2024-05-14 13:07:47 +02:00
nj00001
831b8f35d5
Keep a backup of max_length in the afl_forkserver_t structure 2024-05-14 18:23:53 +08:00
vanhauser-thc
622474e9e4 disable -> no variants 2024-05-13 19:51:38 +02:00
Samuel Moelius
c03f2897d0 Add AFL_SHA1_FILENAMES option 2024-05-12 05:44:14 -04:00
vanhauser-thc
26eaf53a83 AFL_DISABLE_REDUNDANT 2024-05-02 08:35:24 +02:00
vanhauser-thc
476aca5b67 nits 2024-04-19 15:45:00 +02:00
vanhauser-thc
6b049536f1 v4.21 init 2024-04-13 11:54:08 +02:00
van Hauser
1582aa9da2
Merge pull request #2027 from choller/nyx-handler-fix
Add optional handling of Nyx InvalidWriteToPayload event
2024-04-13 11:40:28 +02:00
vanhauser-thc
e01307a993 v4.20c 2024-04-13 11:39:26 +02:00
vanhauser-thc
40adc34413 fix -V, code format 2024-04-09 09:24:19 +02:00
Cornelius Aschermann
48a862c503 :Adds stats tracking time spend in calibration/trim/sync
This currently does not affect statsd nor the UI. Only the fuzzer_stats file is updated
2024-04-08 11:54:19 -07:00
vanhauser-thc
f7ea0f569f fix aflpp custom mutator + standalone tool 2024-04-05 14:53:02 +02:00
=
08f6d59f50 correct fix 2024-03-11 12:01:06 +00:00
=
2ed2ac80bc fix record compat loop to replay correct number of inputs, and at least one input 2024-03-11 10:30:35 +00:00
Christian Holler (:decoder)
52e19d35fa Add optional handling of Nyx InvalidWriteToPayload event 2024-03-06 10:55:53 +01:00
vanhauser-thc
036a79268b gcc cmplog fix 2024-02-29 09:10:29 +01:00
vanhauser-thc
369fce9c85 code format 2024-02-08 15:13:46 +01:00
van Hauser
48070e0148
Merge branch '420' into dev 2024-02-08 14:51:13 +01:00
vanhauser-thc
038fef962c performance 2024-02-08 12:46:08 +01:00
van Hauser
42c663e7c7
Merge pull request #1965 from CodeLinaro/stateful
replay mode support
2024-02-08 10:29:33 +01:00
Davide Quarta
e405e721fa reuse first_pass aux var in persistent loop for record replay mode, keep area ptr and loc logic intact in record replay mode, move replay record example to own dir in utils, update docs, move record compat layer to separate header file 2024-02-06 18:19:52 +01:00
Davide Quarta
023fc19ce0 better replay mode error handling, added replay mode documentation, code formatting 2024-02-05 18:26:46 +01:00
vanhauser-thc
40df85d1e6 adjust cmplog header 2024-02-05 15:05:46 +01:00
vanhauser-thc
47e7d243f7 increase version 2024-02-04 16:18:21 +01:00