From 15a7830b60dce4775a71d1f1c92656bc0f342dfe Mon Sep 17 00:00:00 2001 From: Pierre Pronchery Date: Wed, 13 Apr 2011 03:05:04 +0000 Subject: [PATCH] Consider the whole file is part of a ".data" section --- src/format/flat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/format/flat.c b/src/format/flat.c index ec0d870..035e6f9 100644 --- a/src/format/flat.c +++ b/src/format/flat.c @@ -62,5 +62,5 @@ static int _flat_disas(FormatPlugin * format, int (*callback)( if(fstat(fileno(format->helper->fp), &st) != 0) return -error_set_code(1, "%s: %s", format->helper->filename, strerror(errno)); - return callback(format, NULL, 0, st.st_size, 0); + return callback(format, ".data", 0, st.st_size, 0); }