A tool for debugging Ray programs
Project description
RayDBG
A tool for static and dynamic analysis of Ray programs, using LLM.
Installation
pip3 install raydbg
# Setup CodeQL (optional)
raydbg init
Usage
Make sure you have set OPENAI_KEY environment variable to your OpenAI API key if you want to use LLM for more accurate analysis.
You can also use --no-llm to disable LLM feature.
Static Analysis:
raydbg static --target <path_to_ray_file>
Dynamic Analysis:
raydbg dynamic --target <path_to_ray_file>
Example
git clone https://github.com/shouc/raydbg.git
cd raydbg
Run static analysis:
raydbg static --target examples/pi.py
Run dynamic analysis:
raydbg dynamic --target examples/pi.py
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file raydbg-0.1.0.tar.gz.
File metadata
- Download URL: raydbg-0.1.0.tar.gz
- Upload date:
- Size: 10.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
21b9a628d55f73c0b4a006ec5d4405b0f8cbb6f8700dfc933b9391c3d8e5bace
|
|
| MD5 |
73d842dc2d3bb7ad317b813854d47315
|
|
| BLAKE2b-256 |
1e56a3f823d5474acda61c337006207e55131339b089aee04b7efe0facd799e6
|
File details
Details for the file raydbg-0.1.0-py3-none-any.whl.
File metadata
- Download URL: raydbg-0.1.0-py3-none-any.whl
- Upload date:
- Size: 13.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8e5097d5a3a0e61a05b7c06bcc496cd410e33721df30f5ca75c0b9794eb00db4
|
|
| MD5 |
2ed94d91bd9685581a4a5f342b07cec8
|
|
| BLAKE2b-256 |
466af98d3a76fdafd3158b3c29fc4a384c1cbf33edab0f4e3845dd20cb9469af
|