[PATCH] D76900: Enable IBT(Indirect Branch Tracking) in JIT with CET(Control-flow Enforcement Technology)

H.J Lu via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 30 04:50:25 PDT 2020


hjl.tools added a comment.

In D76900#1949402 <https://reviews.llvm.org/D76900#1949402>, @xiangzhangllvm wrote:

> If "1 Check CET in JIT instead of checking -fcf-protection-branch" can't let VNC passed. The crash must happen at "Take address of a internal function."
>
> This is not a IBT problem only for JIT, but also the static llvm compiler, e.g. llc.
>  And it may unable to track these calling through function address, because these function address may be calculated out in runtime or written in a big table.


It will be very nice to extract a testcase from Mesa.  This bug may be harmless without CET,
but it is fatal with CET.


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

https://reviews.llvm.org/D76900





More information about the llvm-commits mailing list