mirror of
https://github.com/AFLplusplus/AFLplusplus.git
synced 2025-06-11 01:31:37 +00:00
fix symcc custom mutator
This commit is contained in:
parent
4e3cd8ac3f
commit
e1521fa8eb
@ -287,7 +287,7 @@ size_t afl_custom_fuzz(my_mutator_t *data, uint8_t *buf, size_t buf_size,
|
|||||||
struct stat st;
|
struct stat st;
|
||||||
u8 * fn = alloc_printf("%s/%s", data->out_dir, nl[i]->d_name);
|
u8 * fn = alloc_printf("%s/%s", data->out_dir, nl[i]->d_name);
|
||||||
|
|
||||||
if (done == 0) {
|
if (!done) {
|
||||||
|
|
||||||
if (stat(fn, &st) == 0 && S_ISREG(st.st_mode) && st.st_size) {
|
if (stat(fn, &st) == 0 && S_ISREG(st.st_mode) && st.st_size) {
|
||||||
|
|
||||||
@ -299,14 +299,13 @@ size_t afl_custom_fuzz(my_mutator_t *data, uint8_t *buf, size_t buf_size,
|
|||||||
*out_buf = data->mutator_buf;
|
*out_buf = data->mutator_buf;
|
||||||
|
|
||||||
close(fd);
|
close(fd);
|
||||||
|
unlink(fn);
|
||||||
done = 1;
|
done = 1;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
unlink(fn);
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
ck_free(fn);
|
ck_free(fn);
|
||||||
|
@ -64,7 +64,9 @@
|
|||||||
- afl-whatsup:
|
- afl-whatsup:
|
||||||
- now also displays current average speed
|
- now also displays current average speed
|
||||||
- small bugfixes
|
- small bugfixes
|
||||||
- Fixes for aflpp custom mutator and standalone tool
|
- custom mutators:
|
||||||
|
- fixes for aflpp custom mutator and standalone tool
|
||||||
|
- important fix to the symcc custom mutator
|
||||||
- Minor edits to afl-persistent-config
|
- Minor edits to afl-persistent-config
|
||||||
- Prevent temporary files being left behind on aborted afl-whatsup
|
- Prevent temporary files being left behind on aborted afl-whatsup
|
||||||
- More CPU benchmarks added to benchmark/
|
- More CPU benchmarks added to benchmark/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user