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
Release files for raydbg 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| raydbg-0.1.0.tar.gz | 10.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| raydbg-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 23.9 kB
Release files / raydbg-0.1.0.tar.gz
| Download URL | raydbg-0.1.0.tar.gz |
|---|---|
| Size | 10.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
21b9a628d55f73c0b4a006ec5d4405b0f8cbb6f8700dfc933b9391c3d8e5bace
|
|
BLAKE2b-256 checksum How to use checksums |
1e56a3f823d5474acda61c337006207e55131339b089aee04b7efe0facd799e6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.3
|
Release files / raydbg-0.1.0-py3-none-any.whl
| Download URL | raydbg-0.1.0-py3-none-any.whl |
|---|---|
| Size | 13.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8e5097d5a3a0e61a05b7c06bcc496cd410e33721df30f5ca75c0b9794eb00db4
|
|
BLAKE2b-256 checksum How to use checksums |
466af98d3a76fdafd3158b3c29fc4a384c1cbf33edab0f4e3845dd20cb9469af
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.3
|