3357 Commits

Author SHA1 Message Date
Joey Jiao
742aed4f2e Add support for Android 2019-08-19 19:43:58 +08:00
van Hauser
d3d0682310 seperated the forkserver from afl-fuzz and afl-tmin 2019-08-19 12:54:55 +02:00
van Hauser
53012ff41c
Merge pull request #46 from devnexen/bsd_config
system-config: making it more compatible with BSD systems.
2019-08-18 13:45:51 +02:00
David Carlier
dd734a01dc system-config: making it more compatible with BSD systems.
The following knobs are Linux specifics but have few counterparts
in those systems.
2019-08-18 09:40:33 +01:00
van Hauser
2053731ebc update readme and todo 2019-08-17 12:07:22 +02:00
van Hauser
a3b863d312
Merge pull request #41 from t6/patch-arc4random
Use arc4random(3) on *BSD/macOS
2019-08-17 07:55:00 +02:00
hexcoder-
7cb0658b00 more sed compatibility for Freebsd, avoid grouping 2019-08-14 22:48:06 +02:00
hexcoder-
96c76a8333 more sed compatibility for Freebsd, avoid grouping 2019-08-14 22:41:39 +02:00
hexcoder-
925cfba424 signedness in print formats corrected 2019-08-12 10:52:45 +02:00
hexcoder-
f63318a20f several code cleanups: avoid #if in macro parameters
avoid arithmetic with void pointers (undefined behaviour)
avoid some shadowed variables
2019-08-11 15:40:53 +02:00
hexcoder-
f5d4912ca8 performance optimization predecrement instead of postdecrement 2019-08-11 11:56:28 +02:00
hexcoder-
642cf8b5ff performance tuning prefer preincrement over postincrement 2019-08-10 19:58:18 +02:00
hexcoder-
0612aa2b65 optimized version extraction for clang (restricted to first line) 2019-08-10 17:10:18 +02:00
hexcoder
3937764ac5
Merge pull request #44 from GoodDayGeorge/zhuxing/master
llvm-mode: Get the clang version correctly
2019-08-10 14:59:18 +02:00
Zhu Xing
ed603dcba2 llvm-mode: Get the clang version correctly
When using clang-8.0, The previous command in the
Makefile will get two 8.0.0, thus a warning message print.
2019-08-10 08:22:38 +00:00
van Hauser
41d2e7d6b6 minor corrections 2019-08-09 00:34:26 +02:00
hexcoder-
73d02f3a80 fix some compiler warnings 2019-08-08 23:09:58 +02:00
van Hauser
e1183be22e documentation update 2019-08-08 10:43:27 +02:00
van Hauser
2971b5b315 documentation update 2019-08-08 10:36:43 +02:00
van Hauser
65a3a9773d
Merge pull request #39 from floyd-fuh/master
Workaround patch for QEMU
2019-08-08 09:08:51 +02:00
David Carlier
8b6a4e5759
For BSD/APPLE platform use native random calls
Solution not involving file descriptors, seeded upon fork and on
a regular basis.

