PROJECT // cradare2 // Libraries
High-performance radare2 pipe and binary analysis toolkit for Crystal with interactive debugging, source line mapping, and crash diagnosis.
cradare2 provides high-performance Crystal bindings and an interactive pipe client for the radare2 reverse-engineering framework.
Features:
- Comprehensive Pipe DSL: Typed APIs for memory reading/writing, instruction disassembly, flags, safe Base64 comments, and structured format parsing (
pfj). - Crystal Runtime Introspection: Inspects live runtime memory layouts of Crystal Strings, Array headers, Slice metadata, and Fiber stack addresses.
- Source Line to Assembly Matching: Resolves binary addresses to original Crystal source files and lines, generating compiler-grade interleaved source and disassembly listings.
- Live Crash Forensics: Attaches to target processes with automated root-cause crash diagnosis and demangled backtraces.
- In-Session
r2-crystalPlugin: Integrates into interactive radare2 terminal sessions with demangling, symbol navigation, and struct inspection commands.