https://github.com/p0dalirius/objectwalker
A python module to explore the object tree to extract paths to interesting objects in memory.
https://github.com/p0dalirius/objectwalker
graph module object path python search
Last synced: 10 months ago
JSON representation
A python module to explore the object tree to extract paths to interesting objects in memory.
- Host: GitHub
- URL: https://github.com/p0dalirius/objectwalker
- Owner: p0dalirius
- Created: 2023-04-26T07:29:32.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2025-01-31T14:15:29.000Z (about 1 year ago)
- Last Synced: 2025-04-13T00:48:26.150Z (10 months ago)
- Topics: graph, module, object, path, python, search
- Language: Python
- Homepage: https://podalirius.net/
- Size: 2.52 MB
- Stars: 91
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
Awesome Lists containing this project
README

A python module to explore the object tree to extract paths to interesting objects in memory.
## Features
- [x] Python module to use in pdb after a `breakpoint()`.
- [x] Standalone tool to explore paths in python modules.
- [x] Multiple built-in filters.
- [x] Possibility to implement custom filters and pass them to ObjectWalker().
## Demonstration
https://github.com/p0dalirius/objectwalker/assets/79218792/179f4f27-12aa-4a88-8a82-122712ffd594
## Installation
You can now install it from pypi (latest version is
) with this command:
```
sudo python3 -m pip install objectwalker
```
## Example commands
+ We want to find all the paths to the `os` module in the module `jinja2`:
```
objectwalker -m jinja2 --filter-module os --max-depth 15
```
We get the following output:

## Contributing
Pull requests are welcome. Feel free to open an issue if you want to add other features.