mirror of
https://github.com/AFLplusplus/AFLplusplus.git
synced 2025-06-16 20:08:07 +00:00
more attuned colorize repace
This commit is contained in:
5
TODO.md
5
TODO.md
@ -6,16 +6,13 @@
|
||||
- CPU affinity for many cores? There seems to be an issue > 96 cores
|
||||
- afl-plot to support multiple plot_data
|
||||
- afl_custom_fuzz_splice_optin()
|
||||
- afl_custom_splice()
|
||||
- intel-pt tracer
|
||||
|
||||
## Further down the road
|
||||
|
||||
afl-fuzz:
|
||||
- setting min_len/max_len/start_offset/end_offset limits for mutation output
|
||||
- add __sanitizer_cov_trace_cmp* support via shmem
|
||||
|
||||
llvm_mode:
|
||||
- add __sanitizer_cov_trace_cmp* support
|
||||
|
||||
qemu_mode:
|
||||
- non colliding instrumentation
|
||||
|
@ -205,14 +205,31 @@ static void type_replace(afl_state_t *afl, u8 *buf, u32 len) {
|
||||
case '\t':
|
||||
c = ' ';
|
||||
break;
|
||||
/*
|
||||
case '\r':
|
||||
case '\n':
|
||||
// nothing ...
|
||||
c = '\n';
|
||||
break;
|
||||
case '\n':
|
||||
c = '\r';
|
||||
break;
|
||||
case 0:
|
||||
c = 1;
|
||||
break;
|
||||
case 1:
|
||||
c = 0;
|
||||
break;
|
||||
case 0xff:
|
||||
c = 0;
|
||||
break;
|
||||
*/
|
||||
default:
|
||||
c = (buf[i] ^ 0xff);
|
||||
if (buf[i] < 32) {
|
||||
|
||||
c = (buf[i] ^ 0x1f);
|
||||
|
||||
} else {
|
||||
|
||||
c = (buf[i] ^ 0x7f); // we keep the highest bit
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user