Signed-off-by: Tobias Kortkamp <t@tobik.me>
2019-08-08 08:29:25 +02:00
hexcoder-
07df1e3034 bugfix 'echo -n' is not POSIX, use input redirection from /dev/null 2019-08-07 20:34:57 +02:00
hexcoder-
09c95b7ea7 reviewed neverZero for llvm 9.0 2019-08-07 20:26:41 +02:00
hexcoder-
a6fe8ae0af fix compilation error with llvm 9.0 2019-08-07 20:25:22 +02:00
hexcoder-
dc2c46e23c change instrumentation test to trigger different bitmap entries with clang 9.0 2019-08-07 20:22:47 +02:00
floyd
0f476a289f Ugly patch for this issue https://lists.sr.ht/~philmd/qemu/patches/6224#%3C20190617114005.24603-1-berrange@redhat.com%3E+linux-user/syscall.c in QEMU with ubuntu 19.10 2019-08-06 17:00:14 +02:00
van Hauser
ae3f058ff0
Merge pull request #38 from floyd-fuh/master
Unset AFL_CC
2019-08-06 16:56:24 +02:00
floyd
1315021388 unset AFL_CC correctly, if set to afl-clang but TEST_CC is afl-gcc, this will fail (eg. when later installing QEMU but AFL_CC was already set) 2019-08-06 16:49:55 +02:00
floyd
ccb231e4f4 set AFL_CC correctly, if set to afl-clang but TEST_CC is afl-gcc, this will fail 2019-08-06 16:39:42 +02:00
van Hauser
aad485128e fix 2019-08-01 15:55:10 +02:00
van Hauser
54bb9f4b55
Merge pull request #36 from vanhauser-thc/map_1mb
map size fixes
2019-08-01 15:44:56 +02:00
van Hauser
af823d6486 map size fixes 2019-08-01 15:44:10 +02:00
van Hauser
487a87df02 adding blame 2019-08-01 15:32:55 +02:00
van Hauser
b14fead592
Merge pull request #35 from code-intelligence-gmbh/custom_mutator
Custom mutator
2019-08-01 15:29:30 +02:00
Khaled Yakdan
ebf2c8caa5 Merge remote-tracking branch 'github/master' into custom_mutator
# Conflicts:
#	Makefile
#	afl-fuzz.c
2019-08-01 14:22:48 +02:00
van Hauser
84855737b3 little fix 2019-08-01 13:38:49 +02:00
Andrea Fioraldi
7a608d1346 add -r option to showmap to enable raw output 2019-08-01 13:19:25 +02:00
van Hauser
3e418ecb6e showmap shows tuple content summary now 2019-08-01 12:01:04 +02:00
van Hauser
89769c836f showmap fix 2019-08-01 11:49:01 +02:00
hexcoder-
7c8470b1dc document python2 requirements for unicorn_mode 2019-07-31 11:05:47 +02:00
hexcoder-
81bab528b2 name typos 2019-07-31 01:56:54 +02:00
Andrea Fioraldi
d6beac5235 compcov levels to enable the instrumentation of only immediates 2019-07-29 16:09:28 +02:00
Khaled Yakdan
a949b40d11 Only execute the mutated input when it is not empty 2019-07-27 01:18:30 +02:00
van Hauser
7ca22cd552
Merge pull request #33 from t6/patch-freebsd
Unbreak build on FreeBSD
2019-07-26 16:02:54 +02:00
Tobias Kortkamp
30586e634d
Unbreak build on FreeBSD
afl-fuzz.c:4341:62: error: use of undeclared identifier 'cpu_aff'
          cYEL "american fuzzy lop", use_banner, power_name, cpu_aff);
                                                             ^
afl-fuzz.c:11537:7: error: use of undeclared identifier 'cpu_aff'
  if (cpu_aff > 0)
      ^
afl-fuzz.c:11538:73: error: use of undeclared identifier 'cpu_aff'
    snprintf(tmp, sizeof(tmp), "%s%d%s", "/sys/devices/system/cpu/cpu", cpu_aff, "/cpuf...
                                                                        ^
afl-fuzz.c:11543:9: error: use of undeclared identifier 'cpu_aff'
    if (cpu_aff > 0)
        ^
afl-fuzz.c:11544:86: error: use of undeclared identifier 'cpu_aff'
      snprintf(tmp, sizeof(tmp), "%s%d%s", "/sys/devices/system/cpu/cpufreq/policy", cpu_aff...
                                                                                     ^
5 errors generated.
2019-07-26 15:24:50 +02:00
van Hauser
2b6fe347ae 2.53d init 2019-07-26 14:41:48 +02:00
van Hauser
f97409dd2d v2.53c 2.53c 2019-07-26 14:19:04 +02:00
van Hauser
c384367f17 fix readme.md makefile change 2019-07-26 10:45:26 +02:00
van Hauser
eea1c6606c incorporated most of the 2.53b changes 2019-07-26 10:39:14 +02:00
van Hauser
8f4f45c524 incorporated most of the 2.53b changes 2019-07-26 10:35:58 +02:00