40 Commits

Author SHA1 Message Date
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
Khaled Yakdan
a949b40d11 Only execute the mutated input when it is not empty 2019-07-27 01:18:30 +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
8f4f45c524 incorporated most of the 2.53b changes 2019-07-26 10:35:58 +02:00
van Hauser
5969b7cdbc filenames should not have spaces 2019-07-25 10:19:17 +02:00
Dominik Maier
00dc8a0ad5 Added AFL-Unicorn mode 2019-07-25 02:26:51 +02:00
van Hauser
1d1d0d9b6f warn on calling the target binary without an explicit path 2019-07-20 13:15:41 +02:00
van Hauser
322b5a736b updated docs and crash issues with gcc_plugin 2019-07-20 09:06:47 +02:00
Andrea Fioraldi
907c054142 this closes #23 2019-07-19 17:56:52 +02:00
van Hauser
866e22355c show selected core and code cleanup 2019-07-19 12:08:02 +02:00
van Hauser
5b2cb426be code cleanup and documented secret cmdline option 2019-07-18 12:54:19 +02:00
van Hauser
5fa19f2801 cpu scaling updated for newer kernels 2019-07-18 10:17:50 +02:00
van Hauser
4f5acb8f52 test case files with time information 2019-07-17 16:39:35 +02:00
van Hauser
8a4cdd56d4 added gcc_plugin 2019-07-16 08:34:17 +02:00
Heiko Eißfeldt
0d217e15d5 fix merge artefact (check_binary) 2019-07-14 22:56:27 +02:00
van Hauser
82d70e0720 fix 2019-07-14 20:10:43 +02:00
van Hauser
da8e03e18a
Merge branch 'master' into shared_memory_mmap_refactor 2019-07-14 20:02:20 +02:00
hexcoder-
f45332e1ab portability fix: getcwd(NULL, 0) is a non-POSIX glibc extension. Refactor
detect_file_args() in a separate file in order to avoid multiple copies.
2019-07-13 09:39:51 +02:00
van Hauser
5508e30854 -E fix 2019-07-12 20:32:07 +02:00
van Hauser
eddfddccb2 -E option and docu update 2019-07-12 18:17:32 +02:00
van Hauser
519678192f
Merge pull request #12 from vanhauser-thc/MOpt
Mopt
2019-07-10 14:20:06 +02:00
van Hauser
c3083a77d4 updated references 2019-07-10 14:19:00 +02:00
van Hauser
891ab3951b fix 2019-07-08 17:12:07 +02:00
van Hauser
11251c77ca fix 2019-07-08 11:42:21 +02:00
van Hauser
198946231c imported MOpt and worked around the collisions with other patches 2019-07-08 11:36:52 +02:00
Khaled Yakdan
b2f0b6f2b4 Update the interface of the custom_mutator to handle cases where the mutation returns a larger buffer than the original buffer 2019-07-06 11:03:00 +02:00
Khaled Yakdan
14aa5fe521 Added two hooks that are necessary for the grammar fuzzer 2019-07-04 14:25:19 +02:00
Khaled Yakdan
fedbd54325 Define AFLCustomMutator hook that can be implemented by implemented by external libraries and provided to AFL 2019-07-01 17:53:41 +02:00
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
1cc69df0f4 display power schedule in status screen 2019-06-23 18:37:02 +02:00
van Hauser
2db576f52b better power schedule documentation 2019-06-23 11:19:51 +02:00
van Hauser
421edce623 friendly power schedule names 2019-06-22 19:03:15 +02:00
van Hauser
549b83504f added -s fixed_seed feature 2019-06-20 13:51:39 +02:00
van Hauser
1d6e1ec61c Python 2.7 mutator module support added 2019-06-19 19:45:05 +02:00
practicalswift
263fd37590 Fix typos 2019-06-07 17:56:29 +02:00
Andrea Fioraldi
ba37bf13d6 fix gui misalignment in show_stats() 2019-06-05 11:50:04 +02:00
van Hauser
aba26ce4b3 fixed incomplete 79x24 patch, thanks heiko 2019-05-30 17:51:02 +02:00
van Hauser
dacb2821b3 added AFLfast power schedules from Marcel Boehme and updated the documenation 2019-05-29 14:10:37 +02:00
van Hauser
dfa0c9cfd1 remove an unnecessary linefeed 2019-05-29 09:45:59 +02:00
van Hauser
f367728c44 afl++ 2.52c initial commit 2019-05-28 16:40:24 +02:00