Jump to content
Tuts 4 You

PAGE_EXECUTE allows for PAGE_READONLY access?


ra1n

Recommended Posts

Posted

I'm trying to set a page of memory to PAGE_EXECUTE only, I don't want any reads or writes to be possible to this page. However, after setting the page protection to PAGE_EXECUTE, read attempts can freely be made. I assume this has something to do with the CPU needing to fetch instructions from the RAM? anyway, is there any way that I can accomplish my goals here? that is: can I set a page to execute only such that no read or write attempts can be made on said page?

  • Like 1
  • 5 months later...
Posted

Why does this feel like a response generated by ChatGPT? :kick:

Teddy Rogers
Posted
6 hours ago, kao said:

Why does this feel like a response generated by ChatGPT?

Yes, that was an automated response...

Ted.

  • Like 1

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...