mirror of
https://github.com/AFLplusplus/AFLplusplus.git
synced 2025-06-18 20:48:07 +00:00
mut changes
This commit is contained in:
@ -2659,7 +2659,7 @@ havoc_stage:
|
||||
|
||||
case MUT_FLIP8: {
|
||||
|
||||
/* Flip byte. */
|
||||
/* Flip byte with a XOR 0xff. This is the same as NEG. */
|
||||
|
||||
#ifdef INTROSPECTION
|
||||
snprintf(afl->m_tmp, sizeof(afl->m_tmp), " FLIP8_");
|
||||
@ -2987,21 +2987,6 @@ havoc_stage:
|
||||
|
||||
}
|
||||
|
||||
case MUT_NEG: {
|
||||
|
||||
/* Neg byte. */
|
||||
|
||||
#ifdef INTROSPECTION
|
||||
snprintf(afl->m_tmp, sizeof(afl->m_tmp), " NEG_");
|
||||
strcat(afl->mutation, afl->m_tmp);
|
||||
#endif
|
||||
item = rand_below(afl, temp_len);
|
||||
|
||||
out_buf[item] = ~out_buf[item];
|
||||
break;
|
||||
|
||||
}
|
||||
|
||||
case MUT_INSERTASCIINUM: {
|
||||
|
||||
u32 len = 1 + rand_below(afl, 8);
|
||||
|
Reference in New Issue
Block a user