-
-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
i can't call demo method,it report: System.AccessViolationException #36
Comments
Which version of the library are you using? The prerelease versions have known problems. |
Latest version |
The latest version has bugs (#34) You might want to use MemoryModule.NET version 0.1.0 on NuGet instead. |
i try 0.1.0, but it has the same problem maybe someting is wrong? |
https://github.com/wwh1004/MemoryModule, it works fine |
It seems like my implementation is getting the wrong address, off by 0x10000 bytes. I am looking into this, haven't touched this code for quite a long time. |
Your example works fine on my new branch (https://github.com/trungnt2910/MemoryModule.NET/tree/dev/trungnt2910/Abstractions), where I wrote the PE loader from scratch. My old branch was ported from the old MemoryModule C code, and to be honest I don't really understand what it is. The new one was created from scratch using a new design. The only problem preventing this branch to be merged into master is #34. The approach of hooking TLS functions seems to not work on Windows since Windows does not have a dedicated function for TLS handling, instead Windows applications directly access the segment registers FS and GS. I do not currently have much time to work on this project, but I would be grateful if you have any suggestions on how to fix this particular issue on the master branch. |
I hope to load dll with minimal code, MemoryModuleLite looks good |
I am aware of that repo, seems like it requires hooking some low-level thread lifetime functions that I don't understand yet. |
Sorry for the delay, but this issue should be fixed in the latest version. Please check the NuGet library for the latest review. |
project(vs2022 ,net framework 4.72)
demo.zip
Did I make any mistake?
The text was updated successfully, but these errors were encountered: