about summary refs log tree commit diff
path: root/src/afl-fuzz-bitmap.c
diff options
context:
space:
mode:
authorShengtuo Hu <h1994st@users.noreply.github.com>2020-03-30 12:21:03 -0400
committerDominik Maier <domenukk@gmail.com>2020-04-01 13:10:07 +0200
commit19415f2554f010463cdbfb848a2b713fd325409a (patch)
tree9454d93e5ea4a672ee609d12e286e3a6ad1cdf0c /src/afl-fuzz-bitmap.c
parent710a29a1e0b8c874cdba43a16879f7f77e917713 (diff)
downloadafl++-19415f2554f010463cdbfb848a2b713fd325409a.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-bitmap.c')
0 files changed, 0 insertions, 0 deletions