3792 Commits

Author SHA1 Message Date
Dominik Maier
e8d580f54d rust mutator changes added to changelog 2021-03-05 19:45:48 +01:00
julihoh
2dd5a02061
Ergonomic Improvements for Rust Custom Mutators (#772)
* allow returning of str instead of CStr in rust custom mutator

* use OsStr instead of CStr for file paths

* fix cfg and compiler errors

* custom mutator default descriptions

* fix usage of afl_internal feature flag

* fix example mutator cfg

* fix lain mutator

* Revert "fix lain mutator"

This reverts commit adf700180888d86e8331939cea62d0b39fc699a7.

* actually fix lain mutator

* resolve question around utf-8 null bytes

* change from OsStr to Path to be even more ergonomic

* add rust custom mutator ci

* fix github action

* again

* separate compilation check
2021-03-05 19:40:59 +01:00
vanhauser-thc
9844e1a856 fix 2021-03-05 19:32:27 +01:00
vanhauser-thc
44be521ab8 fix 2021-03-05 19:19:43 +01:00
vanhauser-thc
c9819e3b94 reduce github action minutes 2021-03-05 18:24:41 +01:00
hexcoder
16d6f35aa6
typos 2021-03-05 18:11:05 +01:00
hexcoder
c9854ec8cb
typo 2021-03-05 18:07:16 +01:00
vanhauser-thc
41ad23041b remove warnings 2021-03-05 14:58:37 +01:00
vanhauser-thc
3e5ac0af52 no static for rt initialized markers 2021-03-05 10:21:28 +01:00
vanhauser-thc
f848562732 point explicitly to AFL_MAP_SIZE on problems 2021-03-05 10:15:38 +01:00
vanhauser-thc
3342aa751d fix laf string transform crash 2021-03-05 10:05:43 +01:00
vanhauser-thc
a2f40aa285 disable corpus introspection, potentially creates huge data 2021-03-04 22:10:32 +01:00
vanhauser-thc
f34a860d5f NO_ARCH_OPT was removed due many issues 2021-03-04 20:14:47 +01:00
vanhauser-thc
b6dc529bc3 no ASAN odr violations by default 2021-03-04 14:55:57 +01:00
vanhauser-thc
79d75d8e42 even support dlopen instrumented libs after the forkserver 2021-03-04 14:19:00 +01:00
vanhauser-thc
96c526cb78 fix caller/ctx change, support dlopen in afl-compiler-rt 2021-03-04 14:04:40 +01:00
vanhauser-thc
02f3319256 only initialize afl-compiler-rt once 2021-03-04 12:23:27 +01:00
Andrea Fioraldi
8f538e77ed code format 2021-03-04 11:33:51 +01:00
Andrea Fioraldi
1e76079e93 llvm mode CALLER mode 2021-03-04 11:32:32 +01:00
Andrea Fioraldi
0e736276e6 restore correct CTX behaviour in llvm mode 2021-03-04 11:00:54 +01:00
Andrea Fioraldi
08ef8d6b78 NO_CHECKOUT=1 ./build_qemu_support.sh 2021-03-04 10:57:00 +01:00
Andrea Fioraldi
3977d50b55 update qemuafl and remove git stas 2021-03-04 10:52:22 +01:00
Andrea Fioraldi
3bcfbf5038
Merge pull request #776 from realmadsci/afl-exclude-ranges
Add AFL_QEMU_EXCLUDE_RANGES
2021-03-04 10:33:16 +01:00
vanhauser-thc
f0c7967fbf add new tutorial 2021-03-03 08:58:09 +01:00
realmadsci
8bdb40b763 cpu-exec: Add AFL_QEMU_EXCLUDE_RANGES
This environment variable allows rejection of
specific regions from instrumentation.

It takes priority over AFL_INST_LIBS and AFL_QEMU_INST_RANGES,
so it can be used to poke a "hole" in previously included sections.
2021-03-02 12:55:44 -08:00
vanhauser-thc
f0bc2e0e8b docu 2021-03-02 18:45:41 +01:00
vanhauser-thc
108e588e88 add de-unicoded dictionary entries 2021-03-02 17:46:43 +01:00
vanhauser-thc
333509bb0a better unicode support 2021-03-02 16:24:43 +01:00
vanhauser-thc
c269c3977c fix llvm for unicode strings (hopefully) 2021-03-02 11:38:12 +01:00
vanhauser-thc
c3a8052a16 update changelog 2021-03-01 19:30:39 +01:00
aflpp
d0a61279b8 write to correct pipe end 2021-03-01 19:15:58 +01:00
aflpp
7259075b71 len for cmplog rtn 2021-03-01 19:13:29 +01:00
aflpp
14fd477147 better fix for asan? 2021-03-01 19:03:25 +01:00
Andrea Fioraldi
05e2f577f6 fix area_is_valid with write 2021-03-01 17:21:27 +01:00
Andrea Fioraldi
a29b360d55 area_is_valid with write 2021-03-01 17:16:34 +01:00
Andrea Fioraldi
75d6a8b701 fix last commit 2021-03-01 15:33:28 +01:00
Andrea Fioraldi
ad7a7fcf07 ASan-compatible area_is_mapped() 2021-03-01 15:30:55 +01:00
vanhauser-thc
82c05630ba 3.11a init 2021-03-01 10:12:42 +01:00
vanhauser-thc
4619a1395b ensure proper aligning for skim patch 2021-03-01 09:57:57 +01:00
vanhauser-thc
0c38850f95 3.10c release 2021-03-01 09:43:35 +01:00
vanhauser-thc
07884e0054 feodora qemu lib fix 2021-03-01 09:37:07 +01:00
van Hauser
bdadbb7207
Merge pull request #770 from rchildre3/qasan-print-formats
Fix printf specifiers of (s)size_t in QAsan hooks
2021-02-28 22:02:35 +01:00
R. Elliott Childre
e389eb9842 Fix printf specifiers of (s)size_t in QAsan hooks
* size_t specifier is %zu or %zx
* ssize_t specifier is %zd

Helpful for cross compiling
2021-02-28 15:08:59 -05:00
vanhauser-thc
f81ef4abf4 fix afl-common compile 2021-02-28 00:12:39 +01:00
heiko
6036cf8437 BSD: how to avoid core dumps 2021-02-28 00:24:29 +01:00
Andrea Fioraldi
1cad645400 fix %ld in hooks.c 2021-02-27 18:30:04 +01:00
Andrea Fioraldi
36846836ed libqasan: read and write hooks 2021-02-27 18:26:57 +01:00
vanhauser-thc
79f1a44a01 fix qasan search path 2021-02-27 18:14:58 +01:00
hexcoder-
c2127e3ff7 disable the generation of core files in DragonFly BSD 2021-02-27 17:58:25 +01:00
Dominik Maier
2ad495ad0a reworked unicornafl documentation 2021-02-27 17:19:00 +01:00