llvm::ConstantPtrAuth::isKnownCompatibleWith

Check whether authentication with Key and Discriminator is compatible.

Synopsis

Declared in <llvm/IR/Constants.h>

bool
isKnownCompatibleWith(
    Value const* Key,
    Value const* Discriminator,
    DataLayout const& DL) const;

Description

Returns true when an authentication operation with key Key and (possibly blended) discriminator Discriminator is known to be compatible with this ptrauth signed pointer.

Return Value

True if this pointer-auth constant is known compatible with the given key and discriminator.

Parameters

NameDescription
KeyThe authentication key.
DiscriminatorThe (possibly blended) discriminator.
DLThe data layout used for compatibility analysis.