dnlib icon indicating copy to clipboard operation
dnlib copied to clipboard

Reads and writes .NET assemblies and modules

Results 36 dnlib issues
Sort by recently updated
recently updated
newest added

I'm exploring. A dll file compiled using dotNet on a Mac with Apple Silicon processors. I open the file in [dnSpyEx](https://github.com/dnSpyEx/dnSpy/) v6.5.0 and then just try to save the module...

We've noticed that your package on NuGet.org is missing a README file. ## Why READMEs are Important Our customer research indicates that one of the top problems that package consumers...

enhancement

In the research I conducted, I realized that the RVA value depends on "DataDirectories.Length" which can be observed in the path "moduleDefMD.Metadata.PEImage.ImageNTHeaders.OptionalHeader". example : ```Csharp ModuleContext _modCtx = ModuleDef.CreateModuleContext(); ModuleDefMD...

ModuleDefMD.Load("test.exe"); //exception: .NET data directory RVA is 0 test.exe is .net8.0 windows ,publish by Single File Executable, but ILSpy load test.exe is ok

If you try to save a R2R linux mixed module dnlib run on an exception. `dnlib.DotNet.Writer.ModuleWriterException: Invalid section RVA` The module is published with: `dotnet publish -c Release -r linux-x64...

When stringHeap is empty, dnlib will skip it, but Unity's mono will force the heap to be read. In this case, the pdb file generated by dnlib will crash when...

Why not return in methods such as SimplifyMacros and OptimizeMacros the source i.e itself (instructions), as well as SimplifyBranches, OptimizeBranches, and UpdateInstructionOffsets I could implement it if you don't mind

Hello, I wanted to move a code from [Asmresolver](https://github.com/Washi1337/AsmResolver) to [dnlib](https://github.com/0xd4d/dnlib) but apparently `NativeMethodBody` doesn't contain any way to get its own code ? Do you need a PR to...