ilspy-cli
Installation
SKILL.md
ilspy-cli Agent Reference
Rust CLI for .NET decompilation using ILSpy (ICSharpCode.Decompiler). Binary name: ilspy.
Architecture
Rust CLI (clap) ──netcorehost FFI──► C# Bridge DLL (IlSpyBridge.dll) ──► ICSharpCode.Decompiler
- In-process: .NET runtime hosted inside the Rust binary via
netcorehostcrate - No server/daemon: each command loads the assembly, runs, exits
- Data exchange: JSON strings over FFI function pointers with
[UnmanagedCallersOnly] - Key differentiator: single-method decompilation (
--type T --method M), whichilspycmdcannot do
Requirements
- .NET 8 runtime (loaded by netcorehost at runtime)
- .NET 8 SDK (build time only, for
dotnet publishof the C# bridge)