You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Oct 2, 2020. It is now read-only.
I have an ELF file that was converted from RPL (the Wii U's modified ELF format); when trying to view its information in Elf Viewer, I get a blank screen with the following error in the console:
Traceback (most recent call last):
File "binja.py", line 803, in setView
self.focus_tab.widget(self.focus_tab.currentIndex()).setViewType(type)
File "/home/zhuowei/binaryninja-python/View.py", line 100, in setViewType
view = self.createView(type)
File "/home/zhuowei/binaryninja-python/View.py", line 84, in createView
view = type(self.data, self.filename, self, self.main_area)
File "/home/zhuowei/binaryninja-python/ElfFile.py", line 507, in __init__
super(ElfViewer, self).__init__(view.exe, filename, view, parent)
File "/home/zhuowei/binaryninja-python/HexEditor.py", line 61, in __init__
self.status = "Cursor: 0x%.8x" % self.data.start()
TypeError: %x format: a number is required, not NoneType
I'm on Ubuntu 14.04 (32-bit) and using the latest version from the master branch.
As one can see, there are no program headers in the file at all (RPLs are loaded through the section headers), so ElfFile.start() can't find a start address from the program headers and will return None.