{# -*- 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 %} {% set old_symbol=symbol.related_symbols.old %} {% set new_symbol=symbol.related_symbols.new %} {% set display_return_links=(is_single_page_report == True) %} {% if is_single_page_report == False %} {% set overview_file='../../../index.html' %} {% else %} {% set overview_file='' %} {% endif %} <{{ aux.details_header_tag }}> {% if display_return_links == True %} {% endif %} Similar pair {{ symbol.id }} {% if display_return_links == True %} {% endif %} : old size: {{ old_symbol.size }} bytes, new size: {{ new_symbol.size }} bytes, delta: {{ symbol.related_symbols.size_delta }} bytes, sig. sim.: {{ symbol.similarities.signature | round(1) }} %, instr. sim.: {{ symbol.similarities.instruction | round(1) }} %

Old: {{ aux.replace_highlighting_tags(symbol.old.signature_tagged | e) }} [{{ aux.symbol_old_location_of_definition(document, old_symbol) }}]
New: {{ aux.replace_highlighting_tags(symbol.new.signature_tagged | e) }} [{{ aux.symbol_new_location_of_definition(document, new_symbol) }}]

{{ instruction_differences_html }} {% if is_single_page_report == False %} <{{ aux.details_header_tag }}>Tree Representation
{{ dump_tree_full(symbol, True) | e }}
{% endif %}