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

Error while parsing ELF MIPS imports #16455

Closed
0xd3xt3r opened this issue Apr 7, 2020 · 0 comments · Fixed by #16509
Closed

Error while parsing ELF MIPS imports #16455

0xd3xt3r opened this issue Apr 7, 2020 · 0 comments · Fixed by #16509
Assignees
Labels
ELF MIPS MIPS architecture support issues RBin test-required

Comments

@0xd3xt3r
Copy link

0xd3xt3r commented Apr 7, 2020

Work environment

Questions Answers
OS/arch/bits (mandatory) Debian arm 64, Ubuntu x86_64
File format of the file you reverse (mandatory) ELF
Architecture/bits of the file (mandatory) MSB shared object, MIPS, MIPS32 rel2 version 1
r2 -v full output, not truncated (mandatory) radare2 4.4.0-git 24519 @ linux-x86-64 git.4.3.1-220-g6136666e9 commit: 6136666 build: 2020-04-07__12:35:27

Expected behaviour

Should show ELF file imports

Actual behaviour

WARNING: pj_ks: assertion 'j && k && v' failed (line 162)
WARNING: pj_ks: assertion 'j && k && v' failed (line 162)
[Imports]
nth vaddr      bind type lib name
---------------------------------
0   0x00000000 NONE NONE     

Steps to reproduce the behaviour

  • cmd rabin2 -i <binar>

File causing trouble ld-uClibc-0.9.33.2.zip

@XVilka XVilka added ELF MIPS MIPS architecture support issues labels Apr 7, 2020
@XVilka XVilka added this to the 4.4.0 - pangolin milestone Apr 7, 2020
XVilka pushed a commit that referenced this issue Apr 10, 2020
…6509)

* Fix asserts in `iij` for ld-uclibc with a null import ##bin
* Add test for `iij` on ld-uclibc
Emi1305 pushed a commit to Emi1305/radare2 that referenced this issue Jul 12, 2020
…##bin (radareorg#16509)

* Fix asserts in `iij` for ld-uclibc with a null import ##bin
* Add test for `iij` on ld-uclibc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ELF MIPS MIPS architecture support issues RBin test-required
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants