/external/AFLplusplus/src/ |
D | afl-showmap.c | 141 u8 * mem = fsrv->trace_bits; in classify_counts() 204 if (fsrv->trace_bits[i]) { in analyze_results() 206 total += fsrv->trace_bits[i]; in analyze_results() 207 if (fsrv->trace_bits[i] > highest) highest = fsrv->trace_bits[i]; in analyze_results() 270 if (fsrv->trace_bits[i]) { ret++; } in write_results_to_file() 274 ck_write(fd, fsrv->trace_bits, map_size, outfile); in write_results_to_file() 285 if (!fsrv->trace_bits[i]) { continue; } in write_results_to_file() 288 total += fsrv->trace_bits[i]; in write_results_to_file() 289 if (highest < fsrv->trace_bits[i]) { highest = fsrv->trace_bits[i]; } in write_results_to_file() 293 fprintf(f, "%u%u\n", fsrv->trace_bits[i], i); in write_results_to_file() [all …]
|
D | afl-fuzz-bitmap.c | 209 u64 *current = (u64 *)afl->fsrv.trace_bits; in has_new_bits() 216 u32 *current = (u32 *)afl->fsrv.trace_bits; in has_new_bits() 253 u8 *end = afl->fsrv.trace_bits + afl->fsrv.map_size; in has_new_bits_unclassified() 257 if (!skim((u64 *)virgin_map, (u64 *)afl->fsrv.trace_bits, (u64 *)end)) in has_new_bits_unclassified() 262 if (!skim((u32 *)virgin_map, (u32 *)afl->fsrv.trace_bits, (u32 *)end)) in has_new_bits_unclassified() 472 cksum = hash64(afl->fsrv.trace_bits, afl->fsrv.map_size, HASH_CONST); in save_if_interesting() 563 hash64(afl->fsrv.trace_bits, afl->fsrv.map_size, HASH_CONST); in save_if_interesting() 608 simplify_trace(afl, afl->fsrv.trace_bits); in save_if_interesting() 717 simplify_trace(afl, afl->fsrv.trace_bits); in save_if_interesting()
|
D | afl-fuzz-run.c | 389 !count_bytes(afl, afl->fsrv.trace_bits)) { in calibrate_case() 404 memcpy(afl->first_trace, afl->fsrv.trace_bits, afl->fsrv.map_size); in calibrate_case() 432 !count_bytes(afl, afl->fsrv.trace_bits)) { in calibrate_case() 444 cksum = hash64(afl->fsrv.trace_bits, afl->fsrv.map_size, HASH_CONST); in calibrate_case() 457 unlikely(afl->first_trace[i] != afl->fsrv.trace_bits[i])) { in calibrate_case() 489 memcpy(afl->first_trace, afl->fsrv.trace_bits, afl->fsrv.map_size); in calibrate_case() 523 q->bitmap_size = count_bytes(afl, afl->fsrv.trace_bits); in calibrate_case() 875 cksum = hash64(afl->fsrv.trace_bits, afl->fsrv.map_size, HASH_CONST); in trim_case() 898 memcpy(afl->clean_trace, afl->fsrv.trace_bits, afl->fsrv.map_size); in trim_case() 955 memcpy(afl->fsrv.trace_bits, afl->clean_trace, afl->fsrv.map_size); in trim_case()
|
D | afl-tmin.c | 155 u8 *mem = fsrv->trace_bits; in classify_counts() 184 u32 *ptr = (u32 *)fsrv->trace_bits; in anything_set() 300 apply_mask((u32 *)fsrv->trace_bits, (u32 *)mask_bitmap); in tmin_run_target() 341 u64 cksum = hash64(fsrv->trace_bits, fsrv->map_size, HASH_CONST); in tmin_run_target() 1145 fsrv->trace_bits = afl_shm_init(&shm, map_size, 0); in main() 1260 fsrv->trace_bits = afl_shm_init(&shm, new_map_size, 0); in main()
|
D | afl-forkserver.c | 300 *(u32 *)fsrv->trace_bits = EXEC_FAIL_SIG; in afl_fauxsrv_execv() 443 fsrv->trace_bits = in afl_fsrv_start() 761 *(u32 *)fsrv->trace_bits = EXEC_FAIL_SIG; in afl_fsrv_start() 1137 if (*(u32 *)fsrv->trace_bits == EXEC_FAIL_SIG) { in afl_fsrv_start() 1474 memset(fsrv->trace_bits, 0, fsrv->map_size); in afl_fsrv_run_target() 1480 memset(fsrv->trace_bits, 0, fsrv->map_size); in afl_fsrv_run_target() 1599 if (unlikely(*(u32 *)fsrv->trace_bits == EXEC_FAIL_SIG)) { in afl_fsrv_run_target()
|
D | afl-fuzz-mutators.c | 439 cksum = hash64(afl->fsrv.trace_bits, afl->fsrv.map_size, HASH_CONST); in trim_case_custom() 451 memcpy(afl->clean_trace_custom, afl->fsrv.trace_bits, in trim_case_custom() 527 memcpy(afl->fsrv.trace_bits, afl->clean_trace_custom, afl->fsrv.map_size); in trim_case_custom()
|
D | afl-analyze.c | 154 u32 *ptr = (u32 *)fsrv.trace_bits; in anything_set() 225 classify_counts(fsrv.trace_bits); in analyze_run_target() 244 u64 cksum = hash64(fsrv.trace_bits, fsrv.map_size, HASH_CONST); in analyze_run_target() 1075 fsrv.trace_bits = afl_shm_init(&shm, map_size, 0); in main()
|
D | afl-fuzz.c | 2001 afl->fsrv.trace_bits = in main() 2040 afl->fsrv.trace_bits = in main() 2057 afl->cmplog_fsrv.trace_bits = afl->fsrv.trace_bits; in main() 2106 afl->fsrv.trace_bits = in main() 2108 afl->cmplog_fsrv.trace_bits = afl->fsrv.trace_bits; in main()
|
D | afl-fuzz-queue.c | 637 if (afl->fsrv.trace_bits[i]) { in update_bitmap_score() 707 minimize_bits(afl, q->trace_mini, afl->fsrv.trace_bits); in update_bitmap_score()
|
D | afl-fuzz-one.c | 637 prev_cksum = hash64(afl->fsrv.trace_bits, afl->fsrv.map_size, HASH_CONST); in fuzz_one_original() 686 u64 cksum = hash64(afl->fsrv.trace_bits, afl->fsrv.map_size, HASH_CONST); in fuzz_one_original() 878 cksum = hash64(afl->fsrv.trace_bits, afl->fsrv.map_size, HASH_CONST); in fuzz_one_original() 3306 prev_cksum = hash64(afl->fsrv.trace_bits, afl->fsrv.map_size, HASH_CONST); in mopt_common_fuzzing() 3354 u64 cksum = hash64(afl->fsrv.trace_bits, afl->fsrv.map_size, HASH_CONST); in mopt_common_fuzzing() 3543 cksum = hash64(afl->fsrv.trace_bits, afl->fsrv.map_size, HASH_CONST); in mopt_common_fuzzing()
|
D | afl-fuzz-redqueen.c | 164 *cksum = hash64(afl->fsrv.trace_bits, afl->fsrv.map_size, HASH_CONST); in get_exec_checksum()
|
/external/AFLplusplus/utils/afl_network_proxy/ |
D | afl-network-server.c | 83 u32 *ptr = (u32 *)fsrv->trace_bits; in anything_set() 537 fsrv->trace_bits = afl_shm_init(&shm, map_size, 0); in main() 646 memcpy(send_buf + 4, fsrv->trace_bits, fsrv->map_size); in main()
|
/external/AFLplusplus/include/ |
D | coverage-32.h | 50 u32 *mem = (u32 *)fsrv->trace_bits; in classify_counts()
|
D | forkserver.h | 84 u8 *trace_bits; /* SHM with instrumentation bitmap */ member
|
D | coverage-64.h | 60 u64 *mem = (u64 *)fsrv->trace_bits; in classify_counts()
|