234 Commits

Author SHA1 Message Date
vanhauser-thc
6ed0a2b4aa fast resume setup detection 2024-06-10 18:22:06 +02:00
vanhauser-thc
bdfd38771a add cmplog_time measurement 2024-06-07 09:47:29 +02:00
vanhauser-thc
2d9b793dbb AFL_NO_SYNC 2024-06-04 14:48:02 +02:00
vanhauser-thc
4e3cd8ac3f nit 2024-05-20 14:02:22 +02:00
Cornelius Aschermann
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
vanhauser-thc
476aca5b67 nits 2024-04-19 15:45:00 +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
306a917956 UI fix 2024-03-07 12:09:22 +01:00
vanhauser-thc
6d209ce045 fix -z 2024-02-04 16:16:32 +01:00
vanhauser-thc
ed1a6f8a57 2024 v4.10c release 2024-02-03 11:01:31 +01:00
Han Zheng
06f0982f0f
Enhancement on Deterministic stage (#1972)
* fuzzer: init commit based on aflpp 60dc37a8cf09f8e9048e4b6a2204d6c90b27655a

* 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
van Hauser
e4f3ebcebb
Merge pull request #1915 from yangzao/dev
add custom mutator function for running script after target gets executed
2023-11-28 05:55:23 +01:00
yangzao
c9e0f01b43 format code 2023-11-27 09:58:03 -07:00
vanhauser-thc
c96aa400e4 mini fix 2023-11-23 21:28:44 +01:00
vanhauser-thc
a071430983 fix inf in stats 2023-11-16 11:00:40 +01:00
coco
c622e4c565 Make fuzzer_stats update atomic
This writes fuzzer_stats to a temp file and then atomically renames the
temp file into fuzzer_stats so that any read on fuzzer_stats will always
return a consistent view of the AFL state (otherwise there is a very
low change of AFL's write and $tool's reads to race and yield
inconsistent results).
2023-10-04 12:44:56 -07:00
vanhauser-thc
d97c7e4258 nits 2023-10-03 11:14:59 +02:00
Nikolay Shaplov
5eb4c6eacd Use shorter fuzzer name in stat header when user's banner is too big 2023-09-19 21:55:40 +03:00
vanhauser-thc
4113b6ccad take care of uninstrumented mode for fuzz state and mode 2023-07-18 09:56:28 +02:00
vanhauser-thc
936b6dcb5d nits 2023-06-21 09:57:24 +02:00
vanhauser-thc
7b29f2cd24 fix timeout for sessions restart and + usage 2023-06-20 19:58:14 +02:00
vanhauser-thc
25eba95bba update new feature config 2023-06-12 08:43:30 +02:00
vanhauser-thc
c28779adc5 show fuzzing state 2023-06-08 12:32:51 +02:00
van Hauser
4deb45f3b3
Merge pull request #1759 from AFLplusplus/dev
Dev
2023-06-06 17:36:04 +03:00
vanhauser-thc
3ab18d2861 mode switch 2023-04-04 19:44:12 +02:00
vanhauser-thc
319b2e8e6f fix ui layout with slow targets in pizza mode 2023-04-02 12:08:54 +02:00
vanhauser-thc
4d02d8e43d fix buffer overflow in pizza mode :( 2023-04-02 11:52:36 +02:00
vanhauser-thc
b1bfc1ae76 time_wo_finds in fuzzer_stats 2023-03-27 17:52:01 +02:00
vanhauser-thc
5221938945 various fixes 2023-03-09 17:36:13 +01:00
van Hauser
aa125f8246
Merge pull request #1667 from amitelka/feature/opt_statsfile_update_interval
Added env variable to allow custom interval update of fuzzer_stats file
2023-03-06 11:51:56 +01:00
vanhauser-thc
e6a05382b8 fix IGNORE_PROBLEMS and update qemuafl 2023-03-06 09:59:52 +01:00
Amit Elkabetz
403d95d2d2 auto code format fixes 2023-03-05 18:21:35 +02:00
Amit Elkabetz
07cf27cddc Added flag -u to allow custom interval to update fuzzer_stats file 2023-03-05 18:16:21 +02:00
Eli Kobrin
7c07437941 Fix. 2023-03-02 17:42:34 +03:00
Eli Kobrin
85fa17451d Fix exit on time. 2023-03-02 17:04:43 +03:00
vanhauser-thc
35f09e11a4 welcome 2023 2023-01-03 09:38:07 +01:00
vanhauser-thc
0165ca8c6c hide queue introspection behind define 2022-12-20 13:36:56 +01:00
vanhauser-thc
26a5bd625c write queue statistics 2022-11-18 12:23:18 +01:00
vanhauser-thc
ca9854a924 nits 2022-10-19 10:17:12 +02:00
Kobrin Eli
26d4771678
Fix exit_on_time (#1555) 2022-10-15 12:06:11 +02:00
vanhauser-thc
6afca4f073 fix help links 2022-09-17 14:05:24 +02:00
vanhauser-thc
b847e0f414 clang format 14 2022-07-12 09:04:54 +02:00
Luca Di Bartolomeo
066d65d846
Fix wrong memchr size in android (#1429)
Need to fix this otherwise ASAN will always complain about heap buffer overflows and refuse to run.

Co-authored-by: van Hauser <vh@thc.org>
2022-05-27 17:55:21 +02:00
vanhauser-thc
0b228fb0f5 fix token usage in normal and MOpt mode 2022-05-02 08:17:06 +02:00
vanhauser-thc
15b43e6ce1 fix pizza mode 2022-04-03 19:14:59 +02:00
vanhauser-thc
d9fa6af1b1 pizza mode on 1st of april 2022-04-03 09:50:18 +02:00
Carlo Maragno
26f3ec28ee Fix dyslexia and clang format 2022-04-02 13:11:39 +02:00
Carlo Maragno
657e4cc812 Fix layout 2022-04-01 14:56:27 +02:00
Carlo Maragno
29f0bb1c6a Add basic support for Italian users 2022-04-01 13:23:01 +02:00