1 unstable release
0.1.0 | Sep 25, 2024 |
---|
#7 in #inspecting
12KB
251 lines
snoop
A tool suite for inspecting Solana programs
Installation
Cargo
cargo install snoop-cli
Usage
snoop --help
Disassemble
Disassemble a compiled program binary, and print to stdout, or optionally write to a .s file
snoop disassemble <path-to-program-binary> -o <path-to-output-file>
Cfg
Inspect the program's config
snoop cfg <path-to-program-binary>
Graph
Generate a graphviz of a given program binary
snoop graph <path-to-program-binary>
Functions
View all functions defined in the binary
snoop graph <path-to-program-binary>
Credits
This project draws inspiration from the work of Dean Little and makes heavy use of theSolana Labs rBPF Toolkit.
Disclaimer
This project is a work in progress. Proceed with caution.
Dependencies
~7–16MB
~236K SLoC