LLVM API Documentation
#include "llvm/CodeGen/Passes.h"#include "llvm/Attributes.h"#include "llvm/Constants.h"#include "llvm/DerivedTypes.h"#include "llvm/Function.h"#include "llvm/Instructions.h"#include "llvm/Intrinsics.h"#include "llvm/Module.h"#include "llvm/Pass.h"#include "llvm/Support/CommandLine.h"#include "llvm/Target/TargetData.h"#include "llvm/Target/TargetLowering.h"
Go to the source code of this file.
Defines | |
| #define | DEBUG_TYPE "stack-protector" |
Functions | |
| FunctionPass * | llvm::createStackProtectorPass (const TargetLowering *tli) |
| createStackProtectorPass - This pass adds stack protectors to functions. | |
Variables | |
| static cl::opt< unsigned > | SSPBufferSize ("stack-protector-buffer-size", cl::init(8), cl::desc("Lower bound for a buffer to be considered for ""stack protection")) |
| static RegisterPass < StackProtector > | X ("stack-protector","Insert stack protectors") |
| #define DEBUG_TYPE "stack-protector" |
Definition at line 17 of file StackProtector.cpp.
| Function* F |
Definition at line 45 of file StackProtector.cpp.
char ID [static] |
Definition at line 64 of file StackProtector.cpp.
Definition at line 46 of file StackProtector.cpp.
cl::opt<unsigned> SSPBufferSize("stack-protector-buffer-size", cl::init(8), cl::desc("Lower bound for a buffer to be considered for ""stack protection")) [static] |
| const TargetLowering* TLI |
TLI - Keep a pointer of a TargetLowering to consult for determining target type sizes.
Definition at line 43 of file StackProtector.cpp.
RegisterPass<StackProtector> X("stack-protector","Insert stack protectors") [static] |