jchristman / PyDA

Python binary DisAssembler
http://suntzuii.github.io/PyDA/
Other
26 stars 10 forks source link

Error when disassembling one file then another in the same instance #54

Open wiseone13 opened 10 years ago

wiseone13 commented 10 years ago

I loaded the bookworm_arm file, and then the elf-Linux-x64.

$ python ./PyDA.py Building app Running mainloop [Error] PE.getPEOffset() - Bad PE signature File header did not match PE Processing Functions Processing Strings Done [Error] PE.getPEOffset() - Bad PE signature File header did not match PE Exception in Tkinter callback Traceback (most recent call last): File "/usr/lib/python2.7/lib-tk/Tkinter.py", line 1473, in call return self.func(*args) File "/home/nathan/Code/PyDA/interface/guielements.py", line 486, in datayscroll if self.data_model and self.data_model.length(key=self.key): File "/home/nathan/Code/PyDA/concurrent/futures.py", line 166, in length return self.process_proxy.submit('LENGTH', (key,)) File "/home/nathan/Code/PyDA/concurrent/futures.py", line 127, in submit result = pickle.loads(self.parent_data_pipe.recv()) EOFError

Also, keygenme32.elf to bookworm_arm:

$ python ./PyDA.py Building app Running mainloop [Error] PE.getPEOffset() - Bad PE signature File header did not match PE Processing Functions Processing Strings Done [Error] PE.getPEOffset() - Bad PE signature File header did not match PE Processing Functions Processing Strings Exception in Tkinter callback Traceback (most recent call last): File "/usr/lib/python2.7/lib-tk/Tkinter.py", line 1473, in call return self.func(args) File "/home/nathan/Code/PyDA/interface/guielements.py", line 515, in datayscroll start,end = self._calcscroller() File "/home/nathan/Code/PyDA/interface/guielements.py", line 523, in _calcscroller start = self.prev_start * self.TCL_BUFFER_SIZE / self.data_model.length(key=self.key) + self.current_data_offset \ line_height File "/home/nathan/Code/PyDA/concurrent/futures.py", line 166, in length return self.process_proxy.submit('LENGTH', (key,)) File "/home/nathan/Code/PyDA/concurrent/futures.py", line 127, in submit result = pickle.loads(self.parent_data_pipe.recv()) UnpicklingError: invalid load key, '�'.

jchristman commented 10 years ago

Probably duplicate of 51. When I get some time I'll investigate. Lots of schoolwork now - probably can't spend much time until end of next week.