Vector35/deprecated-binaryninja-python

Not sure whether it's Expected Behaviour or not.

Opened this issue · 2 comments

Hi sirs,

i've got several questions.
Hope the questions are not too n00bish.

Binary Ninja Version : ??
My setup:

  • Python 2.7
  • Windows 7 64bit

The following are my questions:
1.) Must i open a file before i can use "Python Console" under "Tools" -> "Python Console"?
If the answer is no, it didn't work as expected. The "Python Console" didn't show up if no files are opened. If yes, just ignore this question.

2.) So when i opened a executable and fire up "Python Console" under "Tools" -> "Python Console".
The "Python Console" showed. Then i type "quit()" in the console. Naturally the "Python Console" became "disabled". But i cannot go to "Tools" -> "Python Console" to re-enable it.
I have close the application in order to use "Python Console" again. Not sure this is the expected behaviour.

3.) If i click "Help" -> "About", i can see these keep repeating in the command line.
QPicture: invalid format version 0
libpng warning: Unknown iTXt compression type or method
libpng warning: Unknown iTXt compression type or method
It will only stop printing these once i close the "About" messagebox.

Thanks & Regards
Jacob Soo

  1. Yeah, I believe that's expected -- the console is per-file (so you could have it open on one tab and not another) so it doesn't work without a tab open.

  2. Heh, yeah, that might be tricky to fix. We might give it ago, but the easiest solution is probably (as the doctor said), "don't do that". 😄

  3. This is probably just because we typically use it without the extra console as well when we built it and never noticed it. That's an interesting bug, I'll check it out.

Regarding 3, I get it on Windows but not on Linux. Probably something to do with PySide. Resaved the png and got a less annoying warning that's probably due to PySide.

Here's the image:
aboutback