-
Notifications
You must be signed in to change notification settings - Fork 586
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
InvalidOperationException when md rva isn't alignment #543
Comments
Why isn't it aligned? |
var module = ModuleDefMD.Load(@"test.exe");
module.NativeWrite("output.exe"); // InvalidOperationException |
What's wrong? |
I haven't looked at this yet, but if you know how to fix this, you can send a PR. |
No idea if alignment is requirement and how the alignment should be. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
dnlib/src/DotNet/Writer/Metadata.cs
Lines 3695 to 3736 in 71946df
this?
The text was updated successfully, but these errors were encountered: