Consider the whole file is part of a ".data" section
This commit is contained in:
parent
dcb9ea2e6f
commit
15a7830b60
@ -62,5 +62,5 @@ static int _flat_disas(FormatPlugin * format, int (*callback)(
|
|||||||
if(fstat(fileno(format->helper->fp), &st) != 0)
|
if(fstat(fileno(format->helper->fp), &st) != 0)
|
||||||
return -error_set_code(1, "%s: %s", format->helper->filename,
|
return -error_set_code(1, "%s: %s", format->helper->filename,
|
||||||
strerror(errno));
|
strerror(errno));
|
||||||
return callback(format, NULL, 0, st.st_size, 0);
|
return callback(format, ".data", 0, st.st_size, 0);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user