1568 Commits

Author SHA1 Message Date
vanhauser-thc
1a4c0d2ecd nits 2022-06-20 17:59:14 +02:00
Ruben ten Hove
0c3ba7d227 clarity 2022-06-18 07:23:06 -04:00
Ruben ten Hove
bf6a0159a9 formatting 2022-06-18 02:37:11 +02:00
Ruben ten Hove
fc3b483450 revert previous changes 2022-06-18 02:35:40 +02:00
Ruben ten Hove
0dd1c39b5a check for empty env var as well 2022-06-18 02:35:31 +02:00
Ruben ten Hove
60702fef7a Merge branch 'dev' of https://github.com/AFLplusplus/AFLplusplus into dev 2022-06-18 00:41:50 +02:00
Ruben ten Hove
4990823840 formatting 2022-06-17 21:08:37 +02:00
Ruben ten Hove
3d1a57deed feat: allow to skip readme creation on crash 2022-06-17 21:03:46 +02:00
Ruben ten Hove
47d8947471 require value in env 2022-06-17 12:10:11 -04:00
van Hauser
95aa81045b
Merge pull request #1437 from Scepticz/patch-2
Fix Byte Decrement Havoc Mutation
2022-06-12 07:48:27 +02:00
Tobias Scharnowski
b595727f2f
Fix Byte Decrement Havoc Mutation
While looking at the source code of the havoc mutations I realized that there seems to be a typo / copy+paste error with the SUBBYTE_ mutation. It is currently incrementing, instead of decrementing the value.

Alternative Fix: Change the documentation to "/* Decrease byte by minus 1. */" to make it work as documented :-P
2022-06-10 18:38:37 +02:00
vanhauser-thc
83f32c5248 honor AFL_MAP_SIZE well outside of afl++ 2022-06-08 10:56:11 +02:00
Luca Di Bartolomeo
066d65d846
Fix wrong memchr size in android (#1429)
Need to fix this otherwise ASAN will always complain about heap buffer overflows and refuse to run.

Co-authored-by: van Hauser <vh@thc.org>
2022-05-27 17:55:21 +02:00
Daniil Kuts
c96238d85f
Add AFL_SYNC_TIME variable for synchronization time tuning (#1425)
* Add AFL_SYNC_TIME variable for synchronization time tuning

* Documentation for AFL_SYNC_TIME variable
2022-05-27 12:52:31 +02:00
van Hauser
ca721404ef
Merge pull request #1415 from che30122/dev
afl->cmplog_binary memory leak problem
2022-05-18 10:32:35 +02:00
che30122
c563faa076 fix mem leak 2022-05-17 16:47:01 +08:00
vanhauser-thc
79099a01f8 fix effector map calculation 2022-05-10 11:05:43 +02:00
vanhauser-thc
7c8246f18f fix 2022-05-09 14:30:40 +02:00
vanhauser-thc
51942b605d support post_process's own return buffer 2022-05-09 13:18:14 +02:00
David CARLIER
229a45c6a6 large shared segment optimisation (in TEST_MMAP mode)
for FreeBSD supporting such feature.

Grabbing the first kind which fit the needed size otherwise
falling back to the classic shared segment allocation.
2022-05-06 19:02:21 +01:00
vanhauser-thc
68e8467859 fix 2022-05-02 14:11:25 +02:00
vanhauser-thc
293e255734 fix mopt random selection 2022-05-02 13:09:34 +02:00
vanhauser-thc
0b228fb0f5 fix token usage in normal and MOpt mode 2022-05-02 08:17:06 +02:00
che30122
01594dc416
Properly null CmpLog map in deinit (#1395)
Co-authored-by: van Hauser <vh@thc.org>
2022-04-28 09:42:49 +02:00
che30122
46d5452c86 update afl-sharedmem.c 2022-04-28 15:35:25 +08:00
vanhauser-thc
ee409d18a6 code format 2022-04-25 10:14:04 +02:00
Jesse Schwartzentruber
f53e6a6cf2 fix instrumentation for -Werror,-Wunused-but-set-variable
`used` is so it isn't optimized out. `unused` is to avoid the warning.
2022-04-20 15:39:28 -04:00
Jesse Schwartzentruber
630eb943a5 use passthrough mode for wasm 2022-04-20 15:38:37 -04:00
vanhauser-thc
b1da7500b2 fix msg 2022-04-18 13:14:20 +02:00
vanhauser-thc
e9288bcfad add AFL_KEEP_TIMEOUTS 2022-04-08 22:44:10 +02:00
vanhauser-thc
891f4d3c8e correct counting for tmouts 2022-04-08 09:31:39 +02:00
vanhauser-thc
3261e86a3a save timeouts 2022-04-07 09:43:51 +02:00
むぎ茶
044d3e823e
[wantfix] make error @SIMPLE_FILES
Hi there!
I tried to compile with SIMPLE_FILES, but got  an error message.
Please have a look through it.
Sincerely.

```
src/afl-fuzz-bitmap.c: In function ‘save_if_interesting’:
src/afl-fuzz-bitmap.c:706:39: error: ‘afl_state_t’ {aka ‘struct afl_state’} has no member named ‘last_kill_signal’
  706 |                afl->saved_crashes, afl->last_kill_signal);
      |                                       ^~
make: *** [GNUmakefile:437: afl-fuzz] Error 1
```
2022-04-05 17:38:34 +09:00
vanhauser-thc
15b43e6ce1 fix pizza mode 2022-04-03 19:14:59 +02:00
vanhauser-thc
d9fa6af1b1 pizza mode on 1st of april 2022-04-03 09:50:18 +02:00
van Hauser
ef5543680a
Merge pull request #1374 from CarloMara/stable
Add new mode to AFLplusplus
2022-04-03 09:31:23 +02:00
Carlo Maragno
26f3ec28ee Fix dyslexia and clang format 2022-04-02 13:11:39 +02:00
Carlo Maragno
657e4cc812 Fix layout 2022-04-01 14:56:27 +02:00
Carlo Maragno
29f0bb1c6a Add basic support for Italian users 2022-04-01 13:23:01 +02:00
Dominik Maier
285a5cb38b Some scan-build fixes 2022-03-31 15:36:26 +00:00
hexcoder-
772e33d550 avoid compiler warning (format-truncation), needed for make DEBUG=1 all 2022-03-30 20:32:51 +02:00
vanhauser-thc
a436ef47e5 fix instrumentlist for LTO with clang < 13 2022-03-30 09:16:47 +02:00
fuzzah
c2ae24ab96 fix early return in AFL_TARGET_ENV 2022-03-21 22:58:17 +03:00
vanhauser-thc
fa2b040476 fix LTO with cmplog and laf 2022-03-18 15:00:24 +01:00
vanhauser-thc
69c9a176eb our own PCGUARD mode not for llvm 10.0.1 2022-03-18 12:57:51 +01:00
vanhauser-thc
bdfac291ba fix split pass loading 2022-03-18 08:47:45 +01:00
vanhauser-thc
3d1be62c96 merge fixes 2022-03-17 16:39:40 +01:00
van Hauser
1bea949f34
Merge branch 'dev' into newpm2 2022-03-17 16:30:29 +01:00
vanhauser-thc
3c11a37757 fixes for llvm < 11 2022-03-17 15:48:06 +01:00
vanhauser-thc
e4f201707f make LTO pass work too plus some fixes 2022-03-17 14:35:15 +01:00