update dynamic list with cmplog
MODIFY
dynamic_list.txt
dynamic_list.txt
"__afl_fuzz_ptr";
"__sanitizer_cov_trace_pc_guard";
"__sanitizer_cov_trace_pc_guard_init";
+ "__cmplog_ins_hook1";
+ "__cmplog_ins_hook2";
+ "__cmplog_ins_hook4";
+ "__cmplog_ins_hookN";
+ "__cmplog_ins_hook16";
+ "__sanitizer_cov_trace_cmp1";
+ "__sanitizer_cov_trace_const_cmp1";
+ "__sanitizer_cov_trace_cmp2";
+ "__sanitizer_cov_trace_const_cmp2";
+ "__sanitizer_cov_trace_cmp4";
+ "__sanitizer_cov_trace_const_cmp4";
+ "__sanitizer_cov_trace_cmp8";
+ "__sanitizer_cov_trace_const_cmp8";
+ "__sanitizer_cov_trace_cmp16";
+ "__sanitizer_cov_trace_const_cmp16";
+ "__sanitizer_cov_trace_switch";
+ "__cmplog_rtn_hook";
+ "__cmplog_rtn_gcc_stdstring_cstring";
+ "__cmplog_rtn_gcc_stdstring_stdstring";
+ "__cmplog_rtn_llvm_stdstring_cstring";
+ "__cmplog_rtn_llvm_stdstring_stdstring";
};

MODIFY
instrumentation/afl-compiler-rt.o.c
instrumentation/afl-compiler-rt.o.c
@@ -1676,6 +1676,11 @@ void __sanitizer_cov_trace_cmp16(uint128_t arg1, uint128_t arg2) {
}
+void __sanitizer_cov_trace_const_cmp16(uint128_t arg1, uint128_t arg2) {
+
+ __cmplog_ins_hook16(arg1, arg2, 0);
+
+}
#endif
void __sanitizer_cov_trace_switch(uint64_t val, uint64_t *cases) {

update dynamic list with cmplog