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
Dominik Maier
376b45c199
code format
2020-04-01 13:10:06 +02:00
van Hauser
b247366c4e
regec dict additions
2020-04-01 13:10:06 +02:00
Dominik Maier
7c383094d9
added unittest for unit_maybe_alloc
2020-04-01 13:10:06 +02:00
Dominik Maier
9721990507
code cleanup
2020-04-01 13:10:06 +02:00
Dominik Maier
452067ffca
added read_timed
2020-04-01 13:10:06 +02:00
hexcoder-
3ce5efc44b
llvm_mode/Makefile: replace lexical version comparison with a numerical one
2020-04-01 13:10:06 +02:00
hexcoder-
1e8c1a4c46
review adaptions for afl-llvm-pass
2020-04-01 13:10:06 +02:00
hexcoder-
b53ec1b247
afl-llvm-pass.so.cc: fix compile for llvm 3.8.0 @Marc: please review
2020-04-01 13:10:06 +02:00
hexcoder-
4ccfbe4e5a
.gitignore: add afl-ld and ld
2020-04-01 13:10:06 +02:00
hexcoder-
7698c051aa
qemu_mode: compiler warnings, strncpy() leave one byte for terminator
2020-04-01 13:10:06 +02:00
hexcoder-
1950f09bde
qemu_mode: fix more compiler warnings
2020-04-01 13:10:06 +02:00
hexcoder-
e41b03eb30
qemu_mode: silence two compiler warnings
2020-04-01 13:10:06 +02:00
Dominik Maier
98545f30aa
code format
2020-04-01 13:10:06 +02:00
Dominik Maier
81873d97f8
error handling for custom mutators
2020-04-01 13:10:06 +02:00
hexcoder-
cda56ca129
types.h: silence some compiler warnings regarding redeclaration of
...
likely/unlikely
2020-04-01 13:10:06 +02:00
Dominik Maier
ab5e0703da
tiny changes in custom mut api
2020-04-01 13:10:06 +02:00
hexcoder-
f370ef38c4
alloc-inl.h/ck_maybe_grow(): restore original exponential allocs
2020-04-01 13:10:06 +02:00
hexcoder-
1119a2e185
alloc-inl.h/ck_maybe_grow() back to size_t, reimplement overflow check
2020-04-01 13:10:06 +02:00