libdwfl: Document core memory and remote memory ELF shdrs reading.
authorMark Wielaard <mark@klomp.org>
Sat, 4 Aug 2018 20:36:48 +0000 (22:36 +0200)
committerMark Wielaard <mark@klomp.org>
Thu, 13 Sep 2018 22:52:48 +0000 (00:52 +0200)
commiteab0cf411128c0130d9284daf3bcd372d5384d3a
tree638a6c1c1e6057bdc55ff310a02a1f3239935433
parent7859092379225482ffd4b49de2d18ad2d69ce810
libdwfl: Document core memory and remote memory ELF shdrs reading.

There are two places, dwfl_segment_report_module and elf_from_remote_memory
in libdwfl where we use the Ehdr e_shnum directly. Document why this is fine.
Getting the shdrs in those two places is really just a nice bonus and if there
are more than 0xff00 then it is unlikely we will get them all anyway.

Signed-off-by: Mark Wielaard <mark@klomp.org>
libdwfl/ChangeLog
libdwfl/dwfl_segment_report_module.c
libdwfl/elf-from-memory.c