* ida integration fixups
* handle connection breaks cleanly
* bring binja up to speed
* make the ports not collide, and more random
* final fixups
* final final
* typo fix
* add highlighting to ida
Instead of only allowing to lookup global symbols, allow reference local variables too.
This is done by iterating the local stack frame struct in IDA and comparing the name. Depending on whether IDA created an entry for the saved frame pointer in the stack frame, the stack variable offset is returned relative to the current stack or frame pointer.
This also fixes the error for invalid names in #2903
Based on https://gist.github.com/syndrowm/2968620
Use the `PWNDBG_[BINJA|IDA]_SERVER_HOST` and `PWNDBG_[BINJA|IDA]_SERVER_PORT`
environment variables to specify where the XMLRPC server should listen on.
This allows you to change the host to e.g. "0.0.0.0" to allow connecting from WSL to an
IDA/Binja running on Windows without having to touch the scripts everytime.
* 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
* 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