6284 Commits

Author SHA1 Message Date
Christian Holler (:decoder)
e956f23a77
Source Code Coverage support for Nyx (Part 1) (#1720)
* Additional source code reformatting in afl-compiler-rt

* Add source code coverage support to afl-compiler-rt (for use with Nyx)
2023-04-28 11:35:22 +02:00
Nick Potenski
41b0fe7280
afl-showmap: Start a only a single fork server (#1718)
A forkserver is started by afl_fsrv_get_mapsize() when dynamically
finding the map size.  When an input directory option is specified a
second fork server was also started.  This commit re-arranges the inits
for several forkserver struct members so that we can re-use the server
started by the get_mapsize() call when not in coresight/qemu/unicorn
modes and just start the server otherwise.
2023-04-27 18:57:55 +02:00
vanhauser-thc
6cad585bdc nits 2023-04-27 18:57:28 +02:00
fxlb
6172bc7312
Add "Hangs saved" to afl-whatsup (#1717)
The hangs could show long or infinite loops. This is important.

Co-authored-by: van Hauser <vh@thc.org>
2023-04-27 18:00:26 +02:00
van Hauser
a2daef29f9
slightly different weighting algo (#1719)
* better seed selection

* slightly different weighting calculation

* remove unnecessary memset
2023-04-27 17:57:22 +02:00
vanhauser-thc
e983e2e9cf more debug 2023-04-27 16:24:43 +02:00
vanhauser-thc
a25439cfa1 update readme 2023-04-27 11:50:12 +02:00
vanhauser-thc
3e84d6a2ae afl++ -> AFL++ 2023-04-27 11:49:00 +02:00
van Hauser
7ca1b85c5e
Merge pull request #1715 from AFLplusplus/dev
push to stable
2023-04-26 16:33:42 +02:00
vanhauser-thc
b18bc7b98f changelog updates 2023-04-26 16:25:03 +02:00
vanhauser-thc
432671449f nits 2023-04-25 18:19:25 +02:00
vanhauser-thc
96848398d4 fix 2023-04-25 17:56:36 +02:00
vanhauser-thc
21865c6224 rename env to AFL_IGNORE_PROBLEMS_COVERAGE 2023-04-25 16:47:37 +02:00
van Hauser
b96ba509d0
Merge pull request #1714 from choller/dev
Add env var to ignore coverage from dynamically loaded code after forkserver
2023-04-25 16:34:23 +02:00
Christian Holler (:decoder)
f94a7e8890 Add env var to ignore coverage from dynamically loaded code after forkserver.
When using TRACEPC instrumentation, loading code dynamically (e.g.
through dlopen()) it can be useful to completely ignore the loaded code,
esp. when it cannot be preloaded and is not the target to be tested.
This patch allows setting AFL_LLVM_IGNORE_PROBLEMS_COVERAGE=1 to do so.
2023-04-25 16:27:25 +02:00
vanhauser-thc
2e23418a09 remove symlinks 2023-04-25 14:55:31 +02:00
vanhauser-thc
f3dc56f59a update custom mutators 2023-04-25 14:54:38 +02:00
vanhauser-thc
d822181467 afl-cmin -T support 2023-04-25 13:13:43 +02:00
vanhauser-thc
bc969f78f6 fixes 2023-04-25 11:56:50 +02:00
vanhauser-thc
7b877e2c1d afl-cmin.bash -T support 2023-04-25 09:30:25 +02:00
vanhauser-thc
c0ecf7cf61 only reverse reading the queue on restart 2023-04-25 08:33:51 +02:00
vanhauser-thc
7b33148b75 add AFL_LLVM_LTO_SKIPINIT to envs.h 2023-04-25 08:23:27 +02:00
van Hauser
b66d7f99a7
Merge pull request #1713 from kenohassler/wafl-mode
llvm-lto: allow skipping initialisation
2023-04-25 08:21:42 +02:00
Keno Hassler
7c3c0b26d1
document new env var 2023-04-24 20:32:04 +02:00
vanhauser-thc
46237c3332 makefile for atwalk 2023-04-24 19:20:52 +02:00
vanhauser-thc
8c228b0d23 afl-showmap -I option 2023-04-24 18:08:27 +02:00
Keno Hassler
531380d6ab
llvm-lto: allow skipping initialization 2023-04-24 17:55:58 +02:00
van Hauser
dbb3171624
Merge pull request #1712 from AFLplusplus/dev
push to stable
2023-04-22 11:40:50 +02:00
vanhauser-thc
6bd48a48cb code format 2023-04-22 11:39:44 +02:00
van Hauser
c5e5a17d67
Merge pull request #1711 from atnwalk/atnwalk
AFL_POST_PROCESS_KEEP_ORIGINAL env variable for intermediate file formats and ATNwalk custom mutator
2023-04-22 11:32:42 +02:00
vanhauser-thc
599b4631a3 typo 2023-04-22 11:31:29 +02:00
Maik Betka
228e9527cb fixed formatting with make code-format 2023-04-21 17:21:47 +02:00
Maik Betka
53ff09969c
Merge pull request #3 from voidptr127/atnwalk
Create README.md
2023-04-21 17:11:40 +02:00
Maik Betka
d7e6f8cb38
Create README.md 2023-04-21 17:10:19 +02:00
Maik Betka
e99d4ba976
Merge pull request #2 from AFLplusplus/dev
Dev
2023-04-21 16:48:47 +02:00
Maik Betka
de717cd225
Merge pull request #1 from voidptr127/atnwalk
fixed AFL_POST_PROCESS_KEEP_ORIGINAL for version 4.07a
2023-04-21 16:47:19 +02:00
Maik Betka
779a72ef8c fixed AFL_POST_PROCESS_KEEP_ORIGINAL for version 4.07a 2023-04-21 16:46:15 +02:00
van Hauser
dae5f94bce
Merge pull request #1710 from Ha0ris/frida-inst-no-dynamic-load
frida mode: add dynamic loaded code exclusion
2023-04-21 15:34:49 +02:00
vanhauser-thc
c49d346e37 remove ubuntu 18.04 from ci, no resources for this on github 2023-04-21 15:22:48 +02:00
vanhauser-thc
7a8d0a10ce add dummy functions to afl-showmap for old gcc compilers 2023-04-21 15:21:11 +02:00
vanhauser-thc
369ec31f0e debug output 2023-04-21 15:15:34 +02:00
vanhauser-thc
0a297ed9ef dummy function for afl-showmap 2023-04-21 15:09:35 +02:00
eleguevel
30495e6bfe frida mode: add dynamic loaded code exclusion
Add the AFL_FRIDA_INST_NO_DYNAMIC_LOAD environment variable and its
associated JS function setInstrumentNoDynamicLoad to prevent the
instrumentation of late dynamic loaded code.

Resolve #1708
2023-04-21 12:00:56 +02:00
Maik Betka
7101ffa1ae Merge remote-tracking branch 'origin/dev' into atnwalk
# Conflicts:
#	include/afl-fuzz.h
#	src/afl-fuzz-run.c
2023-04-21 11:31:22 +02:00
vanhauser-thc
4e5f42cab6 afl-showmap custom mutator support 2023-04-20 10:39:23 +02:00
Maik Betka
9ab902402c fixed code clones in atnwalk.c, introduced new environment variable AFL_POST_PROCESS_KEEP_ORIGINAL in AFL++ to integrate atnwalk without re-compiling afl-fuzz 2023-04-17 17:09:48 +02:00
Maik Betka
529a51c160 implemented status screen and 50% havoc and 50% splice schedule with limited rounds per queue entry 2023-04-17 17:09:48 +02:00
Maik Betka
e55b5c5408 fixed the server handshake commands, works now 2023-04-17 17:09:48 +02:00
Maik Betka
450dbae8cd first version with unix domain sockets is ready for testing 2023-04-17 17:09:48 +02:00
Maik Betka
a3bc8d3440 fixed wrong implementation of control bits in atnwalk.c 2023-04-17 17:09:48 +02:00