我正在尝试在我的16.04 KDE Neon操作系统上安装plasma-disassembler,但这根本无法正常工作。运行安装脚本时没有问题,但是安装后,它根本无法反汇编任何文件。这是尝试分解其中一个测试项目时的输出示例:
$ plasma tests/x86.bin
Traceback (most recent call last):
File "/usr/local/bin/plasma", line 9, in <module>
load_entry_point('plasma==1.0', 'console_scripts', 'plasma')()
File "/usr/local/lib/python3.5/dist-packages/plasma-1.0-py3.5-linux-x86_64.egg/plasma/main.py", line 35, in console_entry
if not gctx.load_file():
File "/usr/local/lib/python3.5/dist-packages/plasma-1.0-py3.5-linux-x86_64.egg/plasma/lib/__init__.py", line 197, in load_file
self.db)
File "/usr/local/lib/python3.5/dist-packages/plasma-1.0-py3.5-linux-x86_64.egg/plasma/lib/disassembler.py", line 102, in __init__
self.load_symbols()
File "/usr/local/lib/python3.5/dist-packages/plasma-1.0-py3.5-linux-x86_64.egg/plasma/lib/disassembler.py", line 160, in load_symbols
self.binary.load_dyn_sym()
File "/usr/local/lib/python3.5/dist-packages/plasma-1.0-py3.5-linux-x86_64.egg/plasma/lib/fileformat/elf.py", line 220, in load_dyn_sym
fakestrtabheader, "strtab_plasma", self.elf.stream)
File "/usr/local/lib/python3.5/dist-packages/elftools/elf/sections.py", line 30, in __init__
self.stream = self.elffile.stream
AttributeError: '_io.BufferedReader' object has no attribute 'stream'
该程序在运行Kubuntu 16.04的笔记本电脑上可以正常运行。它与干扰等离子体台式机的“等离子体”这个名称有关吗?如果是这样,为什么它仍然可以在运行Kubuntu的笔记本电脑上正常工作?
我仍然可以运行以下命令:
plasma --help
我只是无法打开任何文件进行反汇编。
当我尝试运行测试时,会发生以下情况:
$ python3 test_plasma.py
EE.EEEE...EEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE.EEEEEEEEEEEEEEEEEEEEEE
5/90 tests passed successfully in 0.623713s
failed: x86.bin
failed: strlen.bin
failed: server.bin
failed: server.bin
failed: return2.bin
failed: return1.bin
failed: or4.bin
failed: or3.bin
failed: or2.bin
failed: or1.bin
failed: nestedloop7.bin
failed: nestedloop6.bin
failed: nestedloop5.bin
failed: nestedloop4.bin
failed: nestedloop3.bin
failed: nestedloop2.bin
failed: nestedloop1.bin
failed: loopinf4.bin
failed: loopinf3.bin
failed: loopinf2.bin
failed: loopinf1.bin
failed: loopends2.bin
failed: loopends1.bin
failed: jump_is_loop.bin
failed: if9.bin
failed: if8.bin
failed: if7.bin
failed: if6.bin
failed: if5.bin
failed: if4.bin
failed: if3.bin
failed: if2.bin
failed: if1.bin
failed: gotoinloop9.bin
failed: gotoinloop8.bin
failed: gotoinloop7.bin
failed: gotoinloop6.bin
failed: gotoinloop5.bin
failed: gotoinloop4.bin
failed: gotoinloop3.bin
failed: gotoinloop20_nestedloop7.bin
failed: gotoinloop20_2_nestedloop7.bin
failed: gotoinloop2.bin
failed: gotoinloop19.bin
failed: gotoinloop18.bin
failed: gotoinloop17.bin
failed: gotoinloop16.bin
failed: gotoinloop15.bin
failed: gotoinloop14.bin
failed: gotoinloop13.bin
failed: gotoinloop12.bin
failed: gotoinloop11.bin
failed: gotoinloop10.bin
failed: gotoinloop1.bin
failed: goto9.bin
failed: goto8.bin
failed: goto7.bin
failed: goto6.bin
failed: goto5.bin
failed: goto4.bin
failed: goto3.bin
failed: goto2.bin
failed: goto1.bin
failed: dowhile4.bin
failed: dowhile3.bin
failed: dowhile2.bin
failed: dowhile1.bin
failed: continue3.bin
failed: continue2.bin
failed: continue1.bin
failed: chars1.bin
failed: canary_plt.bin
failed: break3.bin
failed: break2.bin
failed: break1.bin
failed: andor6.bin
failed: andor5.bin
failed: andor4.bin
failed: andor3.bin
failed: andor2.bin
failed: andor1.bin
failed: and4.bin
failed: and3.bin
failed: and2.bin
failed: and1.bin
编辑:这是运行安装脚本时的输出:https://pastebin.com/h5TMWmct