Results 12 issues of wwh1004

### Input code ``` cs void Method1() { int i4 = 0; void* i = null; void* result = (void*)((byte*)i4 - (byte*)i); } ``` ### Erroneous output ```c# void Method1()...

Bug
Decompiler

Class3.Method6 ``` cs public unsafe static ref T Method6(ref T a) { return ref *(T*)(long)(IntPtr)InterpreterStub.Dispatch(0, 100663305, new object[1] { (IntPtr)System.Runtime.CompilerServices.Unsafe.AsPointer(ref a) }, new Type[1] { typeof(T) }, null); } public...

Enhancement

大佬请问你的api是通过抓包获取的吗 我想用vc++写一个体积小一点的 但是api不知道怎么搞 _Originally posted by @Seidko in https://github.com/wwh1004/NLyric/issues/11#issuecomment-1073261268_

使用--batch选项后出现的异常请到此issue反馈。 --update-only与--batch一起使用可以数秒内完成上千条歌词文件的更新!!!

enhancement

Feature list: 1. New assembly resolver: resolve .NET Core / .NET built-in libraries and '*.deps.json'. 2. Handle type forwarding in Importer: e.g. for 'netstandard.dll', use netstandard assembly ref not the...

On the one hand, it can make the code more stable, on the other hand, it can provide more examples of dnlib.

enhancement

### Steps to reproduce 1. Open a .NET bundle 2. Fails ### Error message shown ### Details LoadedAssembly.LoadAsync doesn't catch exceptions when thrown in "result = await loader.Load(fileName, stream, settings).ConfigureAwait(false);"....

Bug

Fixes https://github.com/TheWover/donut/issues/141

Just use demo .NET assembly and example usage, it doesn't work. ``` cs donut --arch:amd64 --class:TestClass --method:RunProcess --args:"notepad.exe calc" --input:DemoCreateProcess.dll ``` Until the shellcode is finished, RtlExitUserThread is not called...

Fix https://github.com/0xd4d/dnlib/issues/551 Test code for dynamic method with open generic: [DynamicTest.zip](https://github.com/0xd4d/dnlib/files/15244267/DynamicTest.zip) Test code for normal importing: See https://github.com/0xd4d/dnlib/pull/466 Description: This PR introduces a new constructor for Importer to enable open...