Commit Graph

300 Commits

Author SHA1 Message Date
dffd6537ae avoid duplicated code 2025-05-15 18:44:25 +08:00
bedb38e216 fix UAF in -F 2025-05-14 21:05:38 +02:00
62e63d1125 Merge pull request #2423 from kcwu/more-stats-sync-foreign
show stats more frequently when sync foreign
2025-05-13 10:54:44 +02:00
221439fc7a fix foreign sync naming 2025-05-13 10:42:26 +02:00
919108ee57 show stats more frequently when sync foreign
otherwise, the stats might have no updates for hours for large foreign directory
2025-05-13 15:22:50 +08:00
61e97a8ceb Do not match NUL when memmem 2025-05-09 09:46:05 +08:00
4bd492f212 fix memory leak in check_main_node_exists 2025-04-12 16:56:14 +00:00
55c9c4ff19 deprecate some queue/.state files 2025-04-08 11:32:08 +02:00
fc860872d6 Merge pull request #2344 from kcwu/fix-sync-foreign
avoid import already imported foreign corpus
2025-04-03 08:25:05 +02:00
735d647e48 Merge pull request #2345 from kcwu/fix-leak-foreign
fix memory leak in read_foreign_testcases
2025-04-03 08:20:30 +02:00
992349e48a fix memory leak in read_foreign_testcases 2025-04-02 12:48:05 +00:00
950b90abcd avoid import already imported foreign corpus
If no new foreign cases, mtime_max is 0 and this incorrectly reset last
import mtime.
2025-04-02 12:45:47 +00:00
4cabb81996 Better handling of exit codes used by sanitzers 2025-03-24 16:30:05 +01:00
f27f109880 fix(afl-fuzz-init): ensure proper permissions for setting CPU governor
The previous command used tee without sudo, which could fail due to insufficient permissions.

Signed-off-by: Yuvraj Saxena <ysaxenax@gmail.com>
2025-03-10 17:43:18 +05:30
ecaddc09e8 code format 2025-02-10 13:29:22 +01:00
mio
c7c66bd0d6 Fix plot_file header 2025-01-26 15:34:56 +08:00
mio
1c9925c7d7 Initial integration 2025-01-19 23:49:52 +08:00
7b24f4a329 remove afl-gcc/afl-clang 2024-11-21 14:31:36 +01:00
82752fe38d code format 2024-11-19 16:25:50 +01:00
8a060a4b68 fix the cleanup of previous generated SHA1 files in function handle_existing_out_dir() 2024-10-19 13:54:48 +02:00
146e535f7b persistent record for frida and qmeu 2024-10-01 10:13:35 +02:00
8b35dd49be Fix macOS build 2024-09-23 21:22:17 +02:00
db172473b5 Save crash log returned by nyx when AFL_CRASHING_SEEDS_AS_NEW_CRASH environment variable is enabled
nyx also returns a crash log when reporting a crash, both files are saved in the afl++ fuzzing run, whereas with the AFL_CRASHING_SEEDS_AS_NEW_CRASH setting, only the crash file is saved in the dry run phase if crashes are included in the supplied seeds.
This commit adds crash log saving to keep the behavior consistent
2024-09-23 15:50:20 +08:00
fc7c95e9f4 nits 2024-09-12 10:24:05 +02:00
3ec794c806 Merge pull request #2203 from ktpss95112/patch-1
Update the doc string of read_foreign_testcases()
2024-09-06 11:50:33 +02:00
6f61fca15a Update the doc string of read_foreign_testcases() 2024-09-06 11:39:49 +08:00
d7c99007ff No longer need the extra line break 2024-08-21 20:04:30 +10:00
bdb5622bd4 Skip the save/restore example 2024-08-21 20:03:33 +10:00
cf2ddf437b Wording tweaks 2024-08-21 19:05:41 +10:00
2b7aae66b6 Offer more explicit core dump handling tip 2024-08-21 19:02:38 +10:00
bd83eb0f42 check the sync_id length once 2024-07-12 16:22:17 -04:00
dd762726dc fastresume implementation 2024-06-12 09:10:35 +02:00
c03f2897d0 Add AFL_SHA1_FILENAMES option 2024-05-12 05:44:14 -04:00
ac6ccd53df stat update during syncing 2024-05-07 16:46:24 +02:00
26eaf53a83 AFL_DISABLE_REDUNDANT 2024-05-02 08:35:24 +02:00
70c60cfba7 work with spaces in filenames 2024-04-26 16:14:50 +02:00
43e9a13921 add schedule check. 2024-04-26 07:45:58 +08:00
526dbe8f16 fix: initialize n_fuzz_entry in perform_dry_run. 2024-04-25 21:28:58 +08:00
476aca5b67 nits 2024-04-19 15:45:00 +02:00
6062668679 fix not using autodict 2024-02-29 14:31:47 +01:00
b2b887d04d Issue #2007: add filename extension to /crashes files
This is very helpful for code that inpects a file name extension when determining what code to run.

It's also useful for applications that constrain the user to choose files by extension.
2024-02-26 14:07:49 -05:00
42c663e7c7 Merge pull request #1965 from CodeLinaro/stateful
replay mode support
2024-02-08 10:29:33 +01:00
ed1a6f8a57 2024 v4.10c release 2024-02-03 11:01:31 +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
87b33740ea ensure table reinit, downgrade redundant 2023-09-04 13:38:09 +02:00
549e5dd926 AFL_IGNORE_SEED_PROBLEMS 2023-08-23 18:02:33 +02:00
53c26d086b Loosen ReportCrash check 2023-08-19 08:17:23 -04:00
55d696fbae code format 2023-08-09 17:14:13 +02:00