From 6c662d569b27b446cce09529636f0eee8b4dc02e Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Thu, 20 Sep 2018 14:45:25 +0200 Subject: executor: fix build Move debug_dump_data back to executor.cc. debug_dump_data in common_linux.h does not play well with pkg/csource debug stripping logic. It strips a large random piece of code since it thinks debug_dump_data definition is actually debug_dump_data call site. --- executor/common_linux.h | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'executor/common_linux.h') diff --git a/executor/common_linux.h b/executor/common_linux.h index e8ac309c3..02c1eb82e 100644 --- a/executor/common_linux.h +++ b/executor/common_linux.h @@ -13,18 +13,6 @@ struct cover_t; static void cover_reset(cover_t* cov); #endif -static void debug_dump_data(const char* data, int length) -{ - if (!flag_debug) - return; - for (int i = 0; i < length; i++) { - debug("%02x ", data[i] & 0xff); - if (i % 16 == 15) - debug("\n"); - } - debug("\n"); -} - #if SYZ_EXECUTOR || SYZ_THREADED #include #include -- cgit mrf-deployment