2321 Commits

Author SHA1 Message Date
Andrea Fioraldi
2d8c3d2934 fix conflicts 2020-06-03 11:41:30 +02:00
Andrea Fioraldi
f1192b2d16 AFL_QEMU_DRIVER_NO_HOOK 2020-06-03 11:38:44 +02:00
van Hauser
fc164e4709 code format 2020-06-03 10:50:49 +02:00
Andrea Fioraldi
1c95e2e8e0 aflpp libfuzzer driver for qemu mode 2020-06-03 10:34:29 +02:00
Andrea Fioraldi
9962de1a4c shared mem input for qemu persistent hook 2020-06-03 09:57:44 +02:00
Dominik Maier
304a72c1ff added shmem support to unicornafl 2020-06-03 02:00:58 +02:00
Dominik Maier
83112ed5e0 got rid of questionable phrasing 2020-06-02 14:54:24 +02:00
Dominik Maier
fbd781fc83 Merge branch 'dev' of github.com:aflplusplus/aflplusplus into dev 2020-06-02 14:10:44 +02:00
Dominik Maier
62306f5ce8 minor fixes 2020-06-02 14:10:40 +02:00
van Hauser
1d15048f2f hopeful finally change for libfuzzer driver 2020-06-01 15:30:44 +02:00
van Hauser
adcffce0a0 fix libfuzzer driver 2020-06-01 14:57:05 +02:00
van Hauser
9a65fe904d small changes to libfuzzer driver 2020-06-01 13:37:50 +02:00
van Hauser
ac998e9222 minimal changes to a test 2020-06-01 13:15:34 +02:00
van Hauser
15c0ad60c5 minimal changes to a test 2020-06-01 13:15:16 +02:00
van Hauser
0de25f08ba code format 2020-06-01 12:30:55 +02:00
van Hauser
bca7ce8043 fixed persistent mode shared mem fuzzing 2020-06-01 12:30:20 +02:00
Dominik Maier
ee14785f68 starting shmap support for unicorn 2020-05-31 04:13:41 +02:00
Dominik Maier
c0ed118ba5 comment 2020-05-30 20:38:01 +02:00
David Carlier
0adb664a31 OpenBSD build update and llvm mode fix
Unlike upstream version, LLVM in OpenBSD enable by default anti ROP gadget
 leading to bigger binaries and lower performances.
On OpenBSD, it needs to link to c++ abi for th unwind symbols.
2020-05-30 19:28:47 +01:00
van Hauser
4a54328901 rename var time->time_ms 2020-05-30 17:11:45 +02:00
Dominik Maier
24508194c2 removed read_timed 2020-05-30 14:03:52 +02:00
Dominik Maier
95b46b4278 reverted extendended read_timed 2020-05-30 13:53:00 +02:00
Dominik Maier
b16ccb4811 Revert "code format"
This reverts commit 8f19becb620a6fedd0f8b855b48cdeeab211c2ed.
2020-05-30 13:51:29 +02:00
van Hauser
4119752f83 fix forkserver change 2020-05-30 13:37:27 +02:00
van Hauser
b7b5fdf42a fix vor afl-clang 2020-05-30 13:31:10 +02:00
Dominik Maier
dbd9423fc0 PowerPc support 2020-05-30 11:32:11 +02:00
Dominik Maier
8f19becb62 code format 2020-05-30 11:05:53 +02:00
Dominik Maier
38e5c32a55 corrected read_timed for values > 4 2020-05-30 11:02:34 +02:00
van Hauser
0c50945303 update readme 2020-05-30 07:22:51 +02:00
van Hauser
8726d7b0a3 simplified read_timed 2020-05-30 06:51:51 +02:00
Dominik Maier
408ef5298b
Merge pull request #383 from dgmelski/fix-read-timed
Fix read_timed when accumulating short reads
2020-05-29 18:58:25 +02:00
van Hauser
2ce243bc6e whitelist wildcard for LTO 2020-05-29 16:27:01 +02:00
van Hauser
255594ba3a
Merge pull request #385 from sirmc/dev
Support UNIX-style wildcards in AFL_LLVM_WHITELIST file
2020-05-29 16:21:54 +02:00
Sebastian Österlund
8bb0232ace Remove AFL_LLVM_WHITELIST_FNMATCH env variable 2020-05-29 15:47:34 +02:00
van Hauser
e3efacaae6
Merge pull request #386 from AFLplusplus/dev
code format
2020-05-29 14:44:04 +02:00
van Hauser
a550df4301 code format 2020-05-29 14:43:03 +02:00
van Hauser
710dda5221
Merge pull request #374 from AFLplusplus/dev
Dev
2020-05-29 14:35:05 +02:00
hexcoder-
c3b864d8d4 add Perl dictionaries from RootUp 2020-05-29 12:55:46 +02:00
hexcoder-
6892018142 Revert "perl.dict"
This reverts commit 4ad3144f50333593da2f84d12617720cdeb3c4fd.
2020-05-29 12:48:06 +02:00
Sebastian Österlund
84df805ed3 Do clang-format 2020-05-29 12:11:19 +02:00
hexcoder-
9c286da29b gcc_plugin: better error message when compiler and plugin versions do not match 2020-05-29 12:10:45 +02:00
hexcoder-
92b7974f44 .gitignore: add *.pyc 2020-05-29 12:07:09 +02:00
Sebastian Österlund
38860323de Fix typos in LLVM whitelist README 2020-05-29 12:01:06 +02:00
Sebastian Österlund
8316425375 Add AFL_LLVM_WHITELIST_FNMATCH env var
Only enable UNIX pattern matching on the whitelist when
AFL_LLVM_WHITELIST_FNMATCH is set. The reason being that we keep
backwards compatibility with old whitelists.
2020-05-29 11:55:02 +02:00
Sebastian Österlund
0cedc8014b Support filename pattern matching in whitelist
Allow the whitelist specified by AFL_LLVM_WHITELIST contain entries with
UNIX shell-style wildcard pattern matching.
2020-05-29 10:51:34 +02:00
hexcoder
8aae1fc5d7
Merge pull request #384 from RootUp/patch-4
Grammar for fuzzing Perl
2020-05-29 10:14:33 +02:00
Dhiraj Mishra
4ad3144f50
perl.dict 2020-05-29 10:55:35 +04:00
David Melski
4b01d594c4 Fix read_timed when accumulating short reads
The existing code appears to use 'len_read' in several places where
'total_read' was intended.  The function may work if the first 1 or 2
iterations of the loop read the requested 'len' bytes.

If the first two reads are "short" and a third read is done, the bytes
will be placed over previously read bytes in buf and more than 'len'
bytes may be read in total, though buf is never overrun.

This commit changes read_timed to

  (1) correctly append short reads in buf
  (2) correctly terminate when the sum of the short reads
      equals the requested 'len' bytes
  (3) return an error when read() returns -1 or 0

The function also depends on select() decrementing the timeout
structure, as it does on Linux.  On other platforms, the exec_ms
returned is likely incorrect.  This patch does not attempt to address
this issue.
2020-05-28 20:25:30 -04:00
van Hauser
5e4cd05e04
Merge pull request #382 from ivachyou/master
change qemu-mode AFL_REGS_NUM to 16 for TARGET_ARM
2020-05-28 23:35:55 +02:00
Artem Ivachev
7cf01b10b7
Delete action.yml 2020-05-29 04:28:32 +07:00