REA Rust cdylib notes (unofficial)

Last updated: · By the RepoRead editorial team · Unofficial guide
Quick answer

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

  1. Confirm the .so/.dylib/.dll is authorized.
  2. Run built-in Rust static / auditable lanes when README says they apply (rea-go-rust-static).
  3. Quote exported symbol / panic strings you actually see.
  4. Escalate to a configured native provider for deeper decompilation.
  5. 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

ArtifactHonest posture
cdylib .so/.dylib/.dllNative + optional auditable metadata
Rust executablerea-rust-binaries
Go shared objectsStill native — see rea-go-binaries themes
Missing auditable blobRecord 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).

Sources