Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to identify Xrefs in non-stripped x86 Binary #15204

Open
archcloudlabs opened this issue Oct 5, 2019 · 3 comments
Open

Unable to identify Xrefs in non-stripped x86 Binary #15204

archcloudlabs opened this issue Oct 5, 2019 · 3 comments

Comments

@archcloudlabs
Copy link
Contributor

archcloudlabs commented Oct 5, 2019

Work environment

Questions Answers
OS/arch/bits (mandatory) Arch Linux x86_64
File format of the file you reverse (mandatory) ELF
Architecture/bits of the file (mandatory) x86/32
r2 -v full output, not truncated (mandatory) radare2 4.0.0-git 22952 @ linux-x86-64 git.3.9.0-119-gcb1f67ee8 commit: cb1f67e build: 2019-10-05__17:25:55

Expected behavior

r2 to identify xrefs to a string in an unstripped 32-bit binary.

Actual behavior

r2 does not identify xrefs to strings in an unstripped 32-bit binary, but does
when the same binary is compiled for 64-bit.

Steps to reproduce the behavior

r2 dungeones_and_hackers-lvl-1-32bit
aaa
s 0x00002a92; (identify you win string via: iz | grep -i 'you win')
V; (visual mode) 
p; (switch to linear disassembly view)
x; no xrefs will be shown for the 32-bit binary, but will be for the 64-bit binary.

Additional Logs, screenshot

32-bit Showing No Xrefs

no_xrefs_32-bit
s, source-code, configuration dump, ...

64-bit Showing Xrefs

xrefs_64-bit

Drag and drop zip archives containing the Additional info here, don't use external services or link.

Both binaries are attached and source code is available here.

@radare
Copy link
Collaborator

radare commented Oct 6, 2019 via email

@radare
Copy link
Collaborator

radare commented Oct 6, 2019 via email

@radare
Copy link
Collaborator

radare commented Oct 6, 2019 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants