Came across this today Windows Control Flow Enforcement Technology (CET) Internals in Windows 20H1:
https://windows-internals.com/cet-on-windows/ (https://windows-internals.com/cet-on-windows/)
Big truth:
QuoteConclusion
The implementation of CET and its related mitigations are a major step towards eliminating the use of ROP and other control flow hijacking techniques. Control flow integrity is obviously a complicated topic, which will probably get even more complex as additional mitigations are added to it in the future.
Biterider
Yes, lots of logic in checking and verifying at various stages, but an interesting topic nonetheless.