[PATCH] Implement Control Flow Integrity for virtual calls.

Peter Collingbourne peter at pcc.me.uk
Fri Feb 6 15:48:49 PST 2015


In my opinion, adding checks in LLVM would add significant complexity and/or require changing axioms relating to how IR is transformed. The transform to move the check after devirtualization would be relatively simple.

> Also: if we want to do CFI for non-virtual indirect calls, will we be adding it in clang or in llvm?


We would presumably be emitting the checks in clang.


http://reviews.llvm.org/D7424

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/






More information about the cfe-commits mailing list