[BUG] RetroWrite does not symbolize RIP-relative addressing and omits the definition of labels #45
Labels
analysis-needed
This issue needs analysis and possible research to solve.
bug
Something isn't working
Describe the bug
I observed that RetroWrite fails on recovering RIP-relative addressing. As an example, given instruction ‘leaq fix_syms(%rip), %rsi’ found in addr2line of binutils, RetroWrite reassembled the instruction as ‘leaq 5(%rip), %rsi’.
Also, I found that RetroWrite sometimes omits some definitions of labels. For example, given the data pointer 0x170c80, RetroWrite symbolized the pointer as '.LC170c80', but RetroWrite misses the definition of the label '.LC170c80'. As a result, it causes a compilation error.
Describe how to reproduce the bug
The text was updated successfully, but these errors were encountered: