MCPcopy Index your code
hub / github.com/BenH11235/rust-re-tour

github.com/BenH11235/rust-re-tour @v1.0

Chat with this repo
repository ↗ · DeepWiki ↗ · release v1.0 ↗ · + Follow
74 symbols 116 edges 11 files 5 documented · 7%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Rust Binary Analysis, Feature by Feature

This is a companion git repository for the blog post "Rust Binary Analysis, Feature by Feature" (link will be available upon blog post's publication).

Usage

To build a sample program from source, you need cargo (basically for our purposes this is the Rust compiler). Clone the repository, then enter the directory of the program you are interested in (e.g. 0_basic_pl_concepts) and run cargo build. Alternately, the exact binaries analyzed in the blog post are available in the "releases" section of this repository.

Credits

Contributed by Check Point Software, 2023.

Extension points exported contracts — how you extend this code

Person (Interface)
interfaces [1 implementers]
2_advanced_type_system/src/main.rs
Person (Interface)
interfaces [1 implementers]
1_type_system/src/main.rs
QuacksLike (Interface)
(no doc) [1 implementers]
2_advanced_type_system/src/main.rs
Beatle (Interface)
(no doc)
1_type_system/src/main.rs
Algebra (Interface)
(no doc) [1 implementers]
2_advanced_type_system/src/main.rs
Song (Interface)
(no doc) [1 implementers]
2_advanced_type_system/src/main.rs

Core symbols most depended-on inside this repo

new
called by 8
1_type_system/src/main.rs
new
called by 6
2_advanced_type_system/src/main.rs
name
called by 3
1_type_system/src/main.rs
vec
called by 1
other_sample_programs/rosetta/src/main.rs
hashmap
called by 1
other_sample_programs/rosetta/src/main.rs
slice
called by 1
other_sample_programs/rosetta/src/main.rs
hashset
called by 1
other_sample_programs/rosetta/src/main.rs
float64
called by 1
other_sample_programs/rosetta/src/main.rs

Shape

Function 35
Method 13
Enum 12
Interface 8
Class 6

Languages

Rust100%

Modules by API surface

2_advanced_type_system/src/main.rs23 symbols
1_type_system/src/main.rs17 symbols
other_sample_programs/rosetta/src/main.rs14 symbols
other_sample_programs/sum_types/src/main.rs8 symbols
0_basic_pl_concepts/src/main.rs4 symbols
other_sample_programs/truly_pathological_sum_types/src/main.rs3 symbols
other_sample_programs/simple_cartesian_product_fully_randomized/src/main.rs1 symbols
other_sample_programs/simple_cartesian_product/src/main.rs1 symbols
other_sample_programs/prenatal_iterator_chain/src/main.rs1 symbols
other_sample_programs/more_sum_types/src/main.rs1 symbols
other_sample_programs/iterators/src/main.rs1 symbols

For agents

$ claude mcp add rust-re-tour \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page