Fuzzers need to add branch instrumentation. Current callbacks only consider integer instrumentation (i.e., integer related branches). This commit adds similar sancov trace callback funcs for floating point (half, float, and double) comparisons:
+ void __sanitizer_cov_trace_cmp_fp2(half Arg1, half Arg2); + void __sanitizer_cov_trace_cmp_fp4(float Arg1, float Arg2); + void __sanitizer_cov_trace_cmp_fp8(double Arg1, double Arg2); + void __sanitizer_cov_trace_const_cmp_fp2(half Arg1, half Arg2); + void __sanitizer_cov_trace_const_cmp_fp4(float Arg1, float Arg2); + void __sanitizer_cov_trace_const_cmp_fp8(double Arg1, double Arg2);
clang-format: please reformat the code
2 diff lines are omitted. See full path.