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
van Hauser
eb7d1e22e5
simplify u64
2020-05-28 22:56:15 +02:00
van Hauser
0555b26161
Merge pull request #375 from risicle/ris-llvm-compare-transform-var-sized-dev
...
llvm_mode compare-transform-pass: add handling of sized comparisons with non-const size
2020-05-28 22:47:13 +02:00
hexcoder-
bb0a31158a
test.sh OpenBSD6.7, 32bit: add 'i386' to known intel strings
2020-05-28 22:24:06 +02:00
hexcoder-
bfd2b6298e
OpenBSD6.7, 32bit fix add linker option -z notext
2020-05-28 22:23:30 +02:00
van Hauser
b87d97aa2b
make dockerfile better
2020-05-28 14:34:50 +02:00
van Hauser
48b2028af8
remove actions, we do this via docker hub
2020-05-28 12:22:28 +02:00
ivachyou
92be4ea871
change qemu-mode AFL_REGS_NUM to 16 for TARGET_ARM
2020-05-28 16:42:38 +07:00
hexcoder-
8a2656681f
GNUmakefile: make binary-only: make qemu build optional, so unicornafl can be build
2020-05-28 08:27:21 +02:00
van Hauser
5671cae225
actions
2020-05-28 02:41:27 +02:00
van Hauser
ef8d252843
fix Dockerfile
2020-05-28 01:29:57 +02:00
van Hauser
af670ca138
enable snapshot lkm for llvm_mode persistent mode
2020-05-27 17:17:33 +02:00
van Hauser
aace0d1192
code format
2020-05-27 11:28:29 +02:00
van Hauser
cee4b4593b
Merge pull request #379 from arnow117/master
...
Fix MOpt implementation flaws
2020-05-27 11:27:11 +02:00
van Hauser
434ccf3df4
allow for copy paste from documentation
2020-05-27 11:24:09 +02:00
van Hauser
b81df11d8a
fix 64bit support for powerpc, risc, etc.
2020-05-27 11:07:54 +02:00
arnow117
dab498c3b7
fix MOPT implementation flaws in core fuzzing
2020-05-27 16:01:44 +08:00
root
d5bb9731fe
Revert "libfuzzer driver, better rt compilation"
...
This reverts commit 46a0f812b1b99032831dd523fbe0efe65f507c4c.
2020-05-26 17:41:24 +02:00
van Hauser
9dd0b7c6de
make examples better
2020-05-26 15:57:15 +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
Robert Scott
f6808158c5
llvm_mode compare-transform-pass: add handling of sized comparisons with non-const size
...
this involved insertion of an extra length-checking bb for each character
to see if we've hit the sized limit.
2020-05-25 23:38:45 +01:00
Robert Scott
7e4c5b3636
tests: add test of compiled compcov binary's functionality
2020-05-25 23:38:45 +01:00
van Hauser
0994972c07
more performance testing
2020-05-25 22:19:50 +02:00
van Hauser
a0da531170
libfuzzer driver + llvm_mode compilation optimization
2020-05-25 22:09:00 +02:00
van Hauser
46a0f812b1
libfuzzer driver, better rt compilation
2020-05-25 21:58:00 +02:00
hexcoder
de78f867a4
Changelog: typos
2020-05-25 18:16:37 +02:00
van Hauser
707145c491
persistent mode: shared memory test case transfer
2020-05-25 16:40:55 +02:00
Robert Scott
1e597a64dc
llvm_mode compare-transform-pass: refactor comparison length determination
...
make this clearer and handle case with embedded null characters in
const string properly
2020-05-25 13:53:17 +01:00
van Hauser
4c394a9d7b
new todo
2020-05-25 10:57:15 +02:00
van Hauser
3eef1560a2
remove not needed error description
2020-05-25 09:14:30 +02:00
van Hauser
fc574086ec
fix cmplog
2020-05-24 15:15:17 +02:00
van Hauser
68e66fa920
fix compare-transform for strn?casecmp
2020-05-24 01:59:08 +02:00
van Hauser
38df6eb3a9
LTO whitelist functionality rewritten, now anything can be skipped
2020-05-23 17:00:02 +02:00