7232 Commits

Author SHA1 Message Date
vanhauser-thc
d1fd072b79 fix 2024-10-30 10:55:44 +01:00
van Hauser
c282156451
Merge pull request #2232 from michaelmior/jsonschema-dict
Add JSON Schema dictionary
2024-10-30 10:55:07 +01:00
Michael Mior
a9bda37d18
Add JSON Schema dictionary 2024-10-29 12:31:09 -04:00
vanhauser-thc
577b286508 fix explanation how to obtain the map size 2024-10-28 09:53:01 +01:00
van Hauser
009f663e2c
Merge pull request #2231 from dergoegge/2024-08-fix-start-off
Make `__AFL_COVERAGE_START_OFF` work for targets with "small" maps
2024-10-25 17:47:27 +02:00
dergoegge
1efb7c8a8b Make __AFL_COVERAGE_START_OFF work for targets with "small" maps 2024-10-25 11:37:55 +01:00
van Hauser
7f614be3a5
Merge pull request #2229 from g0ku704/feat/disable_gcc_version_check
Introduce `AFL_GCC_DISABLE_VERSION_CHECK` to disable GCC version check
2024-10-20 09:23:56 +02:00
rapt0r
04d2476b32 doc: add description for AFL_GCC_DISABLE_VERSION_CHECK 2024-10-20 16:00:17 +09:00
rapt0r
c1d9a4fab9 feat: introduce GCC disable environment variable
This change is to disable the GCC plugin version check for
GCC plugin and CMPLOG, to overcome the issues with incompatability
with expected GCC version and actual GCC version used to compile
using `AFL_GCC_DISABLE_VERSION_CHECK` environment variable.
2024-10-19 22:19:41 +09:00
hexcoder-
8a060a4b68 fix the cleanup of previous generated SHA1 files in function handle_existing_out_dir() 2024-10-19 13:54:48 +02:00
vanhauser-thc
a11488b9dc changelog 2024-10-16 18:27:10 +02:00
vanhauser-thc
4cc9232485 add AFL_OPT_LEVEL support 2024-10-16 18:26:08 +02:00
vanhauser-thc
20c46c0ed6 nits 2024-10-15 15:18:51 +02:00
vanhauser-thc
b3d16f7b8c update how AFL_EXIT_WHEN_DONE and colors of cycles done are working 2024-10-14 09:45:59 +02:00
vanhauser-thc
c0837409bd fix cycles_wo_finds count 2024-10-14 09:29:10 +02:00
van Hauser
78b7e14c73
Merge pull request #2222 from AFLplusplus/dev
push to stable
2024-10-07 16:46:12 +02:00
vanhauser-thc
f9a8b60b3b add LLVMFuzzerTestOneInput -1 support for non-asan 2024-10-07 16:44:24 +02:00
vanhauser-thc
4a1cf0b9af code format 2024-10-07 13:43:19 +02:00
van Hauser
c1e40c5fb7
Merge pull request #2220 from AFLplusplus/dev
push to stable
2024-10-07 10:12:51 +02:00
vanhauser-thc
d6a2edb42a update nyx 2024-10-07 10:11:16 +02:00
van Hauser
5e8e233755
Merge pull request #2217 from carlocab/macos-flags
Update macOS linker flags in GNUmakefile.llvm
2024-10-07 10:01:25 +02:00
van Hauser
31ed850c4b
Merge pull request #2218 from ea/stable
Fix uninitialized alloc_canary in libdislocator
2024-10-07 10:00:04 +02:00
ea
994ac55878
Fix uninitialized alloc_canary in libdislocator
When random alloc_canary env var option was introduced, a possibility for use of uninitialized alloc_canary value was made. 

In most cases, constructor will be called during shared library load and the alloc_canary would be initialized to either its default value or a randomly generated one if forced by AFL_RANDOM_ALLOC_CANARY env var.

