aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/csource/generated.go
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2018-09-20 14:45:25 +0200
committerDmitry Vyukov <dvyukov@google.com>2018-09-20 14:46:58 +0200
commit6c662d569b27b446cce09529636f0eee8b4dc02e (patch)
treea37ce741efde43cc988251d755796a58d02e42cf /pkg/csource/generated.go
parent5adbd06eff26e9e4c15f0126199b8e6a96e84230 (diff)
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.
Diffstat (limited to 'pkg/csource/generated.go')
-rw-r--r--pkg/csource/generated.go12
1 files changed, 0 insertions, 12 deletions
diff --git a/pkg/csource/generated.go b/pkg/csource/generated.go
index 8225423fd..fd6bcc862 100644
--- a/pkg/csource/generated.go
+++ b/pkg/csource/generated.go
@@ -682,18 +682,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 <linux/futex.h>
#include <pthread.h>