[PATCH] D65761: Add Windows Control Flow Guard checks (/guard:cf).

Reid Kleckner via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Dec 5 18:06:49 PST 2019


rnk added a comment.

In D65761#1766993 <https://reviews.llvm.org/D65761#1766993>, @dmajor wrote:

> Are there any plans to implement `__declspec(guard(nocf))` or an equivalent mechanism? `__attribute__((nocf_check))` doesn't do anything without the -fcf-protection flag. (https://bugs.llvm.org/show_bug.cgi?id=44096)


I think `-fcf-protection` and `__attribute__((nocf_check))` have to do with CET and Intel's endbranch instruction or what have you. Similar goals, different implementation. I think at this point it's "patches welcome". =S


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D65761/new/

https://reviews.llvm.org/D65761





More information about the cfe-commits mailing list