ccb952dde8
Revert "Replace gettimeofday with clock_gettime ( #2159 )"
...
This reverts commit 7c380a6612
.
2024-07-14 10:18:23 +02:00
7c380a6612
Replace gettimeofday with clock_gettime ( #2159 )
2024-07-14 00:25:58 +02:00
bd83eb0f42
check the sync_id length once
2024-07-12 16:22:17 -04:00
02f4f75526
Fix missed updates of alias table when INTROSPECTION is on
...
In src/afl-fuzz.c `prev_queued_items` is used to decide whether the alias table should be recreated through the comparison with `afl->queued_items`.
43f462c91b/src/afl-fuzz.c (L3103-L3117)
However, this variable is also updated to `afl->queued_items` when INTROSPECTION is enabled and the `fuzz_one` appends seeds.
43f462c91b/src/afl-fuzz.c (L3135-L3140)
Due to the update of `prev_queued_items` when INTROSPECTION is on, alias table may not be recreated when it actually should be.
This can lead to potential heap buffer-overflow in `select_next_queue_entry` due to the lack of `afl_realloc` called in `create_alias_table`.
This patch fixes this bug by utilizing another variable for the INTROSPECTION part like other variables such as `prev_saved_tmouts`.
2024-07-10 21:39:04 +09:00
ba7313b521
AFL_CUSTOM_MUTATOR_LATE_SEND added
2024-06-27 18:51:58 +02:00
ecb5854be0
add zlib compression for fast resume
2024-06-21 14:40:23 +02:00
2fbc0aefb1
Auto disable memory limits for FASAN
2024-06-20 00:10:40 +02:00
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
b8568034f0
code format and changelog
2024-06-18 15:42:34 +02:00
3ebf41ba34
Merge pull request #2128 from AFLplusplus/fastrestart
...
Fastrestart
2024-06-18 15:28:56 +02:00
304e84502d
fast resume option
2024-06-18 15:24:38 +02:00
de176a10bc
nit
2024-06-17 09:31:42 +02:00
dd762726dc
fastresume implementation
2024-06-12 09:10:35 +02:00
6ed0a2b4aa
fast resume setup detection
2024-06-10 18:22:06 +02:00
31652eeb2a
nit
2024-06-09 12:19:58 +02:00
4bb4d4ad00
fix -n
2024-06-09 12:16:32 +02:00
5331eca5d9
allow multiple -m
2024-06-09 12:02:59 +02:00
12a87cfacb
nits
2024-06-05 10:40:12 +02:00
2806d6be2f
optimize syncing
2024-06-05 09:20:30 +02:00
2d9b793dbb
AFL_NO_SYNC
2024-06-04 14:48:02 +02:00
56d5aa3101
log
2024-05-17 23:55:43 +02:00
6dd5e931fc
Fix runtime underflow & -V exiting before syncing
...
print_stats sets exit_soon even while syncing, this leaves -V 0 still broken, as we don't finish syncing.
Additionally, the change that introduced the previous -V fix also broke the runtime tracking, as runtime needs to include all time including sync, splice etc. This caused an underflow in the reported runtime.
2024-05-17 14:33:32 -07:00
5ee5564ae2
backup afl->max_length to afl->fsrv.max_length
2024-05-14 18:28:18 +08:00
622474e9e4
disable -> no variants
2024-05-13 19:51:38 +02:00
26eaf53a83
AFL_DISABLE_REDUNDANT
2024-05-02 08:35:24 +02:00
40adc34413
fix -V, code format
2024-04-09 09:24:19 +02:00
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
b85174fc8d
nit
2024-03-12 04:00:19 +01:00
036a79268b
gcc cmplog fix
2024-02-29 09:10:29 +01:00
fae760fc9e
Add upper and lower safety margins
2024-02-23 13:39:46 +01:00
eaedf2e62f
Adhere to documented behavior
2024-02-23 12:52:11 +01:00
07e0b39126
Do not circumvent sanity checks from arg parsing
2024-02-22 15:55:18 +01:00
98238ed763
Convert from microseconds (us) to milliseconds (ms)
2024-02-22 15:28:55 +01:00
369fce9c85
code format
2024-02-08 15:13:46 +01:00
48070e0148
Merge branch '420' into dev
2024-02-08 14:51:13 +01:00
c23bbddde9
workaround for MOpt bug with -S
2024-02-08 14:31:36 +01:00
038fef962c
performance
2024-02-08 12:46:08 +01:00
42c663e7c7
Merge pull request #1965 from CodeLinaro/stateful
...
replay mode support
2024-02-08 10:29:33 +01:00
6d209ce045
fix -z
2024-02-04 16:16:32 +01:00
c77709cdd9
add U256/32byte support
2024-02-04 16:03:12 +01:00
d85722a4f6
deterministic fuzzing and -z
2024-02-03 13:31:31 +01:00
ed1a6f8a57
2024 v4.10c release
2024-02-03 11:01:31 +01:00
5ba66a8860
final touches for skipdet
2024-02-01 15:22:51 +01:00
06f0982f0f
Enhancement on Deterministic stage ( #1972 )
...
* fuzzer: init commit based on aflpp 60dc37a8cf
* fuzzers: adding the skip variables and initialize
* log: profile the det/havoc finding
* log: add profile log output
* fuzzers: sperate log/skipdet module
* fuzzers: add quick eff_map calc
* fuzzers: add skip_eff_map in fuzz_one
* fuzzers: mark whole input space in eff_map
* fuzzers: add undet bit threshold to skip some seeds
* fuzzers: fix one byte overflow
* fuzzers: fix overflow
* fix code format
* add havoc only again
* code format
* remove log to INTROSPECTION, rename skipdet module
* rename skipdet module
* remove log to stats
* clean redundant code
* code format
* remove redundant code format check
* remove redundant doc
* remove redundant objects
* clean files
* change -d to default skipdet
* disable deterministic when using CUSTOM_MUTATOR
* revert fix
2024-02-01 14:13:21 +00:00
9604fe922e
nyx test for CI
2024-01-30 15:06:34 +01:00
8fedf49984
replay mode support
2024-01-23 19:36:49 +01:00
9cefc4d3d4
fix docs
2024-01-22 11:00:56 +01:00
523ce154c3
disable aslr on apple
2024-01-18 11:22:06 +01:00
1eb54c4c3e
finish injection implementation
2023-12-30 10:49:00 +01:00
353ae3682a
switch to explore powerschedule as default
2023-12-15 10:24:12 +01:00