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 | ||||
|---|---|---|---|---|---|
| f | 1 | endbr64 | f | 1 | endbr64 |
| 2 | push %rbp | 2 | push %rbp | ||
| 3 | mov %rsp,%rbp | 3 | mov %rsp,%rbp | ||
| t | t | 4 | mov %edi,%eax | ||
| 4 | mov %edi,-0x4(%rbp) | 5 | mov %ax,-0x4(%rbp) | ||
| 5 | mov -0x4(%rbp),%eax | 6 | movzwl -0x4(%rbp),%eax | ||
| 6 | pop %rbp | 7 | pop %rbp | ||
| 7 | ret | 8 | ret | ||
| 8 | 9 | ||||
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 = '31' <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 = '13' <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]