Mark combined sections as SectionKind::Unknown

This commit is contained in:
2025-05-07 16:45:00 -06:00
parent b77df77000
commit 8b5bf21f38
5 changed files with 62 additions and 63 deletions

View File

@@ -684,7 +684,7 @@ pub fn display_sections(
.collect::<Vec<_>>();
if let Some(section_idx) = section_idx {
let section = &obj.sections[section_idx];
if section.kind == SectionKind::Unknown || section.flags.contains(SectionFlag::Hidden) {
if section.kind == SectionKind::Unknown {
// Skip unknown and hidden sections
continue;
}