AsmResolver is a comprehensive library for creating, reading, modifying, and reconstructing Portable Executable (PE) files and .NET modules.
A library for creating, reading and editing PE files and .NET modules.
AsmResolver is primarily used by developers and security researchers who need to analyze, manipulate, or patch PE files and .NET assemblies programmatically. It is ideal for tasks such as PE file editing, metadata manipulation, and binary patching in both native and managed Windows applications.
Running tests on non-Windows platforms requires installation of mono and wine. The library supports a wide range of .NET runtimes including legacy and current LTS versions, making it versatile for cross-platform PE and .NET module manipulation. Users should ensure compatibility with their target .NET versions when integrating AsmResolver.
Ensure .NET SDK is installed (compatible with .NET 3.5, .NET Standard 2.0/2.1, .NET Core 3.1, .NET 6.0, .NET 8.0)
Clone the repository or add AsmResolver via NuGet package manager
To build from source, run: dotnet build
To run unit tests, run: dotnet test (requires additional .NET versions, mono, and wine on MacOS/Linux)
dotnet build
Builds the AsmResolver solution using the .NET SDK
dotnet test
Runs all unit tests to verify functionality across multiple .NET runtimes