ELFFile: allow filtering by segment type in iter_segments() (#375)
authorAndreas Ziegler <andreas.ziegler@fau.de>
Mon, 25 Oct 2021 14:31:14 +0000 (16:31 +0200)
committerGitHub <noreply@github.com>
Mon, 25 Oct 2021 14:31:14 +0000 (07:31 -0700)
commita74b8abf22c6a7ceb804d0cd036c86c63da767a9
tree91fff7c9f73f0a30f4a33998ae93365af2ad60d5
parent4e888804c57cdfb0f04b9e5171f8ba5b36165983
ELFFile: allow filtering by segment type in iter_segments() (#375)

This is very similar to the filtering implemented for
sections in commit d71faebcd58e.
elftools/elf/elffile.py
test/test_elffile.py