1737 Commits

Author SHA1 Message Date
van Hauser
e95ac10ff7 fix ASAN check 2020-04-01 13:10:07 +02:00
Dominik Maier
c7cf2c17a2 fix ASAN bulid for old gcc versions 2020-04-01 13:10:07 +02:00
Dominik Maier
29b1e30126 fixed asan mem limit 2020-04-01 13:10:07 +02:00
van Hauser
24b9eddc7e disable memory limits for ASAN build 2020-04-01 13:10:07 +02:00
hexcoder-
effa766d4a fix cmocka fixup 2020-04-01 13:10:07 +02:00
Dominik Maier
b9783e44a3 cmocka mocks 2020-04-01 13:10:07 +02:00
Dominik Maier
35c817ccd0 mocking cmocka 1 for cmocka 0.x 2020-04-01 13:10:07 +02:00
Dominik Maier
77d68bc7bd old cmocka is old 2020-04-01 13:10:07 +02:00
Dominik Maier
6392a349ce add assert_ptr_equal fallback 2020-04-01 13:10:07 +02:00
Dominik Maier
4489dd24a8 typo fix 2020-04-01 13:10:07 +02:00
Dominik Maier
d374648ce3 docs 2020-04-01 13:10:07 +02:00
Dominik Maier
d611e7d50e next_p2 replaced by next_pow2 2020-04-01 13:10:07 +02:00
Dominik Maier
25d6d21617 code format 2020-04-01 13:10:07 +02:00
Dominik Maier
74b4096570 one less alloc 2020-04-01 13:10:07 +02:00
Dominik Maier
eca55be4fb minor changes 2020-04-01 13:10:07 +02:00
Dominik Maier
71372c4d2f fixed docu 2020-04-01 13:10:07 +02:00
Dominik Maier
a0693d466c try to fix forkserver 2020-04-01 13:10:07 +02:00
van Hauser
14d2456c35 fix gcc 2020-04-01 13:10:07 +02:00
Dominik Maier
c8bdf0790f reenabled custom mutator report 2020-04-01 13:10:07 +02:00
van Hauser
0b8a5cb4bb travis: dont fail on custom mutator - currently 2020-04-01 13:10:07 +02:00
van Hauser
8f98d5a8f8 fix unit test compilation 2020-04-01 13:10:07 +02:00
Dominik Maier
b83a2c1a00 make travis happy 2020-04-01 13:10:07 +02:00
Dominik Maier
5a4d4ad736 fixed bug in cmplog 2020-04-01 13:10:07 +02:00
Dominik Maier
5bc6dccbbd src doku is now markdown 2020-04-01 13:10:07 +02:00
Dominik Maier
42ee300e92 dropped make switches 2020-04-01 13:10:07 +02:00
Dominik Maier
582f5103d9 enabled fortify source 2020-04-01 13:10:07 +02:00
Dhiraj Mishra
abef859925 Update regexp.dict 2020-04-01 13:10:07 +02:00
Dhiraj Mishra
6eb79c28d1 Update regexp.dict 2020-04-01 13:10:07 +02:00
Dominik Maier
84a096561a tiny fixes 2020-04-01 13:10:07 +02:00
Dominik Maier
9a1f105869 fix ubuntu cmocka pkgname 2020-04-01 13:10:07 +02:00
Dominik Maier
677f2c6ca9 mutator docs 2020-04-01 13:10:07 +02:00
Dominik Maier
508230e91b code format 2020-04-01 13:10:07 +02:00
Dominik Maier
9cab515e58 added unittests to test.sh 2020-04-01 13:10:07 +02:00
van Hauser
514036898f added unit target to make help and README 2020-04-01 13:10:07 +02:00
Shengtuo Hu
19415f2554 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-04-01 13:10:07 +02:00
Dominik Maier
710a29a1e0 fixed testcase 2020-04-01 13:10:07 +02:00
Dominik Maier
c36c34cf9e fixed example 2020-04-01 13:10:07 +02:00
h1994st
e910c224da afl-fuzz-one.c: minor update 2020-04-01 13:10:07 +02:00
h1994st
ea95453975 test.sh: redirect command line output 2020-04-01 13:10:07 +02:00
h1994st
61ea398612 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-04-01 13:10:07 +02:00
h1994st
64e1d3a975 test.sh: "trusty-amd64" does not work well with "realpath". Use
"readlink -f" for Ubuntu instead.
2020-04-01 13:10:07 +02:00
h1994st
50fc7327f2 python mutator: fix nullptr for python mutator data 2020-04-01 13:10:07 +02:00
h1994st
71edae4a0f example.py: add deinit() 2020-04-01 13:10:07 +02:00
h1994st
0dd8ed9171 Fix invalid memory access bug in afl_custom_pre_save of example.c 2020-04-01 13:10:07 +02:00
h1994st
d568559f01 Fix typo 2020-04-01 13:10:06 +02:00
Dominik Maier
1e290542bb rebase 2020-04-01 13:10:06 +02:00
h1994st
245304f593 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-04-01 13:10:06 +02:00
Dominik Maier
be441dc176 upstream changes 2020-04-01 13:10:06 +02:00
Dominik Maier
da1a0249d7 merged dev 2020-04-01 13:10:06 +02:00
Dominik Maier
d07587885c added untitest to gitignore 2020-04-01 13:10:06 +02:00