about summary refs log tree commit diff
path: root/src/afl-fuzz-queue.c
diff options
context:
space:
mode:
authorShengtuo Hu <h1994st@users.noreply.github.com>2020-03-30 12:21:03 -0400
committerGitHub <noreply@github.com>2020-03-30 18:21:03 +0200
commit6544014ced58c3d13123e693d644cf6b86b378ee (patch)
tree9454d93e5ea4a672ee609d12e286e3a6ad1cdf0c /src/afl-fuzz-queue.c
parent3fcb3e2ed3918c652f2db1ad088c7848b170bf89 (diff)
downloadafl++-6544014ced58c3d13123e693d644cf6b86b378ee.tar.gz
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>
Diffstat (limited to 'src/afl-fuzz-queue.c')
0 files changed, 0 insertions, 0 deletions