However, in some cases, libraries loaded before libdislocator will make allocations (still using libdislocator's allocation functions) while alloc_canary is still uninitialized. In such cases, canary value is usually NULL. 
If such allocated value is then free()'d after libdislocator's constructor has been run, call to free() will fail causing a false positive. This condition usually happens while calling library destructors at process termination. 

The patch ensures the canary value is initialized in all cases, and introduces a destructor that reverts it to default value. 

This  does mean that certain number of early allocations will use the default canary value rather than the random one set afterwards.  This seems like a reasonable tradeoff as I haven't found a surefire way of forcing libdislocator's constructor to run first in all possible cases (if nothing else, libphtread usually  has priority).
2024-10-02 13:08:24 -05:00
Carlo Cabrera
cb5a61d8a1
Update macOS linker flags in GNUmakefile.llvm
`-flat_namespace` is effectively deprecated and doesn't really work as
expected these days. Omitting the `-flat_namespace` means that binaries
are built with a two-level namespace, which don't support
`-undefined suppress`.

The idiomatic way of telling the linker to look up undefined symbols at
runtime is using `-undefined dynamic_lookup`, which is supported by a
two-level namespace.

See also:
ocaml/ocaml#10723
mono/mono#21257
2024-10-02 17:56:43 +08:00
vanhauser-thc
146e535f7b persistent record for frida and qmeu 2024-10-01 10:13:35 +02:00
vanhauser-thc
b88f132975 llvm20 fix 2024-09-29 17:11:07 +02:00
vanhauser-thc
12271064f8 fix fix 2024-09-27 09:20:08 +02:00
vanhauser-thc
55b67f1372 fix postprocess for calibration 2024-09-26 14:42:59 +02:00
van Hauser
d21fb1a558
Merge pull request #2214 from AFLplusplus/dev
push to stable
2024-09-24 11:57:36 +03:00
vanhauser-thc
2e6c74f9b9 2nd macos ci attempt 2024-09-24 09:55:35 +02:00
vanhauser-thc
2a4281ce8d update qemuafl 2024-09-24 09:50:14 +02:00
vanhauser-thc
9cd702e75d try macos ci 2024-09-24 09:41:27 +02:00
Dominik Maier
8b35dd49be Fix macOS build 2024-09-23 21:22:17 +02:00
van Hauser
703fd0b610
Merge pull request #2212 from nj00001/dev
Save crash log returned by nyx when AFL_CRASHING_SEEDS_AS_NEW_CRASH e…
2024-09-23 17:02:47 +03:00
nj00001
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
Seyed Behnam Andarzian
5b44067e9c
Update fuzzing_in_depth.md for a typo (#2209) 2024-09-16 12:23:10 +02:00
van Hauser
8531928fa4
Merge pull request #2207 from schumilo/dev
fix AFL_AUTORESUME=1 for Nyx mode
2024-09-14 16:02:21 +02:00
van Hauser
804c98a1e8
Merge pull request #2208 from 20urc3/patch-1
Update COMPARISON.md
2024-09-14 16:01:32 +02:00
20urc3
1792ce2825
Update COMPARISON.md
- Add Ampere Altra Q80-30 benchmark
2024-09-14 15:33:55 +02:00
Sergej Schumilo
1d6cd5dd19 fix AFL_AUTORESUME=1 for Nyx mode 2024-09-14 03:51:20 +02:00
van Hauser
7e9abf1bba
Merge pull request #2206 from smoelius/afl-sha1-filenames-test
Add `AFL_SHA1_FILENAMES` test
2024-09-12 21:50:20 +02:00
Samuel Moelius
6a28502191 Adjust cmplog test to use AFL_SHA1_FILENAMES=1 2024-09-12 10:05:23 -04:00
vanhauser-thc
fc7c95e9f4 nits 2024-09-12 10:24:05 +02:00
van Hauser
4086b93ad7
Merge pull request #2205 from ktpss95112/patch-1
Update env_variables.md
2024-09-09 09:02:09 +02:00
Chi-Feng Tsai
837a9693ab
Update env_variables.md 2024-09-09 11:32:32 +08:00
intrigus-lgtm
60d3ecab63
Fix broken link in CONTRIBUTING.md (#2196)
* Fix broken link in CONTRIBUTING.md

* Also change link text
2024-09-06 23:26:03 +02:00
vanhauser-thc
d0f39849c2 update qemu persisten readme 2024-09-06 12:36:57 +02:00
vanhauser-thc
8820bf4758 update qemu persisten readme 2024-09-06 12:36:57 +02:00
van Hauser
75d8c47a6b
Merge pull request #2204 from AFLplusplus/dev
push to stable
2024-09-06 12:16:31 +02:00
van Hauser
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