Commit Graph

29 Commits

Author SHA1 Message Date
Gulshan Singh 544ea0eab7
Linting/formatting improvements (#1138)
* Fix flake8 F403 warnings

* Fix more flake8 errors and warnings

* Run isort on the root directory
2022-09-09 04:46:46 +02:00
Disconnect3d b3a560eff0
black all da code (#1103) 2022-08-30 02:53:00 +02:00
Takumi Akiyama 19d59d521f
Replace with IDA 7.x API (#1024)
* Replace with IDA 7.x API

* Drop support for IDA 6.x to clean up code

* Disable logging to speed up IDA integration
2022-08-17 23:10:58 +02:00
Bet4 64ca9a66cf
Fix decompile error (#716) 2020-03-08 14:11:04 +01:00
Bet4 9aef04b856
Add line indicator in decompile result (#714)
* Add line indicator in decompile result

* Update ida_script.py

Co-authored-by: Disconnect3d <dominik.b.czarnota@gmail.com>
2020-03-06 08:17:29 +01:00
NyaMisty 88723a8c0a Add support for decompile_context on IDA 7.0 (#655)
* Add support for decompile_context on IDA 7.0

* Make the line finding logic a separated function
2019-07-04 17:01:30 +02:00
NyaMisty 4095c1f75d Show context of pseudocodes instead whole of them (#630)
* Show context of pseudocodes instead whole of them

* Use generator expression instead of list
2019-05-03 14:13:45 -04:00
NyaMisty c0dfd70482 Fix the decompile function for IDA 7.2 (#629)
Also a small typo corrected ;)
2019-05-03 13:28:26 -04:00
Disconnect3d 96b226f7d0
Change IDA xmlrpc default port (#462) 2018-05-12 02:14:03 +07:00
Disconnect3d c224cf48a9
version with IDA: proper hexrays detection (#457) 2018-05-05 03:02:55 +07:00
Disconnect3d fca00ecb76
version command: show IDA Pro versions (#456) 2018-05-05 02:50:14 +07:00
Disconnect3d 9cb502277e
Fix IDA 7 unhandled DecompilationFailure (#455) 2018-05-04 14:10:10 +07:00
Disconnect3d 89d865e808 Fix IDA Pro decompiled code not being displayed (#328)
* Fix withHexrays decorator not returning wrapper function

* IDA xmlrpc: add cfuncptr_t marshaller & better errors

* IDA xmlrpc server: add shutdown() which can be used for dev

* Small refactor of context.py

* Fix context Hexrays decompiled code display
2017-08-24 09:09:24 +02:00
Aaron Sedlacek eb9c4de0e6 update for ida_script.py to handle ida 7.0 (#308)
* fix for ida 7.0

* using idaapi.save_database instead, change version cmp from == to >=
2017-08-04 01:47:21 +02:00
Zach Riggle efe6c8b148 Sort inputs 2017-02-10 14:38:27 -05:00
Disconnect3d f728a2870a Configurable IDA Pro RPC endpoints (#139)
* Added PyCharm project dir (.idea) to .gitignore

* Reformat & optimize imports in ida xmlrpc sources

* Refactored ida_script.py

* Moved host to variable in ida_script.py

* Added info that server has been hosted in ida_script.py

* Added info to config/theme commands output

* Reformat & optimize imports in pwndbg/config.py

* Fix for configfile/themefile generation #137

Also generating the configs only for the changed parameters.

* Better info for config and theme commands

* Added Ida Pro rpc connection host, port parameters #132

* Fixed wrong Ida Pro idb save path on Windows #132

The problem happens on a NTFS filesystem as it supports ADS (Alternative
Data Streams) so that filepath with ':' is treated as ntfs ads.

* Added info on Ida Pro rpc successful connection #132

* Sorted imports with isort

* Added Ida Pro rpc auto connect when host/port has changed #132

* Better Ida Pro integration description in FEATURES.md #132

* Added info about config/theme into FEATURES.md

* Add PEP8 configuration file for pep8 command-line and PyCharm

* Review #139 fixes: ugly filter_cond cleanup

* Minor name refactor in pwndbg/config.py

* Review #139: added native_default to pwndbg.config.Parameter

* config: fix type checking of native translation by testing instance

* config: add optional 'all' parameter to {config,theme}file

this makes it easier to get a template of all configurable options.

* Removed trailing spaces in FEATURES.md
2016-12-14 16:48:55 -06:00
Zach Riggle eae961289c Add shebang and encoding to each file 2016-09-12 19:35:46 -07:00
Zach Riggle 97020fe149 Fix eval() lambda 2016-08-04 09:48:58 -07:00
Zach Riggle d97847b872 Add isort, config, and pre-CI hook 2016-06-14 12:31:56 -07:00
Zach Riggle 93b3e790fa Add autoWait to ida_script 2016-06-09 20:41:54 -06:00
Zach Riggle a4a327052f Add more IDA stuff thats a work-in-progress 2016-06-01 16:59:14 -07:00
Zach Riggle d13b9e85ce Add print_function to everything 2016-05-06 19:26:42 -07:00
Zach Riggle 68529bcb5c Lots of changes for automatically showing various function arguments etc. 2015-05-11 20:28:35 -04:00
Zach Riggle 9b75266877 Merge remote-tracking branch 'origin/master' 2015-05-09 18:25:36 -04:00
Zach Riggle ceeee2f3b5 Enhancements to IDA script to make it crash less (never?) 2015-05-09 15:24:22 -04:00
Zach Riggle 8ba1981bcc isort 2015-04-23 02:10:59 -07:00
Zach Riggle 592b9dd9b2 Auto-snapshot the IDB when loading the script 2015-04-18 18:19:22 -04:00
Zach Riggle 1b36cbc5a3 Sort imports 2015-04-13 16:22:08 -04:00
Zach Riggle 9274744918 IDA script for the server side 2015-03-14 12:00:50 -07:00