Similar pair 3 : old size: 18 bytes, new size: 20 bytes, delta: 2 bytes, sig. sim.: 87.5 %, instr. sim.: 93.1 %

Old: func(int) [/home/flo/Tmp/elf_diff/testing/src/old/test.cpp:20]
New: func(double) [/home/flo/Tmp/elf_diff/testing/src/new/test.cpp:20]


Old
New
f1endbr64f1endbr64
2push   %rbp2push   %rbp
3mov    %rsp,%rbp3mov    %rsp,%rbp
t4mov    %edi,-0x4(%rbp)t4movsd  %xmm0,-0x8(%rbp)
5mov    $0x2a,%eax5mov    $0x2a,%eax
6pop    %rbp6pop    %rbp
7ret7ret
88

Tree Representation

similar_symbols
├── display_info [Information that configures how things are displayed]
│   ├── anchor_id = '2' <str> [Unique string identifier token that can be used to generate a HTML anchor for cross references]
│   ├── display_symbol_details = 'True' <bool> [True if symbol details are supposed to be displayed]
│   └── symbol_class = 'similar' <str> [The class of symbol old/new/appeared/disappeared/persisting/similar]
├── id = '3' <int> [The id of the symbol pair]
├── new
│   └── signature_tagged = 'func(...HIGHLIGHT_START...double...HIGHLIGHT_END...)' <str> [A tagged version of the symbol signature. Taggs '...HIGHLIGHT_START...' and '...HIGHLIGHT_END...' must be replaced accordingly, e.g. for highlighting.]
├── old
│   └── signature_tagged = 'func(...HIGHLIGHT_START...int...HIGHLIGHT_END...)' <str> [A tagged version of the symbol signature. Taggs '...HIGHLIGHT_START...' and '...HIGHLIGHT_END...' must be replaced accordingly, e.g. for highlighting.]
├── related_symbols [A relation between two symbols]
│   ├── new_symbol
│   │   ├── id = '9' <int> [Unique symbol identifier]
│   │   ├── instructions = 'endbr64
push   %rbp
mov    %rsp,%rbp
movsd  %xmm0,-0x8(%rbp)
mov    $0x2a,%eax
pop    %rbp
ret
' <str> [Code instructions (assembly with possibly high level language code intermixed)]
│   │   ├── is_demangled = 'True' <bool> [True if the symbol name is demangled]
│   │   ├── is_stored_in_program_memory = 'True' <bool> [True if the symbol is stored in program memory]
│   │   ├── name = 'func(double)' <str> [The symbol name (demangled if supported)]
│   │   ├── name_mangled = '_Z4funcd' <str> [The mangled symbol name]
│   │   ├── size = '20' <int> [Number of bytes occupied by the symbol]
│   │   ├── source
│   │   │   ├── file_id = '9' <int> [The id of the source file]
│   │   │   └── line = '20' <int> [The line number in the source file where the symbol is defined]
│   │   └── type = 'T' <str> [Type character matching the characters used by the nm binutils tool]
│   ├── old_symbol
│   │   ├── id = '2' <int> [Unique symbol identifier]
│   │   ├── instructions = 'endbr64
push   %rbp
mov    %rsp,%rbp
mov    %edi,-0x4(%rbp)
mov    $0x2a,%eax
pop    %rbp
ret
' <str> [Code instructions (assembly with possibly high level language code intermixed)]
│   │   ├── is_demangled = 'True' <bool> [True if the symbol name is demangled]
│   │   ├── is_stored_in_program_memory = 'True' <bool> [True if the symbol is stored in program memory]
│   │   ├── name = 'func(int)' <str> [The symbol name (demangled if supported)]
│   │   ├── name_mangled = '_Z4funci' <str> [The mangled symbol name]
│   │   ├── size = '18' <int> [Number of bytes occupied by the symbol]
│   │   ├── source
│   │   │   ├── file_id = '3' <int> [The id of the source file]
│   │   │   └── line = '20' <int> [The line number in the source file where the symbol is defined]
│   │   └── type = 'T' <str> [Type character matching the characters used by the nm binutils tool]
│   └── size_delta = '2' <int> [Difference in bytes between the resource occupation of the two symbols]
└── similarities [Symbol similarity ratios]
    ├── instruction = '93.12169312169311' <float> [The percentage of symbol instruction similarity]
    └── signature = '87.5' <float> [The percentage of symbol signature similarity]