#solana #programs #inspecting #suite #disassemble #graph #snoop

app snoop-cli

A tool suite for inspecting Solana programs

1 unstable release

0.1.0 Sep 25, 2024

#5 in #disassemble

Download history 162/week @ 2024-09-19 52/week @ 2024-09-26 13/week @ 2024-10-03

227 downloads per month

MIT license

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