264 Commits

Author SHA1 Message Date
Eisuke Kawashima
0975c8ddde
refactor!: drop python2 2025-06-09 15:21:57 +09:00
vanhauser-thc
25d7d65216 workaround for compiler asan+lto issues 2025-05-15 11:46:39 +02:00
vanhauser-thc
4d9d8aaf16 afl-cmin.py nits 2025-05-09 09:12:37 +02:00
vanhauser-thc
05f4762894 nits 2025-04-21 10:59:59 +02:00
Toki
fa8dc2028f
Merge branch 'AFLplusplus:stable' into stable 2025-04-17 15:20:31 +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
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
Yassine Ferhane
1960352310 add custom mutator support for afl tmin 2025-04-12 14:55:30 +02:00
Kuang-che Wu
dee51213a7 update build dependency rule in GNUmakefile 2025-04-12 11:16:11 +00:00
Yassine Ferhane
8e4823e7ed add python flag to gnumakefile 2025-03-27 22:20:13 +01:00
Vincent Andrae
50f6b38530 Add iOS cross-compilation support
- Updated CFLAGS and LDFLAGS.
- Disabled signing of bin2c during cross-compilation.
2025-02-26 16:46:49 +01:00
Vincent Andrae
0cd932c4b5 Add support for iOS builds
- Define IS_IOS variable and add conditional compilation flags for iOS
- Enable binary signing with ldid for iOS builds
2025-02-25 11:58:06 +01:00
vanhauser-thc
7ad694716b no splicing is the new default 2025-01-13 11:57:19 +01:00
vanhauser-thc
6cba007c76 finishing touches of removing afl-gcc 2024-12-02 15:14:38 +01:00
vanhauser-thc
1461f3a0ee remove afl-as 2024-12-02 15:04:16 +01:00
vanhauser-thc
8e88ef02ad keep symlinks 2024-12-02 14:54:16 +01:00
vanhauser-thc
48002fe146 remove symlinks 2024-11-21 16:15:04 +01:00
vanhauser-thc
7b24f4a329 remove afl-gcc/afl-clang 2024-11-21 14:31:36 +01:00
Abhinav Garg
0e3157375b Unsetting AFL_LLVM_ALLOWLIST and AFL_LLVM_DENYLIST environment variables 2024-11-11 01:24:11 -08:00
hexcoder-
f39cf57eac enhance backward compatibility and portability 2024-11-09 22:31:07 +01:00
vanhauser-thc
e62999c95f install all includes 2024-11-09 16:28:26 +01:00
Nguyễn Gia Phong
cdbd86a112
Install {config,types}.h 2024-11-01 12:01:21 +09:00
vanhauser-thc
ecb5854be0 add zlib compression for fast resume 2024-06-21 14:40:23 +02:00
Kuan-Wei Chiu
b5e6c2d6e2 Remove -Wno-shift-count-overflow flag and hashmap from compilation
After commit 0c9d8e59 ("Fix undefined behavior by casting to uint64_t
before left shift"), the -Wno-shift-count-overflow flag is no longer
necessary to suppress compilation warnings. This commit removes the
flag, allowing the compiler to provide appropriate warnings for any
potential future cases of shifting too many bits.

Additionally, after commit eaf4a299 ("make redqueen hashmap not
default"), the hashmap is no longer in use. Therefore, this commit also
removes the hashmap from the GNUmakefile.
2024-06-13 09:34:03 +08:00
SonicStark
9b5b71b61b fix override directive and recipe echoing 2024-03-22 03:24:53 +00:00
van Hauser
48070e0148
Merge branch '420' into dev 2024-02-08 14:51:13 +01:00
vanhauser-thc
038fef962c performance 2024-02-08 12:46:08 +01:00
vanhauser-thc
40df85d1e6 adjust cmplog header 2024-02-05 15:05:46 +01:00
vanhauser-thc
87596105ef fix ci 2024-02-01 14:01:59 +01:00
vanhauser-thc
eb52f1cc08 fix ci 2024-02-01 12:58:51 +01:00
Christian Holler (:decoder)
644e069450
Fixes to afl-cc and documentation (#1974)
* Always compile with -ldl when building for CODE_COVERAGE

When building with CODE_COVERAGE, the afl runtime contains code that
calls `dladdr` which requires -ldl. Under most circumstances, clang
already adds this (e.g. when building with pc-table), but there are some
circumstances where it isn't added automatically.

* Add visibility declaration to __afl_connected

When building with hidden visibility, the use of __AFL_LOOP inside such
code can cause linker errors due to __afl_connected being declared
"hidden".

* Update docs to clarify that CODE_COVERAGE=1 is required for dynamic_covfilter
2024-01-30 14:30:18 +00:00
vanhauser-thc
1fc1b32db2 initial simple injection detection support 2023-12-27 13:53:11 +01:00
vanhauser-thc
2f74feaf99 remove afl-network-client on uninstall 2023-12-19 11:19:33 +01:00
vanhauser-thc
6b73dee7da add afl-addseeds tool 2023-09-30 12:42:40 +02:00
Thomas Rooijakkers
54f0148157
UTF-8 line rendering for status screen as default 2023-09-19 13:31:29 +02:00
Thomas Rooijakkers
0b6e74eeb0
Add support for UTF-8 line rendering 2023-09-13 15:49:04 +02:00
David CARLIER
2c376f8994 afl-fuzz-redqueen.c fix build, also forgotten math lib for ilog* calls 2023-08-08 21:24:05 +01:00
vanhauser-thc
705cdf45fc temp cmplog fixes 2023-07-23 13:05:10 +02:00
mischa
93362c6e67 updated llvm requirements 2023-06-21 16:39:05 +02:00
fanquake
28fd971608
build: fix compiler version in build output
Currently, if I build like with Clang, I'll get:
```bash
make LLVM_CONFIG=llvm-config-15 CC=clang-15 CXX=clang++-15
<snip>
[+] Everything seems to be working, ready to compile. (gcc version 12.1.0 (Ubuntu 12.1.0-2ubuntu1~22.04) )
clang-15 -O2 -D_FORTIFY_SOURCE=1 ....
```

Which is somewhat confusing. Fix this, and in a way that still outputs
the correct version info for Clang and GCC. Use `--version`, and pick
the first line, as that is where they are consistent in output. `clang
-v` gives the version first, whereas `gcc -v` gives the version on the
last line.

We switch to using $(CC), otherwise we also get incorrect output,
and dropping CCVER altogether, given this is it's only use.
2023-06-05 17:00:42 +01:00
vanhauser-thc
b10a091408 real gcc gnumakefile fix 2023-05-23 18:48:03 +02:00
vanhauser-thc
eeed38c5f8 fix gnumakefile for non-gcc 2023-05-23 18:31:34 +02:00
vanhauser-thc
f664eb58c5 fix debug build 2023-05-17 19:21:41 +02:00
vanhauser-thc
3e3adb4d37 enforce python setting detection 2023-05-17 18:39:54 +02:00
vanhauser-thc
c97caa6e10 fix makefile 2023-05-09 14:17:09 +02:00
Moshe Kaplan
001d9d3d20
GNUmakefile: Update LLVM instructions (#1728)
Update LLVM instructions, because versions higher than 14 are supported and to be explicit that LLD is also required
2023-05-05 16:02:00 +02:00
vanhauser-thc
5813a4319c doc, code format 2023-04-28 11:42:21 +02:00
vanhauser-thc
3e84d6a2ae afl++ -> AFL++ 2023-04-27 11:49:00 +02:00
vanhauser-thc
369ec31f0e debug output 2023-04-21 15:15:34 +02:00