LB Booster
General >> General Board >> Data Execution Prevention
http://lbb.conforums.com/index.cgi?board=general&action=display&num=1499546457

Data Execution Prevention
Post by Richard Russell on Jul 8th, 2017, 8:40pm

Carl has written this at the LB Community forum: "I think the solution is for Microsoft to make such things as DEP either trivially easy to deal with, or to eliminate them.". DEP is "trivially easy to deal with": don't execute code in memory that isn't executable!

When you allocate memory with VirtualAlloc you specify in the flProtect parameter whether you want the allocated memory to be executable (PAGE_EXECUTE) or not. If you don't, and subsequently try to execute code there (and DEP is enabled), it will fail.

This is not complicated. LBB is fully compatible with DEP, without any special measures being necessary, other than to allocate memory appropriately.

Richard.