Xrefs to THUMB functions from data pointer don't appear #6415
Labels
Component: UI
Issue needs changes to the user interface
Effort: Low
Issue should take < 1 week
Impact: Low
Issue is a papercut or has a good, supported workaround
UI: Cross References
Issues with the Cross References widget
Version and Platform (required):
Bug Description:
When clicking on a function that has a pointer to it with the bottom bit set (indicating it is a THUMB function), the xref does not show up.
Steps To Reproduce:
I made this simple program for illustrating the issue:
test
from attached zip filefunc_ptr
symbol and set the type to a pointer (I also think binja should be recognizing that this is a pointer automatically)void* func_ptr = foo
foo
function and click on the function name to see the xrefs, and see that there are 0 xrefs to the functionExpected Behavior:
I expect to see an xref to
func_ptr
fromfoo
Screenshots/Video Recording:
N/A
Binary:
test.zip
Additional Information:
I believe the issue is that the xref system is not accounting for the bottom bit being set in the function pointer, which causes the xref to be missing.
The text was updated successfully, but these errors were encountered: