mirror of
https://github.com/AFLplusplus/AFLplusplus.git
synced 2025-06-08 00:01:33 +00:00
fixes
This commit is contained in:
parent
1a9f96858b
commit
dbfa23b40a
@ -1518,10 +1518,14 @@ void __sanitizer_cov_trace_pc_guard_init(uint32_t *start, uint32_t *stop) {
|
|||||||
|
|
||||||
_is_sancov = 1;
|
_is_sancov = 1;
|
||||||
|
|
||||||
|
if (!getenv("AFL_DUMP_MAP_SIZE")) {
|
||||||
|
|
||||||
__afl_auto_first();
|
__afl_auto_first();
|
||||||
__afl_auto_second();
|
__afl_auto_second();
|
||||||
__afl_auto_early();
|
__afl_auto_early();
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
if (__afl_debug) {
|
if (__afl_debug) {
|
||||||
|
|
||||||
fprintf(stderr,
|
fprintf(stderr,
|
||||||
|
@ -5798,7 +5798,7 @@ void pso_updating(afl_state_t *afl) {
|
|||||||
|
|
||||||
u8 fuzz_one(afl_state_t *afl) {
|
u8 fuzz_one(afl_state_t *afl) {
|
||||||
|
|
||||||
int key_val_lv_1 = 0, key_val_lv_2 = 0;
|
int key_val_lv_1 = -1, key_val_lv_2 = -1;
|
||||||
|
|
||||||
#ifdef _AFL_DOCUMENT_MUTATIONS
|
#ifdef _AFL_DOCUMENT_MUTATIONS
|
||||||
|
|
||||||
@ -5840,7 +5840,7 @@ u8 fuzz_one(afl_state_t *afl) {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return (key_val_lv_1 | key_val_lv_2);
|
return (key_val_lv_1 == 0 || key_val_lv_2 == 0 ? 0 : 1 );
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user