Vector35 / deprecated-binaryninja-python

Deprecated Binary Ninja prototype written in Python
GNU General Public License v2.0
518 stars 128 forks source link

Not sure whether it's Expected Behaviour or not. #1

Open jacobsoo opened 9 years ago

jacobsoo commented 9 years ago

Hi sirs,

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

Binary Ninja Version : ?? My setup:

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

psifertex commented 9 years ago

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". :smile:

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.

ColdHeat commented 9 years ago

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