Lines Matching refs:fuzzer
30 namespace fuzzer { namespace
433 fuzzer::WarnAboutDeprecatedInstrumentation( in __sanitizer_cov_trace_pc_guard()
442 fuzzer::WarnAboutDeprecatedInstrumentation("-fsanitize-coverage=trace-pc"); in __sanitizer_cov_trace_pc()
447 fuzzer::WarnAboutDeprecatedInstrumentation( in __sanitizer_cov_trace_pc_guard_init()
453 fuzzer::TPC.HandleInline8bitCountersInit(Start, Stop); in __sanitizer_cov_8bit_counters_init()
459 fuzzer::TPC.HandlePCsInit(pcs_beg, pcs_end); in __sanitizer_cov_pcs_init()
466 fuzzer::TPC.HandleCallerCallee(PC, Callee); in __sanitizer_cov_trace_pc_indir()
474 fuzzer::TPC.HandleCmp(PC, Arg1, Arg2); in __sanitizer_cov_trace_cmp8()
485 fuzzer::TPC.HandleCmp(PC, Arg1, Arg2); in __sanitizer_cov_trace_const_cmp8()
493 fuzzer::TPC.HandleCmp(PC, Arg1, Arg2); in __sanitizer_cov_trace_cmp4()
501 fuzzer::TPC.HandleCmp(PC, Arg1, Arg2); in __sanitizer_cov_trace_const_cmp4()
509 fuzzer::TPC.HandleCmp(PC, Arg1, Arg2); in __sanitizer_cov_trace_cmp2()
517 fuzzer::TPC.HandleCmp(PC, Arg1, Arg2); in __sanitizer_cov_trace_const_cmp2()
525 fuzzer::TPC.HandleCmp(PC, Arg1, Arg2); in __sanitizer_cov_trace_cmp1()
533 fuzzer::TPC.HandleCmp(PC, Arg1, Arg2); in __sanitizer_cov_trace_const_cmp1()
568 fuzzer::TPC.HandleCmp(PC + 2 * i, static_cast<uint16_t>(Val), in __sanitizer_cov_trace_switch()
570 fuzzer::TPC.HandleCmp(PC + 2 * i + 1, static_cast<uint16_t>(Val), in __sanitizer_cov_trace_switch()
573 fuzzer::TPC.HandleCmp(PC + 2 * i, static_cast<uint32_t>(Val), in __sanitizer_cov_trace_switch()
575 fuzzer::TPC.HandleCmp(PC + 2 * i + 1, static_cast<uint32_t>(Val), in __sanitizer_cov_trace_switch()
578 fuzzer::TPC.HandleCmp(PC + 2*i, Val, Smaller); in __sanitizer_cov_trace_switch()
579 fuzzer::TPC.HandleCmp(PC + 2*i + 1, Val, Larger); in __sanitizer_cov_trace_switch()
588 fuzzer::TPC.HandleCmp(PC, Val, (uint32_t)0); in __sanitizer_cov_trace_div4()
596 fuzzer::TPC.HandleCmp(PC, Val, (uint64_t)0); in __sanitizer_cov_trace_div8()
604 fuzzer::TPC.HandleCmp(PC, Idx, (uintptr_t)0); in __sanitizer_cov_trace_gep()
610 if (!fuzzer::RunningUserCallback) return; in __sanitizer_weak_hook_memcmp()
613 fuzzer::TPC.AddValueForMemcmp(caller_pc, s1, s2, n, /*StopAtZero*/false); in __sanitizer_weak_hook_memcmp()
619 if (!fuzzer::RunningUserCallback) return; in __sanitizer_weak_hook_strncmp()
621 size_t Len1 = fuzzer::InternalStrnlen(s1, n); in __sanitizer_weak_hook_strncmp()
622 size_t Len2 = fuzzer::InternalStrnlen(s2, n); in __sanitizer_weak_hook_strncmp()
626 fuzzer::TPC.AddValueForMemcmp(caller_pc, s1, s2, n, /*StopAtZero*/true); in __sanitizer_weak_hook_strncmp()
632 if (!fuzzer::RunningUserCallback) return; in __sanitizer_weak_hook_strcmp()
634 size_t N = fuzzer::InternalStrnlen2(s1, s2); in __sanitizer_weak_hook_strcmp()
636 fuzzer::TPC.AddValueForMemcmp(caller_pc, s1, s2, N, /*StopAtZero*/true); in __sanitizer_weak_hook_strcmp()
642 if (!fuzzer::RunningUserCallback) return; in __sanitizer_weak_hook_strncasecmp()
649 if (!fuzzer::RunningUserCallback) return; in __sanitizer_weak_hook_strcasecmp()
656 if (!fuzzer::RunningUserCallback) return; in __sanitizer_weak_hook_strstr()
657 fuzzer::TPC.MMT.Add(reinterpret_cast<const uint8_t *>(s2), strlen(s2)); in __sanitizer_weak_hook_strstr()
663 if (!fuzzer::RunningUserCallback) return; in __sanitizer_weak_hook_strcasestr()
664 fuzzer::TPC.MMT.Add(reinterpret_cast<const uint8_t *>(s2), strlen(s2)); in __sanitizer_weak_hook_strcasestr()
670 if (!fuzzer::RunningUserCallback) return; in __sanitizer_weak_hook_memmem()
671 fuzzer::TPC.MMT.Add(reinterpret_cast<const uint8_t *>(s2), len2); in __sanitizer_weak_hook_memmem()