17 #ifndef LLVM_CODEGEN_STACKPROTECTOR_H 18 #define LLVM_CODEGEN_STACKPROTECTOR_H 34 class TargetLoweringBase;
63 unsigned SSPBufferSize = 0;
72 bool HasPrologue =
false;
75 bool HasIRCheck =
false;
83 bool InsertStackProtectors();
95 bool ContainsProtectableArray(
Type *Ty,
bool &IsLarge,
bool Strong =
false,
96 bool InStruct =
false)
const;
103 bool RequiresStackProtector();
124 #endif // LLVM_CODEGEN_STACKPROTECTOR_H Type
MessagePack types as defined in the standard, with the exception of Integer being divided into a sign...
static PassRegistry * getPassRegistry()
getPassRegistry - Access the global registry object, which is automatically initialized at applicatio...
This class represents lattice values for constants.
A Module instance is used to store all the information related to an LLVM module. ...
void copyToMachineFrameInfo(MachineFrameInfo &MFI) const
The MachineFrameInfo class represents an abstract stack frame until prolog/epilog code is inserted...
Concrete subclass of DominatorTreeBase that is used to compute a normal dominator tree...
bool runOnFunction(Function &Fn) override
runOnFunction - Virtual method overriden by subclasses to do the per-function processing of the pass...
void getAnalysisUsage(AnalysisUsage &AU) const override
getAnalysisUsage - This function should be overriden by passes that need analysis information to do t...
LLVM Basic Block Representation.
The instances of the Type class are immutable: once they are created, they are never changed...
Represent the analysis usage information of a pass.
FunctionPass class - This class is used to implement most global optimizations.
Triple - Helper class for working with autoconf configuration names.
This base class for TargetLowering contains the SelectionDAG-independent parts that can be used from ...
SmallPtrSet - This class implements a set which is optimized for holding SmallSize or less elements...
SSPLayoutKind
Stack Smashing Protection (SSP) rules require that vulnerable stack allocations are located close the...
void initializeStackProtectorPass(PassRegistry &)
Primary interface to the complete machine description for the target machine.
bool shouldEmitSDCheck(const BasicBlock &BB) const
an instruction to allocate memory on the stack