Similar pair 12 : old size: 16 bytes, new size: 20 bytes, delta: 4 bytes, sig. sim.: 60.9 %, instr. sim.: 89.7 %

Old: fIAmGone(int) [old/test2.cpp:20(/home/flo/Documents/elf_diff/tests/src/old/test2.cpp)]
New: fIAmNew(short) [new/test2.cpp:22(/home/flo/Documents/elf_diff/tests/src/new/test2.cpp)]


Old
New
f1endbr64f1endbr64
2push   %rbp2push   %rbp
3mov    %rsp,%rbp3mov    %rsp,%rbp
tt4mov    %edi,%eax
4mov    %edi,-0x4(%rbp)5mov    %ax,-0x4(%rbp)
5mov    -0x4(%rbp),%eax6movzwl -0x4(%rbp),%eax
6pop    %rbp7pop    %rbp
7ret8ret
89

Tree Representation

similar_symbols
├── display_info [Information that configures how things are displayed]
│   ├── anchor_id = '4' <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 = '12' <int> [The id of the symbol pair]
├── new
│   └── signature_tagged = 'fIAm...HIGHLIGHT_START...New(sh...HIGHLIGHT_END...o...HIGHLIGHT_START...r...HIGHLIGHT_END...t)' <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 = 'fIAm...HIGHLIGHT_START...G...HIGHLIGHT_END...o...HIGHLIGHT_START...ne(in...HIGHLIGHT_END...t)' <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 = '21' <int> [Unique symbol identifier]
│   │   ├── instructions = 'endbr64
push   %rbp
mov    %rsp,%rbp
mov    %edi,%eax
mov    %ax,-0x4(%rbp)
movzwl -0x4(%rbp),%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 = 'fIAmNew(short)' <str> [The symbol name (demangled if supported)]
│   │   ├── name_mangled = '_Z7fIAmNews' <str> [The mangled symbol name]
│   │   ├── size = '20' <int> [Number of bytes occupied by the symbol]
│   │   ├── source
│   │   │   ├── file_id = '13' <int> [The id of the source file]
│   │   │   └── line = '22' <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 = '4' <int> [Unique symbol identifier]
│   │   ├── instructions = 'endbr64
push   %rbp
mov    %rsp,%rbp
mov    %edi,-0x4(%rbp)
mov    -0x4(%rbp),%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 = 'fIAmGone(int)' <str> [The symbol name (demangled if supported)]
│   │   ├── name_mangled = '_Z8fIAmGonei' <str> [The mangled symbol name]
│   │   ├── size = '16' <int> [Number of bytes occupied by the symbol]
│   │   ├── source
│   │   │   ├── file_id = '4' <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 = '4' <int> [Difference in bytes between the resource occupation of the two symbols]
└── similarities [Symbol similarity ratios]
    ├── instruction = '89.7196261682243' <float> [The percentage of symbol instruction similarity]
    └── signature = '60.86956521739131' <float> [The percentage of symbol signature similarity]