7456 Commits

Author SHA1 Message Date
van Hauser
2f6106879f
Merge pull request #2402 from AFLplusplus/stable
v4.32c
2025-04-26 15:37:37 +02:00
van Hauser
c340a022e2
Merge pull request #2401 from AFLplusplus/dev
v4.32c release
v4.32c
2025-04-26 15:36:45 +02:00
vanhauser-thc
06219b4d56 v4.32c 2025-04-26 15:35:47 +02:00
vanhauser-thc
c5b8f4250e code format 2025-04-26 15:30:56 +02:00
van Hauser
779cb5d942
Merge pull request #2400 from AFLplusplus/dev
push to stable
2025-04-26 15:30:18 +02:00
vanhauser-thc
fb1a41f5af fix 2025-04-26 13:24:21 +02:00
vanhauser-thc
8352f0a89f fix LLVM 20 pass pipeline insertion 2025-04-26 13:20:51 +02:00
vanhauser-thc
9935190c7b drop llvm 13 AFL++ plugin support 2025-04-25 18:37:19 +02:00
vanhauser-thc
e3ee26262f fix AFL_OLD_FORKSERVER 2025-04-25 13:42:19 +02:00
van Hauser
737c13b460
Merge pull request #2386 from 5angjun/dev
Add someone else to the "list of contributors" :)
2025-04-25 10:03:37 +02:00
van Hauser
9836598d65
Merge pull request #2398 from kcwu/fix-minor
Minor fixes
2025-04-25 10:03:23 +02:00
Kuang-che Wu
63509fb696 fix afl-cmin message output 2025-04-25 11:51:34 +08:00
Kuang-che Wu
d1c44e12a8 remove dead comment 2025-04-25 11:51:20 +08:00
Kuang-che Wu
f78ed6eabc remove redundent code 2025-04-25 11:51:08 +08:00
Kuang-che Wu
64c942d0c9 fix printf format 2025-04-25 11:50:50 +08:00
Sangjun Park
50e343a0d0
Merge branch 'dev' into dev 2025-04-25 11:23:33 +09:00
5angjun
55719ab23b Resolve merge conflict in README.md 2025-04-25 11:19:52 +09:00
van Hauser
d12c5edd59
Merge pull request #2395 from ryberger-nvidia/fix-infinite-loop
fix infinite loop when custom mutator rejects smallest_favored
2025-04-24 16:04:41 +02:00
vanhauser-thc
1b82d6b904 fix for nit in afl-tmin 2025-04-24 14:42:32 +02:00
Ryan Berger
61201fbbb8 fix infinite loop when custom mutator rejects smallest_favored
When running with custom mutators, afl-fuzz delegates the responsibility of queuing to` afl_custom_queue_get`
implemented by the mutator. If any mutator cannot process the input, then it is rejected. After an input is rejected
then a new suitable item to queue must be found. Before this PR, that would be `smallest_favored`. However,
if `smallest_favored` were rejected, it would not be cleared from its position as  `smallest_favored` meaning it
would be attempted to be queued again catching afl-fuzz in an infinite loop.

To fix it, we simply return that we skipped the entry, along with using a `goto abandon_entry` to clean the entry up so that
the fuzzer never considers the input again
2025-04-23 14:47:55 -07:00
vanhauser-thc
b9458e72e7 nit 2025-04-23 16:42:49 +02:00
vanhauser-thc
5045f9e615 code format 2025-04-21 11:45:33 +02:00
van Hauser
6cd8a0168f
Merge pull request #2391 from kcwu/fix-__AFL_COVERAGE
fix __AFL_COVERAGE: multiple definition of `__afl_selective_coverage`
2025-04-21 11:45:05 +02:00
Kuang-che Wu
448c6c212d fix __AFL_COVERAGE: multiple definition of __afl_selective_coverage
fix #2390
2025-04-21 09:02:23 +00:00
vanhauser-thc
05f4762894 nits 2025-04-21 10:59:59 +02:00
van Hauser
0a06e36788
Merge pull request #2336 from gitToki/stable
Enhancement: Custom Python trimming support to afl-tmin
2025-04-19 15:50:42 +02:00
van Hauser
9b1f80c277
Merge pull request #2388 from kcwu/fix-changelog
fix 4.31c change log
2025-04-19 15:36:42 +02:00
Kuang-che Wu
787a332a73 fix 4.31c change log
the splicing auto enable is removed by b2a01936c3fba8b
2025-04-19 12:13:36 +00:00
Toki
7d85047fd9 update bitmap api 2025-04-17 15:28:31 +02:00
Toki
fa8dc2028f
Merge branch 'AFLplusplus:stable' into stable 2025-04-17 15:20:31 +02:00
5angjun
619aa70414 Add someone else to the "list of contributors" :) 2025-04-17 16:28:35 +09:00
van Hauser
247e8241b4
Merge pull request #2360 from AFLplusplus/dev
push to stable
2025-04-16 18:14:35 +02:00
van Hauser
0bb64e4bc9
Merge pull request #2384 from fanquake/ubuntu_20_04_removed
Ubuntu 20.04 removed by GitHub
2025-04-16 17:52:30 +02:00
van Hauser
7b84ec97e2
Merge pull request #2383 from fanquake/fix_lld_version
build: improve lld version parsing
2025-04-16 15:18:09 +02:00
fanquake
20a6cdabad
ci: drop usage of ubuntu:20.04
Support for this has been removed by GitHub:
https://github.com/actions/runner-images/issues/11101.
2025-04-16 14:03:36 +01:00
fanquake
0d286c9e19
build: improve lld version parsing
Currently, if LLD is in a weird location and has a version string like:
```bash
Ubuntu LLD 18.1.3 (compatible with GNU linkers)
```
or
```bash
Homebrew LLD 20.1.2 (compatible with GNU linkers)
```

The version comparison will fail:
```bash
GNUmakefile.llvm:247: ld.lld found in a weird location (/opt/homebrew/bin/ld.lld) and its of a different version than LLMV (LLD vs. 20.1.2) - cannot enable LTO mode
```

Fix that by replacing the usage of awk, with the same sed command used
to retrieve the version of Clang, which fixes the issue:
```bash
GNUmakefile.llvm:245: ld.lld found in a weird location (/opt/homebrew/bin/ld.lld), but its the same version as LLVM so we will allow it
```
2025-04-16 13:37:15 +01:00
van Hauser
db94ec9cad
Merge pull request #2382 from kcwu/fix-performance-unit
fix build for "make PERFORMANCE=1 unit"
2025-04-16 10:14:43 +02:00
Kuang-che Wu
05dfb70787 fix build for "make PERFORMANCE=1 unit" 2025-04-16 00:48:30 +00:00
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
Yassine Ferhane
1960352310 add custom mutator support for afl tmin 2025-04-12 14:55:30 +02:00