sylveon / member_thunk

Dynamically creates executable code to allow C callbacks to call C++ member functions without the need for a user data parameter
MIT License
13 stars 2 forks source link

Investigate Control Flow Guard compatibility #7

Closed sylveon closed 4 years ago

sylveon commented 4 years ago

CFG has a built-in exception for blocks of memory which have execute rights, but we should still call https://docs.microsoft.com/en-us/windows/win32/api/memoryapi/nf-memoryapi-setprocessvalidcalltargets when possible.

sylveon commented 4 years ago

While code is present, it always fails, need to figure out why

sylveon commented 4 years ago

https://github.com/MicrosoftDocs/sdk-api/pull/442 implemented locally