Skip to content
This repository was archived by the owner on Oct 2, 2020. It is now read-only.
This repository was archived by the owner on Oct 2, 2020. It is now read-only.

Crash when opening....notepad.exe #14

@DigiAngel

Description

@DigiAngel

So...I was installing this on a test linux box and decided to open notepad.exe from Windows 7 64 bit. Here's what I get when opening:

Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/lib/python2.7/threading.py", line 810, in __bootstrap_inner
    self.run()
  File "/usr/lib/python2.7/threading.py", line 763, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/home/jlay/Apps/binaryninja-python/DisassemblerView.py", line 175, in analysis_thread_proc
    self.analysis.analyze()
  File "/home/jlay/Apps/binaryninja-python/Analysis.py", line 962, in analyze
    self.start.findBasicBlocks()
  File "/home/jlay/Apps/binaryninja-python/Analysis.py", line 865, in findBasicBlocks
    block.populate(known_instrs)
  File "/home/jlay/Apps/binaryninja-python/Analysis.py", line 807, in populate
    instr.format_text(self, self.analysis.options)
  File "/home/jlay/Apps/binaryninja-python/Analysis.py", line 142, in format_text
    elif (instr.operands[j].size == self.addr_size) and (value >= block.exe.start()) and (value < block.exe.end()) and (not self.isLocalJump()):
  File "/home/jlay/Apps/binaryninja-python/BinaryData.py", line 148, in end
    return self.start() + len(self)
TypeError: __len__() should return an int

Every other file I throw at BinaryNinja works awesome...just...apparently not this one :) I get the same results with Linux or Windows. Thank you.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions