From: norly Date: Thu, 27 Jun 2013 01:05:43 +0000 (+0100) Subject: Dump: More info about child sections X-Git-Url: https://git.enpas.org/?p=centaur.git;a=commitdiff_plain;h=10fcfe36c13a11b3d28b5fb2cd1e89dc239bb6d0 Dump: More info about child sections --- 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");