summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornorly <ny-git@enpas.org>2013-06-27 02:05:43 +0100
committernorly <ny-git@enpas.org>2013-06-27 02:05:43 +0100
commit10fcfe36c13a11b3d28b5fb2cd1e89dc239bb6d0 (patch)
tree7a7a275177d51ae757de4898baac3cb104d46b02
parent093fbed81ea29ef23268d23f955bc87185e3c018 (diff)
Dump: More info about child sections
-rw-r--r--src/libelfu/modelops/dump.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/libelfu/modelops/dump.c b/src/libelfu/modelops/dump.c
index b2e172e..7d3dd3e 100644
--- a/src/libelfu/modelops/dump.c
+++ b/src/libelfu/modelops/dump.c
@@ -224,9 +224,11 @@ void elfu_mDumpElf(ElfuElf *me)
ELFU_INFO("Orphaned sections:\n");
CIRCLEQ_FOREACH(ms, &me->orphanScnList, elemChildScn) {
- ELFU_INFO(" * %-17s @ %8x\n",
+ ELFU_INFO(" * %-17s @ %8x offset %8x size %8x\n",
elfu_mScnName(me, ms),
- (unsigned)ms->shdr.sh_addr);
+ (unsigned)ms->shdr.sh_addr,
+ (unsigned)ms->shdr.sh_offset,
+ (unsigned)ms->shdr.sh_size);
}
ELFU_INFO("\n");