* added options to specify the num of lines to disass and heuristics for map/prog_idr
* partial recovery for structs relevant to bpf
* added kbpf command
* added array offset recovery
* added verbose option
* added disass support
* refactored
* added flags
* docs
* typos
* Fix NO_COLOR environment variable support
Implement proper NO_COLOR support by adding a nocolor function and
configuration trigger that dynamically replaces the colorize function's
behavior when colors are disabled. This approach avoids performance
overhead by modifying function behavior at runtime rather than adding
conditional checks to each colorize call.
Fixes#3142
* fixes
* Manually propagate register values across instructions while disassembling, allowing better annotations when emulation is unavailable
* Add comment
* More comments
* Comment
* Comment fix
* Local variable change
* Print register writes in instruction debug print
* Clear register set when encountering branch with undetermined result
* Update tests
* lint
* Fix dbg tests
* Update dev docs related to reasoning about process state
* klookup
* using lief to create a blank elf and add symbols to it
* added lief in dependencies
* doc
* fixed add_symbol_file
* changes to tuple
* fix tests
* fix compiler warnings
* fix div by 0 issue
* removed redundant bracket
* gracefully handle the case when `char_ptr` points to a string that contains none utf-8 chars
* handling `struct kmem_cache` recovery edge case
* improved slub warning message handling
* added emphasize
* slab free obj addr bound checking
* refactored a bit
* linting
* added head of list error handling
* updated error message
* cleaning up
* cleaning up
* Add parse-seccomp command using ceccomp or seccomp-tools
* Fix Typo
* generate doc for parse-seccomp command
* remove redundant variable
* move parse-seccomp from Commands.Misc to Commands.Linux
* Shouldn't use partial read, so set partial to be false
* fix mem for shared cache
* Fix handling of missing DYLD Shared Cache
* Fix `_dyld_get_shared_cache_range` it has first required first argument.
* Rever cache changes
---------
Co-authored-by: Matt. <4922458+mbrla0@users.noreply.github.com>
* Update to CapstoneV6 alpha 5
* Add riscv32 test
* Add loongarch64 test to ensure branch targets are resolved correctly
* Makefile cleanup
* Upgrade version of uv
* Implementing baseline glibc 2.42 support for #3264
* fixes#3264
* implement tcache_perthread_struct changes from https://elixir.bootlin.com/glibc/glibc-2.42/source/malloc/malloc.c#L3127
* implemented new num_slots decrement instead of counts increment: https://elixir.bootlin.com/glibc/glibc-2.42/source/malloc/malloc.c#L3129
* added warning for limited glibc 2.42 feature implementation
* removed unneded import for TCACHE_FILL_COUNT
* removed unneded import for message.color
* Heap.tcachebins new print warning once implementation
* binded print warning once for Heap.tcachebins to function instead of object
* set correct function path this time
* refactor property printer from class to functon
* allow color configs to have help_show_doc
* make default property printer colors configurable
* theme docs
* lint
* Refine `vmmap` based on shared cache information
* Remove support for partial overlaps of mappings with the shared cache
* Coaless contiguous vmmap ranges
* Omit Shared Cache entries in `vmmap` by default
* Remove nesting in _refine_memory_map
* Document differences between `aglib` and Debugger API `vmmap`
* Change display format
* implement ng-dump
* clarify index
* fix rebase
* add ability for a property to override color
* make color usage more consistent
* handle ansii in descriptions properly
* add ng-dump test
* finish rename
* add --meta-area flag to ng-dump
* remark on the coloring difference in the command description
* clarify nominal size on freed slots
* port test to lldb
* Update scripts/_docs/gen_docs_generic.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* fix function name change
* Update pwndbg/lib/pretty_print.py
* Update pwndbg/commands/mallocng.py
* lint
---------
Co-authored-by: Disconnect3d <dominik.b.czarnota@gmail.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Add colorful malloc/free output
* Enhanced coloring of ptrs to ensure each ptr retains it original color code
* Fixed linting error
* Fixed final linting errors
* Update pwndbg/gdblib/ptmalloc2_tracking.py
* Update pwndbg/gdblib/ptmalloc2_tracking.py
* Update ptmalloc2_tracking.py
* Made some changes to color pointers. Still needs work
* Colors are now cached in Tracker
* Simplify colorize_ptr
* fixup
* fixup
---------
Co-authored-by: Disconnect3d <dominik.b.czarnota@gmail.com>