llvm::MachineKCFIPass

New PM pass that implements kernel control-flow integrity.

Synopsis

Declared in <llvm/CodeGen/KCFI.h>

class MachineKCFIPass
    : public RequiredPassInfoMixin<MachineKCFIPass>

Description

For each call with a cfi-type attribute, emits an architecture-specific check before the call and bundles the check with the call.

Base Classes

NameDescription
RequiredPassInfoMixin<MachineKCFIPass>A CRTP mix-in for passes that should not be skipped.

Member Functions

NameDescription
run Insert KCFI indirect call checks into MF.

Static Member Functions

NameDescription
isRequired Return true; required passes cannot be skipped.