Intel's HTM and CET are both very exciting developments.
Now that both clang and Visual Studio have mainlined control flow integrity, it can be made fast using hardware.
It looks like CET matches the Microsoft implementation of CFI more (according to [1] they worked together on the feature), I'm sure it'd be useful for clang as well.
2 comments
[ 4.3 ms ] story [ 19.4 ms ] threadNow that both clang and Visual Studio have mainlined control flow integrity, it can be made fast using hardware.
It looks like CET matches the Microsoft implementation of CFI more (according to [1] they worked together on the feature), I'm sure it'd be useful for clang as well.
[1]. https://software.intel.com/en-us/blogs/2016/06/09/intel-rele...
> We can begin a (hardware) transaction just before a function return instruction, and end the transaction at its intended destination.
Interesting indeed!