selfrando icon indicating copy to clipboard operation
selfrando copied to clipboard

Support CFG on Windows together with Selfrando

Open ahomescu opened this issue 7 years ago • 0 comments

On Windows programs with Control Flow Guard enabled, we may start seeing crashes due to CFG violations after shuffling functions. We should fix this by marking the new function locations as valid CFG targets (and perhaps even mark the old locations as invalid targets). One way to do this is with the SetProcessValidCallTargets function, which we should look into.

ahomescu avatar Mar 10 '17 23:03 ahomescu