7400 Commits

Author SHA1 Message Date
vanhauser-thc
7f2becba72 build fix for asan+performance 2025-04-14 13:57:45 +02:00
van Hauser
13b27bb59e
Merge pull request #2375 from kcwu/format-cache
code-format cache
2025-04-14 10:11:50 +02:00
van Hauser
ecdbdc3164
Merge pull request #2377 from kcwu/fix-custom-format
fix in_define in .custom-format.py
2025-04-14 10:10:38 +02:00
van Hauser
788e70a01a
Merge pull request #2379 from r3sting/patch-1
Fix linker error
2025-04-14 10:09:43 +02:00
van Hauser
938ed60ea9
Merge pull request #2380 from kcwu/fix-memory-leak
Fix memory leak
2025-04-14 10:09:03 +02:00
Kuang-che Wu
5b9d2cc38b code-format cache
This change reduces "make code-format" from 3 minutes to 3 seconds if
large files are not changed.
2025-04-13 08:26:18 +00:00
Kuang-che Wu
e305bc15d3 fix memory leaks 2025-04-13 06:46:46 +00:00
r3st
0b12c7e0cc
Fix linker error 2025-04-12 16:20:33 -06:00
Kuang-che Wu
4bd492f212 fix memory leak in check_main_node_exists 2025-04-12 16:56:14 +00:00
Kuang-che Wu
be8393f201 fix in_define in .custom-format.py
avoid the extra \ before #define line
2025-04-12 15:56:36 +00:00
van Hauser
aec90c7227
Merge pull request #2376 from kcwu/minor-changes
Minor changes
2025-04-12 16:01:34 +02:00
Kuang-che Wu
03169b2b67 print the file name with variable behavior
Because queue/.state/variable_behavior was removed, print file name in
case some users still want the information.
2025-04-12 11:16:11 +00:00
Kuang-che Wu
dee51213a7 update build dependency rule in GNUmakefile 2025-04-12 11:16:11 +00:00
Kuang-che Wu
1d2de1cb6d remove dead code in comment 2025-04-12 11:15:25 +00:00
vanhauser-thc
5ed187b517 fix for cycle_schedule change 2025-04-12 12:57:37 +02:00
van Hauser
a845852b98
Merge pull request #2374 from kcwu/fix-memory-leaks
Fix memory leaks
2025-04-12 12:16:16 +02:00
Kuang-che Wu
9513397336 free memory when shutdown
With this fix, ASAN_BUILD won't report leaks if ctrl-c (in a short run).
2025-04-12 09:49:24 +00:00
Kuang-che Wu
57fa87ce5e only allocate SAND memory if enabled 2025-04-12 09:49:19 +00:00
van Hauser
c6a2cf88bf
Merge pull request #2370 from kcwu/dev
code cleanup
2025-04-10 16:57:05 +02:00
vanhauser-thc
8461f860eb code format 2025-04-10 16:28:03 +02:00
van Hauser
7395223512
Merge pull request #2368 from w1redch4d/qbdi_fix
fixed qbdi mode to work out of the box
2025-04-10 16:26:48 +02:00
van Hauser
1121af301b
Merge pull request #2369 from 5angjun/dev
add cleanup for top_rated_candidates in afl_state_deinit()
2025-04-10 16:25:18 +02:00
w1redch4d
b9c1536283 added safe_length option for portability and clarity 2025-04-10 19:44:54 +05:30
Kuang-che Wu
6691ce943a remove unused variable 2025-04-10 21:54:54 +08:00
Kuang-che Wu
1dba3a276f remove unused variable 2025-04-10 21:54:54 +08:00
w1redch4d
3c8016e071 fixed qbdi mode to work out of the box 2025-04-10 19:21:14 +05:30
5angjun
b64dd0a1ec add cleanup for top_rated_candidates in afl_state_deinit() 2025-04-10 22:50:42 +09:00
van Hauser
55f758a168
Merge pull request #2366 from 5angjun/dev
fix: correct rescoring logic with minimal executions
2025-04-10 14:01:49 +02:00
5angjun
bd631c73a2 Enable conditional allocation for cycle schedules 2025-04-10 18:41:32 +09:00
vanhauser-thc
6cbe58ff55 code format 2025-04-10 09:30:18 +02:00
van Hauser
c71d487a4c
Merge pull request #2367 from wtdcode/sand-fix
Fix missing classified accidentally removed by 4ff2673
2025-04-10 08:37:06 +02:00
mio
939171952d
Fix missing classified accidentally removed by 4ff2673 2025-04-10 12:35:31 +08:00
5angjun
161905c2fc fix: correct rescoring logic with minimal executions
Previous scoring logic did not correctly rescore all queue entries.

This patch ensures rescoring works under the updated scheduling logic,
while minimizing executions per feedback from PR #2363.

Based on feedback from: https://github.com/AFLplusplus/AFLplusplus/pull/2363
2025-04-09 23:37:16 +09:00
van Hauser
5ff21c9aad
Merge pull request #2365 from wtdcode/sand-fix
Fix sand due to default schedule change
2025-04-09 15:58:21 +02:00
mio
112d90656b
rebase against dev 2025-04-09 21:34:33 +08:00
mio
bc11bd7661
Fix comments 2025-04-09 21:34:20 +08:00
mio
6b71ca7809
Also remove declaration 2025-04-09 21:34:19 +08:00
mio
eb0b8b2c5c
No longer need classify_counts_mem 2025-04-09 21:34:19 +08:00
mio
6223ddf6d2
Changes not saved =( 2025-04-09 21:34:18 +08:00
mio
920c7fe71a
Fix sand due to default schedule change 2025-04-09 21:34:18 +08:00
vanhauser-thc
4ff2673895 fix update_bitmap_score when no current trace is present 2025-04-09 14:21:42 +02:00
vanhauser-thc
891b7f48f0 nits 2025-04-09 10:48:34 +02:00
vanhauser-thc
5df3cdbc0b effeciency fix for SAND 2025-04-08 17:43:26 +02:00
vanhauser-thc
57466909e4 remove outdated doc 2025-04-08 11:33:05 +02:00
vanhauser-thc
55c9c4ff19 deprecate some queue/.state files 2025-04-08 11:32:08 +02:00
van Hauser
fe202b5fee
Merge pull request #2361 from kcwu/patch-1
Update FAQ.md
2025-04-08 10:18:17 +02:00
Kuang-che Wu
c5e511302f
Update FAQ.md
the default schedule was changed to EXPLORE since 4.10a
2025-04-08 09:37:20 +08:00
vanhauser-thc
7c349b6cde increase fast resume version 2025-04-07 10:13:13 +02:00
vanhauser-thc
fc38904e25 fix 2025-04-07 10:08:34 +02:00
van Hauser
eee2521eb4
Merge pull request #2358 from kcwu/fix-buffer-overflow
fix potential q->trace_mini off by 1 overflow
2025-04-07 10:08:16 +02:00