Exetools

Exetools (https://forum.exetools.com/index.php)
-   Developer Section (https://forum.exetools.com/forumdisplay.php?f=48)
-   -   Ida Pro Python editor v1 (https://forum.exetools.com/showthread.php?t=16918)

Storm Shadow 12-09-2015 13:33

repo updated with fix

ricnar456 12-10-2015 05:47

the fix works perfect
 
Thanks I tried and the bug was fixed, thanks.

best regards
ricnar

Storm Shadow 12-14-2015 02:50

New build

Added
Code:

# Zoom in Ctrl+Shift+ + #
# Zoom Out Ctrl+Shift+ - #
# Profile Code Ctrl+Shift+ E #

profiling example of app itself, so see if any code takes to long or runs in a loop

Code:

  173 function calls in 0.025 seconds
 
  Ordered by: standard name
 
  ncalls  tottime  percall  cumtime  percall filename:lineno(function)
        1  0.000  0.000  0.000  0.000 <string>:282(retranslateUi)
        1  0.008  0.008  0.025  0.025 <string>:4(<module>)
        2  0.000  0.000  0.000  0.000 <string>:71(_translate)
        1  0.000  0.000  0.000  0.000 <string>:77(Ui_MainWindow)
        1  0.001  0.001  0.008  0.008 <string>:78(setupUi)
        1  0.000  0.000  0.000  0.000 idaapi.py:27414(idadir)
        4  0.000  0.000  0.003  0.001 init.py:30(write)
        1  0.000  0.000  0.000  0.000 {_idaapi.idadir}
        4  0.003  0.001  0.003  0.001 {_idaapi.msg}
        2  0.000  0.000  0.000  0.000 {built-in method SendScintilla}
      18  0.000  0.000  0.000  0.000 {built-in method addAction}
        1  0.000  0.000  0.000  0.000 {built-in method addPixmap}
      18  0.000  0.000  0.000  0.000 {built-in method addSeparator}
        1  0.000  0.000  0.000  0.000 {built-in method addToolBar}
        1  0.000  0.000  0.000  0.000 {built-in method addWidget}
        1  0.000  0.000  0.000  0.000 {built-in method exec_}
        3  0.005  0.002  0.005  0.002 {built-in method load}
        1  0.000  0.000  0.000  0.000 {built-in method prepare}
        2  0.002  0.001  0.002  0.001 {built-in method resize}
        1  0.000  0.000  0.000  0.000 {built-in method setAutoCompletionSource}
        3  0.000  0.000  0.000  0.000 {built-in method setAutoCompletionThreshold}
        2  0.000  0.000  0.000  0.000 {built-in method setAutoFillBackground}
        1  0.000  0.000  0.000  0.000 {built-in method setAutoIndent}
        1  0.000  0.000  0.000  0.000 {built-in method setBraceMatching}
        1  0.000  0.000  0.000  0.000 {built-in method setCentralWidget}
        1  0.000  0.000  0.000  0.000 {built-in method setDefaultFont}
        1  0.000  0.000  0.000  0.000 {built-in method setEolFill}
        1  0.000  0.000  0.000  0.000 {built-in method setFamily}
        1  0.000  0.000  0.000  0.000 {built-in method setFixedPitch}
        1  0.000  0.000  0.000  0.000 {built-in method setFont}
        1  0.000  0.000  0.000  0.000 {built-in method setFrameShape}
        1  0.000  0.000  0.000  0.000 {built-in method setIconSize}
        1  0.000  0.000  0.000  0.000 {built-in method setLexer}
        1  0.000  0.000  0.000  0.000 {built-in method setMarginWidth}
        1  0.000  0.000  0.000  0.000 {built-in method setMarginsFont}
        1  0.000  0.000  0.000  0.000 {built-in method setMargin}
        5  0.000  0.000  0.000  0.000 {built-in method setObjectName}
        1  0.000  0.000  0.000  0.000 {built-in method setPointSize}
      18  0.000  0.000  0.000  0.000 {built-in method setShortcut}
        1  0.000  0.000  0.000  0.000 {built-in method setSpacing}
      18  0.000  0.000  0.000  0.000 {built-in method setStatusTip}
        1  0.000  0.000  0.000  0.000 {built-in method setStyleSheet}
        1  0.000  0.000  0.000  0.000 {built-in method setTabWidth}
        1  0.000  0.000  0.000  0.000 {built-in method setToolButtonStyle}
        1  0.000  0.000  0.000  0.000 {built-in method setToolTip}
        1  0.000  0.000  0.000  0.000 {built-in method setWhatsThis}
        1  0.000  0.000  0.000  0.000 {built-in method setWindowIcon}
        2  0.000  0.000  0.000  0.000 {built-in method setWindowTitle}
        1  0.005  0.005  0.005  0.005 {built-in method show}
        1  0.000  0.000  0.000  0.000 {built-in method width}
        1  0.000  0.000  0.000  0.000 {connectSlotsByName}
        9  0.000  0.000  0.000  0.000 {fromUtf8}
        1  0.000  0.000  0.000  0.000 {instance}
      18  0.000  0.000  0.000  0.000 {method 'connect' of 'PyQt4.QtCore.pyqtBoundSignal' objects}
        1  0.000  0.000  0.000  0.000 {method 'disable' of '_lsprof.Profiler' objects}
        2  0.000  0.000  0.000  0.000 {method 'insert' of 'list' objects}
        1  0.000  0.000  0.000  0.000 {nt.chdir}
        1  0.000  0.000  0.000  0.000 {nt.getcwd}
        2  0.000  0.000  0.000  0.000 {translate}


ricnar456 02-01-2016 18:31

i can open the editor but when i close i cannot reopen with alt + E.

Executing last-registered action: JumpFileOffset (Jump to file &offset...)
Python Editor Loaded to menu use Alt+E once morePython Editor Loaded to menu use Alt+E once morePython Editor Loaded to menu use Alt+E once morePython Editor Loaded to menu use Alt+E once moreCommand "JumpEnter" failed
Python Editor Loaded to menu use Alt+E once more

nothing happens when i press alt + e to reopen.

thanks
ricnar
PD:maybe closing with alt + d and reopen with alt + E can work

One suggestion for the editor may be more comfortable.
You can add a window to the right, with the result of the execution log? This is to avoid having to return to IDA to see the result of running and then go back to the editor to continue.
A SAVE option without opening a window will be a improvement too.
Thanks again

Storm Shadow 02-02-2016 00:38

Set the shortcut in shortcut menu (option >>>Shortcut) first time after its loaded, then next time ida is opened it will work.
Run to a second window as a option sound like a good idea, i can look into that.The window open when save is a error, it should only do that once, i put in on my to fix list.

ricnar456 02-02-2016 01:05

Thanks
 
Your effort is very appreciated by me, you are great!!!

thanks
ricnar

NeOXOeN 10-29-2016 05:29

Nice tool but still needs some fixes..

keep a good work,,

bye N

Storm Shadow 10-29-2016 22:37

updated version

Clean up code
Zoom -/+
Font box
Getting ready for debugger feature

https://github.com/techbliss/Python_editor

Storm Shadow 12-14-2016 01:36

update

HTML Code:

ida Pyqt5 version >6.8 added(6.95)
pre 6.9 is still there also.
better exception handling.

https://github.com/techbliss/Python_editor

Remember to install my pre build PyQt5 installer build for ida.
https://www.techbliss.org/threads/ida-pro-pyqt5-5-6-2-x32-complete-installer-package-by-storm-shadow.909/


pyqt4 version for pre 6.9 is here
https://mega.nz/#!PkN0hSYR!DuYRLKTpc...6XB3_Up9OwdBac

Storm Shadow 10-05-2017 03:08

Ida pro 7.0 + added.
https://github.com/techbliss/Python_editor
Remember to read the readme on new PyQt5 build(howto install New PyQt5 build x64 and ida files)


All times are GMT +8. The time now is 13:47.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Always Your Best Friend: Aaron, JMI, ahmadmansoor, ZeNiX