320 Commits

Author SHA1 Message Date
Heiko Eißfeldt
d9ff84e39e Refactor to use an alternative method for shared memory.
If USEMMAP is defined, the shared memory segment is created/attached etc.
now by shm_open() and mmap().
This API is hopefully more often available (at least for iOS).

In order to reduce code duplication I have added new files
sharedmem.[ch] which now encapsulate the shared memory method.

This is based on the work of Proteas to support iOS fuzzing (thanks).
866af8ad1c

Currently this is in an experimental status yet. Please report
whether this variant works on 32 and 64 bit and on the supported platforms.

This branch enables USEMMAP and has been tested on Linux.
There is no auto detection for the mmap API yet.
2019-06-30 10:37:14 +02:00
van Hauser
aa4fc44a80 2 different implementations 2019-06-27 15:43:51 +02:00
Hexcoder
45be91ff48 experimental implementation of counters that skip zero on overflow.
Enable with AFL_NZERO_COUNTS=1 during compilation of target.
2019-06-25 22:03:59 +02:00
van Hauser
0104e99caa llvm_mode whitelist (partial instrumentation) support added 2019-06-25 12:00:12 +02:00
Philipp Bartsch
7b5905bda6 llvm_mode/split-switches-pass: add checks
Add extra check to allow early exist in trivial cases that would
sometimes lead to crashes.
2019-06-17 04:18:55 +02:00
Philipp Bartsch
f5ba5ffe80 fix zero terminated string issue
In C "strings" are zero terminated. Functions like
strcmp/strncmp/memcmp/... work on them. We have to be careful to not
ignore the last byte.
2019-06-13 14:42:10 +00:00
Heiko Eißfeldt
0113c4f834 Merge branch 'master' of https://github.com/vanhauser-thc/AFLplusplus 2019-06-12 17:21:26 +02:00
Heiko Eißfeldt
1c2ed83960 bugfixes from pbst for laf-intel transformations 2019-06-12 17:20:25 +02:00
practicalswift
263fd37590 Fix typos 2019-06-07 17:56:29 +02:00
Heiko Eißfeldt
bcc0347eef enable laf-intel passes in the test compilation to check instrumentation 2019-06-04 20:59:45 +02:00
Hexcoder
8cf9125097 Merge branch 'master' of https://github.com/vanhauser-thc/AFLplusplus 2019-06-03 23:41:42 +02:00
Hexcoder
b4678b77f1 fix llvm compatibility problems. Should compile now with llvm 3.8.0
up to llvm 8.0
2019-06-03 23:20:47 +02:00
van Hauser
865212899a llvm support for up to version 8 2019-06-03 23:20:30 +02:00
van Hauser
58b6c7605a fixed afl++ version display in llvm_mode 2019-06-03 14:08:04 +02:00
van Hauser
14bfde3f78 llvm compile fix 2019-06-03 13:10:27 +02:00
van Hauser
835b84fc49 set to compile with llvm 5.0 and 6.0 2019-06-02 22:39:04 +02:00
van Hauser
49a08e38b9 llvm 5.0 and 6.0 workaround 2019-06-02 22:23:25 +02:00
van Hauser
c9d2c5f269 llvm compilter versions supported 2019-06-02 17:20:38 +02:00
van Hauser
bf5bd17d2e llvm 8 support 2019-06-01 17:05:51 +02:00
van Hauser
f367728c44 afl++ 2.52c initial commit 2019-05-28 16:40:24 +02:00