van Hauser
d0d5518ea8
fix gcc
2020-03-31 18:06:14 +02:00
Dominik Maier
822e75f7c2
reenabled custom mutator report
2020-03-31 14:01:22 +02:00
van Hauser
08b6b4ec4e
travis: dont fail on custom mutator - currently
2020-03-31 07:37:30 +02:00
van Hauser
3253e3f315
fix unit test compilation
2020-03-31 07:14:25 +02:00
Dominik Maier
e58e54c2db
make travis happy
2020-03-31 04:51:38 +02:00
Dominik Maier
0a7dc10dd3
fixed bug in cmplog
2020-03-31 04:22:22 +02:00
Dominik Maier
3914aec72f
src doku is now markdown
2020-03-31 03:41:51 +02:00
Dominik Maier
9b63fc758e
dropped make switches
2020-03-31 03:22:46 +02:00
Dominik Maier
d3130ace30
enabled fortify source
2020-03-31 02:41:11 +02:00
Dhiraj Mishra
daa09a5fbb
Update regexp.dict
2020-03-31 01:41:16 +02:00
Dhiraj Mishra
a249dadfb0
Update regexp.dict
2020-03-31 01:41:16 +02:00
Dominik Maier
64e9f1f3a2
tiny fixes
2020-03-30 23:53:10 +02:00
Dominik Maier
9110097e11
fix ubuntu cmocka pkgname
2020-03-30 18:55:54 +02:00
Dominik Maier
ac48b58184
mutator docs
2020-03-30 18:46:12 +02:00
Dominik Maier
8f5fb47082
code format
2020-03-30 18:38:39 +02:00
Dominik Maier
a58382d3ff
added unittests to test.sh
2020-03-30 18:37:16 +02:00
Dominik Maier
5ef8e3cf29
Merge branch 'dev' of github.com:aflplusplus/aflplusplus into dev
2020-03-30 18:22:43 +02:00
Shengtuo Hu
6544014ced
Add test cases for the custom mutator ( #276 )
...
* Minor update
* Fix the soft link of `afl-clang-fast++`
* Add a test case for the custom mutator
- Update the Makefile in examples/custom_mutators
- Add a test program for testing the custom mutator
- Update test.sh for testing the custom mutator
- [TODO] Update the result checking criterias of the custom mutator in
test.sh
* Fix nullptr in the custom mutator
* Fix typo
* Fix invalid memory access bug in `afl_custom_pre_save` of example.c
* example.py: add deinit()
* python mutator: fix nullptr for python mutator data
* test.sh: "trusty-amd64" does not work well with "realpath". Use
"readlink -f" for Ubuntu instead.
* Fix heap allocation bug
- Reason: `afl->out_size` is not consistent with the actual allocation
of `afl->out_buf`. The deleted line in `src/afl-fuzz-one.c` may change
`afl->out_size`, but `afl->out_buf` is not changed
* test.sh: redirect command line output
* afl-fuzz-one.c: minor update
Co-authored-by: Dominik Maier <domenukk@gmail.com>
2020-03-30 18:21:03 +02:00
Dominik Maier
3fcb3e2ed3
fixed testcase
2020-03-30 18:20:20 +02:00
van Hauser
caebc9347f
added unit target to make help and README
2020-03-30 17:45:17 +02:00
Dominik Maier
1f257c5875
fixed example
2020-03-30 16:46:54 +02:00
h1994st
e2a3de71ca
afl-fuzz-one.c: minor update
2020-03-30 16:46:54 +02:00
h1994st
57a0134b0c
test.sh: redirect command line output
2020-03-30 16:46:54 +02:00
h1994st
d9b18ec853
Fix heap allocation bug
...
- Reason: `afl->out_size` is not consistent with the actual allocation
of `afl->out_buf`. The deleted line in `src/afl-fuzz-one.c` may change
`afl->out_size`, but `afl->out_buf` is not changed
2020-03-30 16:46:54 +02:00
h1994st
6c14415664
test.sh: "trusty-amd64" does not work well with "realpath". Use
...
"readlink -f" for Ubuntu instead.
2020-03-30 16:46:54 +02:00
h1994st
567b3985ab
python mutator: fix nullptr for python mutator data
2020-03-30 16:46:54 +02:00
h1994st
45561d552e
example.py: add deinit()
2020-03-30 16:46:54 +02:00
h1994st
fbd5bd8f37
Fix invalid memory access bug in afl_custom_pre_save
of example.c
2020-03-30 16:46:54 +02:00
h1994st
048beb752d
Fix typo
2020-03-30 16:46:53 +02:00
Dominik Maier
87621b6345
rebase
2020-03-30 16:46:50 +02:00
h1994st
ff14dfc0fc
Add a test case for the custom mutator
...
- Update the Makefile in examples/custom_mutators
- Add a test program for testing the custom mutator
- Update test.sh for testing the custom mutator
- [TODO] Update the result checking criterias of the custom mutator in
test.sh
2020-03-30 16:46:11 +02:00
Dominik Maier
c624831717
upstream changes
2020-03-30 16:46:05 +02:00
Dominik Maier
c697a003d1
merged dev
2020-03-30 16:45:13 +02:00
Dominik Maier
6bdd7a1609
added untitest to gitignore
2020-03-30 16:08:07 +02:00
Dominik Maier
50a195fe59
code format
2020-03-30 16:07:25 +02:00
Dominik Maier
738016952f
Merge branch 'dev' of github.com:aflplusplus/aflplusplus into dev
2020-03-30 16:01:33 +02:00
Dominik Maier
209aa25d27
added unittest for unit_maybe_alloc
2020-03-30 16:01:29 +02:00
van Hauser
1279c935e2
regec dict additions
2020-03-30 11:33:42 +02:00
Dominik Maier
28e5a8031c
code cleanup
2020-03-30 00:50:32 +02:00
Dominik Maier
f4844e2c0c
added read_timed
2020-03-30 00:50:14 +02:00
hexcoder-
ef3a13fa63
llvm_mode/Makefile: replace lexical version comparison with a numerical one
2020-03-29 09:48:01 +02:00
hexcoder-
699f769385
review adaptions for afl-llvm-pass
2020-03-28 23:01:12 +01:00
hexcoder-
2548b657d8
afl-llvm-pass.so.cc: fix compile for llvm 3.8.0 @Marc: please review
2020-03-28 20:25:00 +01:00
hexcoder-
02d19dafb2
.gitignore: add afl-ld and ld
2020-03-28 14:23:54 +01:00
hexcoder-
78009d9d07
qemu_mode: compiler warnings, strncpy() leave one byte for terminator
2020-03-28 14:15:04 +01:00
hexcoder-
2aa7ddf1a8
qemu_mode: fix more compiler warnings
2020-03-28 13:51:35 +01:00
hexcoder-
3c142efecf
qemu_mode: silence two compiler warnings
2020-03-28 13:38:49 +01:00
hexcoder-
23b3e3c84d
Merge branch 'dev' of https://github.com/AFLplusplus/AFLplusplus into dev
2020-03-28 13:06:05 +01:00
hexcoder-
8b8600fdab
types.h: silence some compiler warnings regarding redeclaration of
...
likely/unlikely
2020-03-28 13:05:26 +01:00
Dominik Maier
1938a12222
code format
2020-03-28 12:59:41 +01:00