Skip to content

overflow in vm range #382

Open
Open

Description

Hello!
Thank you for this very nice tool. When I'm comparing binaries built with different compilers (gcc-8 and gcc-11) I get the following error message:

$ bloaty firmware.11.3-2022.08.elf -d compileunits -- firmware.8-2019-q3.elf
bloaty: Overflow in vm range, vmaddr=276388, vmsize=18446744073709275228

diffing them without compileunits work:

$ bloaty firmware.11.3-2022.08.elf -- firmware.8-2019-q3.elf
    FILE SIZE        VM SIZE
 --------------  --------------
  [NEW]  +354Ki  [ = ]       0    .debug_loclists
  [NEW] +32.4Ki  [ = ]       0    .debug_rnglists
  +2.6% +17.0Ki  +2.6% +17.0Ki    .text
  +1.6% +11.9Ki  [ = ]       0    .debug_line
  +0.5% +11.3Ki  [ = ]       0    .debug_str
  +7.1% +9.50Ki  [ = ]       0    .debug_abbrev
  +9.8% +3.09Ki  [ = ]       0    .debug_aranges
  +0.6% +1.19Ki  [ = ]       0    .symtab
  [NEW]    +257  [ = ]       0    .debug_line_str
  [ = ]       0  +0.6%    +252    .bss
  +0.1%    +173  [ = ]       0    .strtab
  +3.8%     +40  [ = ]       0    [ELF Section Headers]
 -85.6%     +35 -100.0%      +4    [2 Others]
 -24.6%     -67  [ = ]       0    .comment
  [DEL]    -204  [ = ]       0    .stab
  [DEL]    -444  [ = ]       0    .stabstr
  -1.2% -1.32Ki  [ = ]       0    .debug_frame
 -16.4% -17.0Ki  [ = ]       0    [Unmapped]
 -14.7% -55.7Ki  [ = ]       0    .debug_ranges
  -9.4%  -310Ki  [ = ]       0    .debug_info
 -38.7%  -512Ki  [ = ]       0    .debug_loc
  -4.8%  -455Ki  +2.0% +17.3Ki    TOTAL

files.zip

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions