{# -*- coding: utf-8 -*- -*- mode: python -*- elf_diff Copyright (C) 2021 Noseglasses (shinynoseglasses@gmail.com) This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 3. This program is distributed in the hope that it will be useful, but WITHOUT but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with along with this program. If not, see . #} {% import 'macros.j2' as aux %} {% if is_single_page_report == True %} {% set link_target_frame='' %} {% else %} {% set link_target_frame='target="details"' %} <{{ aux.overview_header_tag}}>{{ symbol_class | capitalize }} Symbols {% endif %} {% if symbols|length == 0 %} No symbols considered.
{% else %} {% for symbol in symbols | sort(attribute='similarities.signature', reverse = True) -%} {% set old_symbol=symbol.related_symbols.old %} {% set new_symbol=symbol.related_symbols.new %} {% endfor %}
Id
Symbols
Types
Sizes/bytes
Deltas/bytes
Sig. Sim./%
Instr. Sim./%
{% if symbol.display_info.display_symbol_details == True %} {% endif %} {{ symbol.id }} {% if symbol.display_info.display_symbol_details == True %} ⓘ {% endif %} {{ aux.replace_highlighting_tags(symbol.old.signature_tagged | e) }}
{{ aux.replace_highlighting_tags(symbol.new.signature_tagged | e) }}
{{ old_symbol.type }}
{{ new_symbol.type }}
{{ old_symbol.size }}
{{ new_symbol.size }}
{{ symbol.related_symbols.size_delta }} {{ symbol.similarities.signature | round(1) }} {{ symbol.similarities.instruction | round(1) }}

Columns

IDInteger id assigned to each symbol pair
SymbolsThe two similar symbol names (possibly mangled)
TypesThe symbol types (see the documentation of binutils tool nm for more information)
SizesThe sizes of the symbols either in RAM or program memory
DeltasThe difference in symbol size
Sig. Sim.Lexicographic symbol signature similarity
Instr. Sim.Instruction similarity of the symbols' assembly code
{% endif %}