3577 Commits

Author SHA1 Message Date
buherator
9cdf5c4150
User defined kill signal value (#678)
* Adding AFL_KILL_SIGNAL environment variable

Controlling the kill signal used to end forked processes.

* Checking validity of AFL_KILL_SIGNAL env variable

This commit also sets a valid value in the environment to avoid
duplicating code in at_exit(). Changing data type of
fsrv->kill_signal to u8 to match last_kill_signal.

* Adding afl_kill_signal to AFL (environment) state

This commit simply introduces a struct member for future use. The
env variable is not used from the afl struct but from fsrv, where
its validity is checked, resulting in a FATAL in case of errors.
2021-01-07 22:35:34 +01:00
van Hauser
52c221fc48 selective coverage fix 2021-01-06 09:35:47 +01:00
van Hauser
4c78bb7080 cpp fix 2021-01-05 22:13:55 +01:00
van Hauser
59b86b0db0 haiku fix 2021-01-05 19:20:10 +01:00
van Hauser
1a85fca49f haiku fix 2021-01-05 19:14:51 +01:00
van Hauser
9d4614ce2f haiku support 2021-01-05 19:06:27 +01:00
hexcoder
faefad564b Haiku afl-system-config disable debugger, afl-cc.c avoid -lrt 2021-01-05 16:49:04 +00:00
van Hauser
6b54310452 selective instrumentation documented 2021-01-05 12:30:26 +01:00
van Hauser
caf1fbd632 selective_coverage implementation in afl-compiler-rt 2021-01-05 11:52:55 +01:00
van Hauser
a561de6e97 forgot struct keyword 2021-01-05 10:40:46 +01:00
van Hauser
7acf410ab6 afl coverage feature example 2021-01-05 10:35:12 +01:00
van Hauser
6c095b3937 code format 2021-01-04 23:13:56 +01:00
van Hauser
d367b033a2 add missing FCMP_UEQ to split-compares-pass.so.cc 2021-01-04 23:08:46 +01:00
hexcoder-
7f4b3a460a more code cleanup (instrumentation) 2021-01-04 22:23:04 +01:00
hexcoder-
251e72f136 mehr code cleanup 2021-01-04 21:25:53 +01:00
hexcoder-
c6e038fe25 code cleanups (shadowed vars, (un)signed type mismatches, format types, etc.) 2021-01-04 20:40:53 +01:00
van Hauser
5c22472616 cmplog fix 2021-01-04 18:20:02 +01:00
hexcoder-
b7cd6d4035 code cleanup 2021-01-04 18:11:51 +01:00
van Hauser
1842c8390f fix for llvm < 11 2021-01-04 17:53:47 +01:00
van Hauser
9c15f53a47 fix for changes in llvm 12 2021-01-04 17:45:52 +01:00
hexcoder-
b7af98e945 code cleanups (from cppcheck mostly) 2021-01-04 15:32:22 +01:00
hexcoder-
5cdbfeef4a Revert "code cleanups (from cppcheck)"
This reverts commit 33a7d6f1688856c050b0ac71ac1df4018e4d531c.
2021-01-04 15:17:39 +01:00
hexcoder-
33a7d6f168 code cleanups (from cppcheck) 2021-01-04 15:14:20 +01:00
van Hauser
c423aebb1a FP support for cmplog 2021-01-04 12:57:29 +01:00
van Hauser
58039d181a stability fix 2021-01-03 12:34:23 +01:00
van Hauser
880513651d cmplog cleanup 2021-01-03 10:13:55 +01:00
van Hauser
1857df8d06 cleanup 2021-01-03 00:37:56 +01:00
hexcoder-
3c88de565a afl-cmin tests: allow leading whitespace in wc -l output 2021-01-02 23:17:30 +01:00
hexcoder-
8bcb17b11f Merge branch 'dev' of https://github.com/AFLplusplus/AFLplusplus into dev 2021-01-02 23:16:37 +01:00
hexcoder-
848db92196 build_unicorn_support.sh: allow DragonFly to build 2021-01-02 23:15:55 +01:00
hexcoder-
6ed465bacc afl-system-config: cosmetic support for DragonFly 2021-01-02 23:14:29 +01:00
hexcoder-
e83a1bc0d1 test-basic.sh: fix color GRAY to GREY 2021-01-02 20:18:26 +01:00
hexcoder-
33abd70647 typo 2021-01-02 20:06:02 +01:00
hexcoder-
84d3192f01 Merge branch 'dev' of https://github.com/AFLplusplus/AFLplusplus into dev 2021-01-02 20:01:19 +01:00
hexcoder-
d2a1f05a69 add first support for DragonFly OS 2021-01-02 19:59:06 +01:00
Andrea Fioraldi
7620f6f396 Merge branch 'dev' of github.com:AFLplusplus/AFLplusplus into dev 2021-01-02 11:36:17 +01:00
Andrea Fioraldi
214da5c42e fix qemu linking error with mips 2021-01-02 11:36:06 +01:00
hexcoder-
697e3e285b add missing git submodule sync 2021-01-02 08:35:27 +01:00
van Hauser
fac373ec9e try new weighting 2021-01-01 13:42:58 +01:00
van Hauser
16d2bd3177 doc update 2021-01-01 13:34:24 +01:00
van Hauser
af10a635f5
Merge pull request #670 from devnexen/libdislocator_build_fix
libdislocator, ptr algo warning fix on clang/Xcode (m1).
2020-12-31 15:56:57 +01:00
David CARLIER
935724557f libdislocator, ptr algo warning fix on clang/Xcode (m1). 2020-12-31 11:38:35 +00:00
van Hauser
7e6645d5a2 float2double 2020-12-31 11:51:10 +01:00
van Hauser
271116f870
Merge pull request #666 from AFLplusplus/dev
push to stable
2020-12-30 18:13:55 +01:00
hexcoder-
84e72b0a51 Merge branch 'dev' of https://github.com/AFLplusplus/AFLplusplus into dev 2020-12-30 13:03:13 +01:00
hexcoder-
b0d69f1b69 cleanup of hot fix for -s on 32-bit 2020-12-30 13:02:11 +01:00
van Hauser
f38595f6b4 better weighting 2020-12-30 12:32:55 +01:00
van Hauser
5a99e67e02 add less to Dockerfile 2020-12-30 11:02:00 +01:00
van Hauser
0246fe9200 fix 32-bit mode, fix weighting 2020-12-30 10:34:22 +01:00
hexcoder-
5d560c1ece tests: let afl-fuzz run with -D, so more test cases are produced 2020-12-29 23:54:10 +01:00