16 #ifndef LLVM_CODEGEN_STACKPROTECTOR_H 17 #define LLVM_CODEGEN_STACKPROTECTOR_H 33 class TargetLoweringBase;
62 unsigned SSPBufferSize = 0;
71 bool HasPrologue =
false;
74 bool HasIRCheck =
false;
82 bool InsertStackProtectors();
94 bool ContainsProtectableArray(
Type *Ty,
bool &IsLarge,
bool Strong =
false,
95 bool InStruct =
false)
const;
102 bool RequiresStackProtector();
121 #endif // LLVM_CODEGEN_STACKPROTECTOR_H
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...
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