Open fakhrizulkifli opened 3 months ago
I have updated the repro steps for clearer instructions.
Initially I thought this might be related to the imperfect matching between disassembly and HLIL. However, upon closer examination, it seems NOT the case. When we view disassembly and HLIL side-by-side and select 0x8049522 in the disassembly, we see the line 0x8049528 is selected in the HLIL:
This is correct and expected, since we can verify the disassembly instructions corresponding to the HLIL instruction includes 0x8049522:
So the issue is actually whey the view navigates to 0x80494d0 when we initially switch to HLIL (I expected it to navigate to 0x8049528). When we switch back, it actually goes to the correct address (that is one of the disassembly instruction associated with the HLIL at 0x80494d0)
Also this has nothing to do with switching the view using Tab or the view selection drop-down -- the issue is all the same
Version and Platform (required):
Bug Description: Please provide a clear and concise description of what happened.
Switching views between HLIL and Disassembly using TAB key may relocate the highlighted lines elsewhere.
Steps To Reproduce: Please provide all steps required to reproduce the behavior:
Expected Behavior:
highlighted lines should be somewhere relevant to their IL form.
Screenshots:
https://github.com/Vector35/binaryninja-api/assets/4518763/9cfc8d39-957b-4268-8cf9-81128dcd66bd
Additional Information: Please add any other context about the problem here.