Display the offset again

This commit is contained in:
Pierre Pronchery 2011-04-28 08:52:45 +00:00
parent 24200d4689
commit 1e482f87e1

View File

@ -280,6 +280,8 @@ static int _decode_file_callback(void * priv, char const * section,
if(arch_decode_at(code->arch, &calls, &calls_cnt, offset, size, base)
!= 0)
return -1;
if(size != 0)
printf("\n%08lx:\n", (long)offset + (long)base);
for(i = 0; i < calls_cnt; i++)
_decode_print(code, &calls[i]);
free(calls);