plasma-disassembler / plasma

Plasma is an interactive disassembler for x86/ARM/MIPS. It can generates indented pseudo-code with colored syntax.
GNU General Public License v3.0
3.05k stars 276 forks source link

Wrong parse elf section on MIPS #92

Closed GH0st3rs closed 6 years ago

GH0st3rs commented 6 years ago
# plasma -i /mnt/usr/bin/ssid
Traceback (most recent call last):
  File "/usr/sbin/plasma", line 11, in <module>
    load_entry_point('plasma==1.0', 'console_scripts', 'plasma')()
  File "/usr/lib/python3.7/site-packages/plasma-1.0-py3.7-linux-x86_64.egg/plasma/main.py", line 35, in console_entry
    if not gctx.load_file():
  File "/usr/lib/python3.7/site-packages/plasma-1.0-py3.7-linux-x86_64.egg/plasma/lib/__init__.py", line 197, in load_file
    self.db)
  File "/usr/lib/python3.7/site-packages/plasma-1.0-py3.7-linux-x86_64.egg/plasma/lib/disassembler.py", line 102, in __init__
    self.load_symbols()
  File "/usr/lib/python3.7/site-packages/plasma-1.0-py3.7-linux-x86_64.egg/plasma/lib/disassembler.py", line 160, in load_symbols
    self.binary.load_dyn_sym()
  File "/usr/lib/python3.7/site-packages/plasma-1.0-py3.7-linux-x86_64.egg/plasma/lib/fileformat/elf.py", line 207, in load_dyn_sym
    tagstr = self.__translate_dynamic_tag(tag.entry.d_tag)
  File "/usr/lib/python3.7/site-packages/plasma-1.0-py3.7-linux-x86_64.egg/plasma/lib/fileformat/elf.py", line 190, in __translate_dynamic_tag
    return self.dynamic_tag_translation[tag]
KeyError: 1879048245

I can send testing elf file on your email, if you want

GH0st3rs commented 6 years ago

No longer relevant