384 Commits

Author SHA1 Message Date
vanhauser-thc
ae0d8b8d90 weight power 2024-07-19 13:52:22 +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
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
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
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
2d9b793dbb AFL_NO_SYNC 2024-06-04 14:48:02 +02:00
vanhauser-thc
9419e39fdf nits 2024-05-31 18:32:31 +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
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
van Hauser
42c663e7c7
Merge pull request #1965 from CodeLinaro/stateful
replay mode support
2024-02-08 10:29:33 +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
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
Davide Quarta
8fedf49984 replay mode support 2024-01-23 19:36:49 +01:00
yangzao
faedb3fb29 update python module 2023-11-25 21:18:32 -07:00
yangzao
8af74bcaee update afl-fuzz-run 2023-11-24 22:47:50 -07:00
yangzao
770e868d04 add custom_post_run.c 2023-11-24 11:06:06 -07:00
vanhauser-thc
4cdf7a1e3e add scale encode mode for cmplog 2023-10-23 18:03:59 +02:00
vanhauser-thc
a809c3c50c less impact 2023-09-03 11:22:54 +02:00
vanhauser-thc
549e5dd926 AFL_IGNORE_SEED_PROBLEMS 2023-08-23 18:02:33 +02:00
vanhauser-thc
4d8d8633ff update faq 2023-08-13 11:44:37 +02:00
marc
8823f22a9c add AFL_FINAL_SYNC 2023-08-11 11:22:18 +02:00
marc
55d696fbae code format 2023-08-09 17:14:13 +02:00
Junwha
fcdfe9e990 Define AFL_CRASHING_SEEDS_AS_NEW_CRASH as env variable
- and fix typo

Signed-off-by: Junwha <qbit@unist.ac.kr>
2023-08-04 18:36:58 +09:00
Junwha
1429c9724e Add option for treating crashing input as new crash
Signed-off-by: Junwha Hong <qbit@unist.ac.kr>
2023-08-02 19:07:38 +09:00
vanhauser-thc
5f813bbb86 improve cmplog level 3 2023-07-21 18:02:30 +02:00
vanhauser-thc
2a34e84507 nits 2023-07-12 16:08:22 +02:00
vanhauser-thc
3e1d794107 update mutation strategy 2023-06-29 16:57:20 +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
abd6eace9d improved symqemu custom mutator 2023-05-18 10:32:15 +02:00
van Hauser
a2daef29f9
slightly different weighting algo (#1719)
* better seed selection

* slightly different weighting calculation

* remove unnecessary memset
2023-04-27 17:57:22 +02:00
Maik Betka
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
vanhauser-thc
4e5f42cab6 afl-showmap custom mutator support 2023-04-20 10:39:23 +02:00
Maik Betka
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
vanhauser-thc
f756734ad2 fix attempt at post_process implementation 2023-04-13 12:07:27 +02:00
vanhauser-thc
6cc8d607fb remove -z option, use -p mmopt instead 2023-04-13 11:44:39 +02:00
vanhauser-thc
36127fb197 add -z switch 2023-04-05 12:59:20 +02:00
vanhauser-thc
a74561b0e7 implement switch mode 2023-04-05 12:12:05 +02:00
vanhauser-thc
3ab18d2861 mode switch 2023-04-04 19:44:12 +02:00
vanhauser-thc
e46e0bce44 allow pizza mode to be disabled 2023-04-02 12:03:45 +02:00
vanhauser-thc
b1bfc1ae76 time_wo_finds in fuzzer_stats 2023-03-27 17:52:01 +02:00
Amit Elkabetz
403d95d2d2 auto code format fixes 2023-03-05 18:21:35 +02:00