(
symbols: &[Symbol],
section_idx: usize,
)
| 576 | } |
| 577 | |
| 578 | fn symbols_matching_section( |
| 579 | symbols: &[Symbol], |
| 580 | section_idx: usize, |
| 581 | ) -> impl Iterator<Item = (usize, &Symbol)> + '_ { |
| 582 | symbols.iter().enumerate().filter(move |(_, s)| { |
| 583 | s.section == Some(section_idx) |
| 584 | && s.kind != SymbolKind::Section |
| 585 | && s.size > 0 |
| 586 | && !s.flags.contains(SymbolFlag::Hidden) |
| 587 | && !s.flags.contains(SymbolFlag::Ignored) |
| 588 | }) |
| 589 | } |
| 590 | |
| 591 | pub const BYTES_PER_ROW: usize = 16; |
| 592 |
no outgoing calls
no test coverage detected