New PM pass that implements kernel control-flow integrity.
Declared in <llvm/CodeGen/KCFI.h>
class MachineKCFIPass
: public RequiredPassInfoMixin<MachineKCFIPass>
For each call with a cfi-type attribute, emits an architecture-specific check before the call and bundles the check with the call.
| Name | Description |
|---|---|
RequiredPassInfoMixin<MachineKCFIPass> | A CRTP mix-in for passes that should not be skipped. |
| Name | Description |
|---|---|
run | Insert KCFI indirect call checks into MF. |
| Name | Description |
|---|---|
isRequired | Return true; required passes cannot be skipped. |