Hello Ivan & Atsushi, after spending some time on this, I think I have a complete working solution. I chose to rewrite readpage_elf from scratch. Unfortunately, I'm unable to verify that it still works the same (sans bugs) because of a regression in commit d18796d090623d18f46c8dc608dcad9960fbbe9b (reported on the mailing list). I was able to verify that --dump-dmesg works on a variety of weird ELF files that I created manually (and the output hasn't changed). In my opinion, this is enough to verify that the read routine works, but the final decision is up to you. Petr Tesarik