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

get_physical_address() failing win10 2004/10.0.19041.1 #28

Open
VMHolePuncher opened this issue Jul 20, 2023 · 3 comments
Open

get_physical_address() failing win10 2004/10.0.19041.1 #28

VMHolePuncher opened this issue Jul 20, 2023 · 3 comments
Labels
bug Something isn't working

Comments

@VMHolePuncher
Copy link

If the hv is loaded after the system has some runtime on it, the function get_physical_address in the example um project fails. I am unable to check if it is actually get_hv_base that is failing at the moment, but I will update the issue with the results.

@jonomango
Copy link
Owner

Sorry, the example in the um project won't work. It is leftover code from when I was debugging EAC and that virtual address is most likely invalid.

@jonomango
Copy link
Owner

The hv_size variable is probably wrong then. It should be set to the SizeOfImage for the compiled hv.sys. You can find this with PE-Bear or a similar tool. If the issue still occurs even with the correct size, then I'll re-open the issue.

@VMHolePuncher
Copy link
Author

I've check with PE-Bear and the SizeOfImage is the same as in the example.

@jonomango jonomango reopened this Jul 20, 2023
@jonomango jonomango added the bug Something isn't working label Jul 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants