117 Commits

Author SHA1 Message Date
hexcoder-
cd165b18f0 fix warn -> warning, no targets when prerequisites are not met 2019-12-10 06:50:02 +01:00
van Hauser
2038f86016 documented llvm 10 support 2019-12-09 15:16:10 +01:00
hexcoder-
30e4e7340e on MacOS llvm is not installed by default, add a test for that. Before this fix
the make run proceeded, producing meaningless error messages.
2019-12-09 12:19:57 +01:00
van Hauser
2b0cfe1ab5 final touches 2019-12-03 01:45:01 +01:00
van Hauser
4231c49839
Merge branch 'master' into llvm_mode_build_fix 2019-12-03 01:40:41 +01:00
van Hauser
ef2dc98773 maybe we can work with xcode? 2019-12-03 00:30:35 +01:00
David Carlier
b0d590fef4 LLVM 10 build fix proposal
c++14 is the minimum for this version, thus the hardcoded gnu++11
standard flag makes the build fails.
Missing header only for this version seemingly for the option.
2019-12-02 14:26:29 +00:00
Andrea Fioraldi
124ec8d297 code format (contributors, do it!) 2019-12-02 14:34:21 +01:00
David Carlier
8a2f2e1792 compiler plugins, just create const constants once. 2019-11-22 11:03:45 +00:00
van Hauser
760d4991f3 Android PR integration 2019-11-11 23:50:31 +01:00
David Carlier
7fdc7e01a5 Fix some silent warnings and put some var to some usage... 2019-10-31 11:41:50 +00:00
David Carlier
070ccae4dd Little tweaks 2019-10-31 09:25:43 +00:00
David Carlier
16953b5cfa LLVM mode passing the full path of the LLVM config bindir.
On FreeBSD the system compiler does not have llvm-config
however system packages provides several version of the
LLVM toolchain thus forcing to pass AFL_CC/AFL_CXX to make
it work fully.
2019-10-30 17:09:01 +00:00
David Carlier
c87210820c libtokencap update proposal
- bcmp interception.
- FreeBSD using default argument to get current pid for the mapping
data gathering, getpid seems to cause some issues under certain
conditions (getenv call).
2019-10-29 15:06:20 +00:00
hexcoder-
38d74f0ad5 second forgotten place, we need to filter out float vector types 2019-10-28 20:48:45 +01:00
hexcoder-
3ad5316dd1 fix issue #86, we exclude floating point vectors from splitting 2019-10-27 23:54:44 +01:00
van Hauser
8e41a59e2e
Merge pull request #87 from devnexen/gcc_llvm_plugins_little_cjg
Little compiler plugins rework regarding block location picked up.
2019-10-26 17:31:01 +02:00
Andrea Fioraldi
3eaf5560be AFL_LLVM_LAF_SPLIT_FLOATS 2019-10-26 09:03:46 +02:00
David Carlier
15c920a612 Little compiler plugins rework regarding block location picked up. 2019-10-25 14:40:04 +01:00
hexcoder-
c83e8e1e62 Remove lcamtuf's old email from Google (not valid anymore), also remove maintainance from him. 2019-10-19 18:23:01 +02:00
hexcoder-
230c135d4e typo in names 2019-10-18 22:43:30 +02:00
hexcoder-
e7ab8be0cd sync afl-fast-gcc with afl-clang-fast, add tests for gcc_plugin 2019-10-18 19:53:10 +02:00
hexcoder-
b1822f2602 reintegrate gcc_plugin 2019-10-18 18:01:33 +02:00
Andrea Fioraldi
eae4a9e1f8 persistent qemu should now works as expected 2019-10-08 12:39:11 +02:00
hexcoder-
5245ed2262 suppress errors while trying to run llvm-config, it might not be
installed.
2019-10-05 15:19:32 +02:00
hexcoder-
b5c2646360 fix mantissa mask bug (for types double and long double) 2019-10-05 13:55:25 +02:00
hexcoder-
e0ff431169 replace op0_size and op1_size with op_size. 2019-10-05 12:35:06 +02:00
van Hauser
9c105098dd general maintance 2019-10-04 10:33:28 +02:00
hexcoder-
b89d10025d Merge branch 'master' of https://github.com/vanhauser-thc/AFLplusplus 2019-09-28 18:03:42 +02:00
hexcoder-
edb33cba0c portability: FreeBSD does not know 'date -I', fix paths for man page
generation
2019-09-28 18:00:43 +02:00
hexcoder-
36fea4ba7b typo corrected 2019-09-28 11:57:29 +02:00
hexcoder-
c08f4f5845 fix issue#63 compilation problem with a workaround
for llvm 6.0 and Ubuntu 18.04
2019-09-25 07:10:38 +02:00
hexcoder-
a7e45319c3 small docs updates typos, grammar, clarifications 2019-09-25 05:41:03 +02:00
hexcoder-
149b7d9ee8 bugfix for optimization 2019-09-23 22:25:44 +02:00
hexcoder-
d13592aea0 Merge branch 'master' of https://github.com/vanhauser-thc/AFLplusplus 2019-09-23 21:59:27 +02:00
hexcoder-
59d4b0aadb avoid floatSemantics, not available in LLVM 3.8.0 2019-09-23 21:57:38 +02:00
Andrea Fioraldi
ff1f6af7e9 wine mode && fix llvm makefile 2019-09-22 20:01:44 +02:00
van Hauser
7adb7cf7f6 more tests 2019-09-22 10:42:48 +02:00
hexcoder-
1e503a586d first realisation of splitting floating point compares
activated with AFL_LLVM_LAF_SPLIT_COMPARES=1
needs testing on big endian machines
A compare is split into
 sign integer comparison
 exponent integer comparison
 mantissa/fraction integer comparison
These integer comparisons are further splitted if they are
bigger than a byte.
2019-09-22 08:02:56 +02:00
van Hauser
123d97bfb8 LLVM_CONFIG llvm_mode fix 2019-09-20 18:37:16 +02:00
van Hauser
dd0a8c200c Makefile fix 2019-09-20 18:22:01 +02:00
Andrea Fioraldi
ed7917e619 qemu persistent GPR 2019-09-18 10:15:34 +02:00
hexcoder-
5f50964176 fix man page generation, prerequisite is located in main directory 2019-09-17 00:44:46 +02:00
van Hauser
46ac559003 man page for afl-clang-fast 2019-09-16 15:17:14 +02:00
Andrea Fioraldi
e1f18f6212 fix typo in custom format 2019-09-04 10:03:51 +02:00
Andrea Fioraldi
7151651ea9 remove macro indentation from code-format 2019-09-03 20:43:11 +02:00
van Hauser
45f00e45be error to warn change 2019-09-03 11:38:44 +02:00
Andrea Fioraldi
f3617bd83b
Merge pull request #53 from vanhauser-thc/code-cleanup
Code cleanup
2019-09-03 11:12:49 +02:00
hexcoder-
3bfd88aabb better support for OpenBSD thanks to CaBeckmann (issue #9).
On OpenBSD there is a restricted system LLVM, but a full LLVM
package can be installed (typically in /usr/local/bin).
Added a check if the full package is installed. If so, use it,
otherwise bail out early with a hint to install it.
2019-09-03 04:28:24 +02:00
Andrea Fioraldi
d47ef88fcd minor fixes 2019-09-02 18:53:43 +02:00