getSegmentsContainingSection
fn
SegmentTypeRange getSegmentsContainingSection(ElfFile file, ElfSection section)Get segments that contain a specific section.
This function finds all program headers (segments) whose file offset ranges include the given section's file range.
Parameters
file | The ELF file. |
section | The section to find containing segments for. |
Returns
A range of segments that contain the section.