REA Rust cdylib notes (unofficial)
Rust cdylib / dylib outputs are native shared libraries. Pair REA's Rust metadata honesty with native provider depth — no silent FFI decompiler product.
Mental model
- Confirm the
.so/.dylib/.dllis authorized. - Run built-in Rust static / auditable lanes when README says they apply (rea-go-rust-static).
- Quote exported symbol / panic strings you actually see.
- Escalate to a configured native provider for deeper decompilation.
- Stripped exports → rea-strip-symbols.
Minimal path
# authorized Rust shared library only
# rea <documented-rust-or-native-route> /absolute/path/libfoo.so --json
# record cargo-auditable crates and export names actually returned
Compare
| Artifact | Honest posture |
|---|---|
cdylib .so/.dylib/.dll | Native + optional auditable metadata |
| Rust executable | rea-rust-binaries |
| Go shared objects | Still native — see rea-go-binaries themes |
| Missing auditable blob | Record absence — do not invent crates |
Scope we will not cover
- No crack/license bypass for commercial products shipping Rust CDYs.
- No inventing
inspect_cdylib/ FFI demanglers upstream does not document. - No malware packer defeat cookbooks.
RepoRead is unofficial. Prefer binary-diagnostics + README Rust row.
FAQ
What is a Rust cdylib?
A crate type that emits a C-compatible dynamic library (.so / .dylib / .dll). REA should treat it as a native shared object, not a separate Rust-only product.
How is this different from rea-rust-binaries?
rea-rust-binaries covers Rust executables broadly. This page focuses on cdylib/dylib shared libraries and FFI export themes as Evidence facts.
Will cargo-auditable still appear?
When the library was built with auditable metadata, Evidence may include crate lists — same honesty rules as the Rust binaries page. Absence is not proof of an empty graph.
Is there inspect_cdylib?
No such first-class tool name is assumed in 6.7.0. Use documented native/static / Rust metadata lanes on the absolute path.
npm version checked?
rea-agents 6.7.0 (re-checked 2026-10-24).