A walk down memory lane(blog.trailofbits.com) |
A walk down memory lane(blog.trailofbits.com) |
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.
[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!