pub fn symbol_size(
address: u64,
declared_size: u64,
is_zero_size_alias: bool,
following_addresses: impl IntoIterator<Item = u64>,
section_end: u64,
) -> u64Expand description
Determine a native symbol’s byte extent without attributing bytes to a zero-size alias.
A declared size always wins. For a boundary inferred from neighbouring symbols, only the next strictly greater address delimits the range. If an explicit definition shares the address, or an earlier zero-size symbol has already claimed that inferred range, this symbol is an alias and remains explicitly zero-sized.