This fixes a regression when the emulator support is disabled via
setting it to None when the import fails. The access happens when
checking if a particular architecture actually supports emulation.
Ensure that emulate has the correct value depending on the availability
of the import and deactivate it otherwise. The following core can safely
rely on the boolean state of the emulate variable.
* Fix exception when 'print elements' is unlimited.
This now honors unlimited print elements by returning the full string in that case.
* Fix miscommit typo.
* Change approach of checking for unlimited, per @anthraxx.
* Added support for using different malloc algorithms and implemented
ptmalloc commands
- Added support for the mp_ structure from glibc
- Fixed the bug when the base of [heap] is not sbrk_base (occurs
when bss is very large).
- Added an interface for interacting with ptmalloc heaps
* Added fastbins, unsortedbins, smallbins, largebins
- Implemented the bin functions both in the ptmalloc interface in
the heap/ directory and the commands function
- Completed the bins command which prints all the commands
- Added option to bin commands `verbose` specifies the users desire
to print empty bins - linked lists with out any nodes from malloc
- Changed bin representation to OrderedDict
* remove old bins command
* Ptmalloc bug fixes
- switched constants.ptmalloc from using pwndbg.typeinfo to a gdb
api function to prevent bugs when libc-dbg isn't installed
- Other minor changes
* Added some functionality for when libc-dbg is not present
- Added checks for finding symbols
* Ran isort on pwndbg
* Made few changes based on feedback from pull requests
- Cleaned up spaces_table
- Syntax changes
* Moved formatting code away from logic
- Moved format_bin from pwndbg.heap.ptmalloc to pwndbg.commands.heap
* Fixed bug in spaces_table for 32 bit archs
* Changed malloc_chunk command to display FASTBIN instead of PREV_INUSE
- Fixed local isort version problems
* Small bug fixes, tweaks, and added features list.
- Changed pwndbg.chain.format to use the offset for the very last
index in the chain.
- Fixed bug with ptmalloc's main_arena property.
- Added images to cap and links to FEATURES.md.
- Changed bin commands to print hex instead of base 10.
* Modified docstring to match other docstrings in pwndbg
* Memoize properties, fix merge conflicst, fix constants
- Moved the macros from the constants directory into the Heap
class, left the constants there.
- Switched from lazy loading to the memoize events.
* Fixed double spaces after images from a previous pull request.
* Added more examples to FEATURES.md for heaps
* Fix typos in FEATURES.md
* 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