146 Commits

Author SHA1 Message Date
Andrea Fioraldi
1064c7114e code format 2020-08-05 13:30:43 +02:00
Andrea Fioraldi
0281872ddf remove shared_linking check 2020-08-05 13:05:30 +02:00
Andrea Fioraldi
2d650f8c22 merge conflict 2020-08-05 12:54:52 +02:00
Andrea Fioraldi
19631851f6 dynamic symbols export for dlopen 2020-08-05 12:53:46 +02:00
van Hauser
f30ca1476c fix short write 2020-08-05 11:17:15 +02:00
Andrea Fioraldi
bd36aac60a remove shared_linking case 2020-08-05 10:27:48 +02:00
Andrea Fioraldi
8fc727e597 port patch from https://github.com/google/AFL/pull/112 2020-08-05 10:01:58 +02:00
van Hauser
6d364dd2cb add sancov-like allow/denylist instrument feature 2020-08-05 01:13:51 +02:00
van Hauser
e1d20706ca fix cmplog with lto 2020-08-04 13:17:53 +02:00
van Hauser
898353c87a enforce no built-ins for lto 2020-08-03 14:17:51 +02:00
van Hauser
1cddd51662 refactoring debug/be_quiet, fatal on dont_optimize and instrument_file 2020-08-02 22:28:16 +02:00
van Hauser
b708cf7d45 fix lto single block and no zero 2020-08-01 19:43:29 +02:00
van Hauser
8e0c776137 more flexible use of shmem persistent vars 2020-08-01 17:58:37 +02:00
van Hauser
9c9c4a6b2b remove forced -shared for lto, seems unneeded 2020-08-01 14:27:18 +02:00
van Hauser
6efe51a8a7 improve chances to compile with lto 2020-08-01 13:56:10 +02:00
van Hauser
593940c39a refer to llvm 12 for partial instrumentation for PCGUARD 2020-07-31 20:20:30 +02:00
van Hauser
185f443659 add LTO AFL_LLVM_DOCUMENT_IDS feature 2020-07-31 17:53:01 +02:00
van Hauser
22921c493f improve docs, enable laf compare if float is set 2020-07-29 12:58:02 +02:00
van Hauser
67d58e2437 doc updates 2020-07-16 20:24:01 +02:00
van Hauser
b126a5d5a8 LTO: autodict default, instrim disabled 2020-07-12 13:44:25 +02:00
van Hauser
84a320f834 skip -fuse-ld parameters when in LTO mode 2020-07-09 21:31:15 +02:00
van Hauser
0aed549df1 warn rather than fail if AFL_MAP_SIZE is set and not understood by instrumenter 2020-07-06 14:11:21 +02:00
van Hauser
75fa1ac3b0 warn rather than fail if AFL_MAP_SIZE is set and not understood by instrumenter 2020-07-06 14:10:14 +02:00
Elia Geretto
4fd145c52e llvm_mode: Fix typo in compiler wrapper 2020-07-03 18:37:53 +02:00
van Hauser
9d5007b18e
Big renaming (#429)
* first commit, looks good

* fix ascii percentage calc

* fix ascii percentage calc

* modify txt configs for test

* further refinement

* Revert "Merge branch 'text_inputs' into dev"

This reverts commit 6d9b29daca46c8912aa9ddf6c053bc8554e9e9f7, reversing
changes made to 07648f75ea5ef8f03a92db0c7566da8c229dc27b.

* blacklist -> ignore renaming

* rename whitelist -> instrumentlist

* reduce the time interval in which the secondaries sync

Co-authored-by: root <root@localhost.localdomain>
2020-06-30 23:34:26 +02:00
van Hauser
2a254fce8f fix afl-clang-fast for default pcguard mode 2020-06-19 14:21:34 +02:00
julian.haerig
2e35326040 Fixed missing cast in afl-clang-fast.c, which results in a compilation error when using __AFL_FUZZ_TESTCASE_BUF in a C++ target 2020-06-16 18:04:38 +02:00
van Hauser
e5dcaa818e set class afl instrumentation if llvm <= 6 2020-06-16 15:59:09 +02:00
David Carlier
67d87dd2a9 Porting to Haiku.
getrusage does not implement resident memory gathering, no shm api neither.
2020-06-14 15:32:02 +00:00
van Hauser
35ddec7aeb fix shmem persistent mode 2020-06-04 02:37:05 +02:00
van Hauser
b7b5fdf42a fix vor afl-clang 2020-05-30 13:31:10 +02:00
van Hauser
af670ca138 enable snapshot lkm for llvm_mode persistent mode 2020-05-27 17:17:33 +02:00
van Hauser
1cae68dde3 persistent mode shared memory fuzzing - done 2020-05-26 15:20:42 +02:00
van Hauser
996e1515b3 better performance compilation options for afl++ and targets 2020-05-26 13:19:57 +02:00
van Hauser
707145c491 persistent mode: shared memory test case transfer 2020-05-25 16:40:55 +02:00
van Hauser
68e66fa920 fix compare-transform for strn?casecmp 2020-05-24 01:59:08 +02:00
van Hauser
c64ea49432 AFL_LLVM_LAF_ALL 2020-05-23 01:37:21 +02:00
van Hauser
5b9dfa0600 fix llvm_mode selection 2020-05-22 11:22:30 +02:00
van Hauser
5d0bcf8152 switching llvm_mode default to pcguard 2020-05-22 10:24:00 +02:00
van Hauser
682b620922 fix afl-clang-fast help output 2020-05-14 16:25:07 +02:00
van Hauser
2e553bcd69 code-format 2020-05-10 10:24:24 +02:00
van Hauser
d02cfc54b6 LTO fixes for fuzzbench 2020-05-10 08:51:40 +02:00
van Hauser
140053502b import transform fix into autodict, code-format 2020-05-07 08:08:20 +02:00
van Hauser
ec5b1924c4 CTX+NGRAM != LTO 2020-05-06 11:55:50 +02:00
van Hauser
80ddb484de added InsTrimLTO :-) 2020-05-06 11:51:28 +02:00
van Hauser
128e4d5565 more typos fixed 2020-05-05 20:23:16 +02:00
van Hauser
d6346561db ctx+ngram for instrim 2020-05-05 15:37:02 +02:00
van Hauser
16c16b3e6e ctx and ngram can be used together now 2020-05-04 18:01:47 +02:00
van Hauser
378573ab8b AFL_LLVM_SKIP_NEVERZERO added 2020-05-02 00:39:13 +02:00
van Hauser
d3254d8066 llvm fix 2020-04-17 12:00:28 +02:00