Skip to content
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

AntiDump issue x64 #8

Closed
bbday opened this issue Oct 19, 2022 · 1 comment
Closed

AntiDump issue x64 #8

bbday opened this issue Oct 19, 2022 · 1 comment

Comments

@bbday
Copy link

bbday commented Oct 19, 2022

Look like there is issue with AntiDump() when i force x64 solution

var dwpeheader = System.Runtime.InteropServices.Marshal.ReadInt32((IntPtr)(base_address.ToInt32() + 0x3C));
Aritmetic overflow

Is it possible to fix this function for x64 runtime?
thanks

@Mecanik
Copy link
Owner

Mecanik commented Jan 16, 2023

System.Runtime.InteropServices.Marshal.ReadInt32

Yes, well x32 bit address is smaller than x64 address. As you can see the function called is ReadInt32, so try to use ReadInt64 instead.

@Mecanik Mecanik closed this as completed Aug 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants