Generated cover.NET assembly library
dnlib: Read and write .NET modules, including method bodies
Category: Developer & security tools · Type: Analysis tool
Target: .NET assemblies and modules · C#
A .NET module/assembly reader/writer library written in C#. The README shows how to load a module from a file, a byte array, a stream, a memory address, or a System.Reflection.Module, using ModuleDefMD.Load and an optional ModuleContext. dnlib.DotNet.Emit is used when reading or writing method bodies. If the input is not a .NET module or assembly, a BadImageFormatException is thrown. The library is published on NuGet and is commonly used by other .NET reversing tools. This listing is for the library itself, not for de4dot.
Relationship
Independent reimplementation
Evidence scope
Upstream README describes dnlib as a .NET module/assembly reader/writer library, with load APIs and method-body support, published on NuGet. No REA involvement is claimed. This listing is for the library itself, not for de4dot.
Know before you try
The README notes that loading .NET Core assemblies may require disabling GAC loading and adding .NET Core reference-assembly search paths. Capability claims are upstream's; not personally verified beyond public README/LICENSE. We have not independently tested it.
Status
Maintained (not archived); tip pushed 2026-11-20; ~2502★
License
MIT
MIT covers this project. The library reads and writes user-supplied .NET assemblies; it does not ship those assemblies. Target programs stay under their owners' terms.
Source checked