fix LTO with cmplog and laf

This commit is contained in:
vanhauser-thc
2022-03-18 15:00:24 +01:00
parent 69c9a176eb
commit fa2b040476
5 changed files with 121 additions and 220 deletions

View File

@ -232,7 +232,8 @@ static void write_with_gap(afl_state_t *afl, u8 *mem, u32 len, u32 skip_at,
memcpy(afl->fsrv.shmem_fuzz, mem, skip_at);
memcpy(afl->fsrv.shmem_fuzz + skip_at, mem + skip_at + skip_len, tail_len);
memcpy(afl->fsrv.shmem_fuzz + skip_at, mem + skip_at + skip_len,
tail_len);
}