Lines Matching refs:DataFlowSanitizer
182 class DataFlowSanitizer : public ModulePass { class
275 DataFlowSanitizer(
284 DataFlowSanitizer &DFS;
287 DataFlowSanitizer::InstrumentedABI IA;
307 DFSanFunction(DataFlowSanitizer &DFS, Function *F, bool IsNativeABI) in DFSanFunction()
358 char DataFlowSanitizer::ID;
359 INITIALIZE_PASS(DataFlowSanitizer, "dfsan",
366 return new DataFlowSanitizer(ABIListFiles, getArgTLS, getRetValTLS); in createDataFlowSanitizerPass()
369 DataFlowSanitizer::DataFlowSanitizer( in DataFlowSanitizer() function in DataFlowSanitizer
380 FunctionType *DataFlowSanitizer::getArgsFunctionType(FunctionType *T) { in getArgsFunctionType()
391 FunctionType *DataFlowSanitizer::getTrampolineFunctionType(FunctionType *T) { in getTrampolineFunctionType()
403 FunctionType *DataFlowSanitizer::getCustomFunctionType(FunctionType *T) { in getCustomFunctionType()
426 bool DataFlowSanitizer::doInitialization(Module &M) { in doInitialization()
491 bool DataFlowSanitizer::isInstrumented(const Function *F) { in isInstrumented()
495 bool DataFlowSanitizer::isInstrumented(const GlobalAlias *GA) { in isInstrumented()
499 DataFlowSanitizer::InstrumentedABI DataFlowSanitizer::getInstrumentedABI() { in getInstrumentedABI()
503 DataFlowSanitizer::WrapperKind DataFlowSanitizer::getWrapperKind(Function *F) { in getWrapperKind()
514 void DataFlowSanitizer::addGlobalNamePrefix(GlobalValue *GV) { in addGlobalNamePrefix()
534 DataFlowSanitizer::buildWrapperFunction(Function *F, StringRef NewFName, in buildWrapperFunction()
571 Constant *DataFlowSanitizer::getOrBuildTrampolineFunction(FunctionType *FT, in getOrBuildTrampolineFunction()
604 bool DataFlowSanitizer::runOnModule(Module &M) { in runOnModule()
904 case DataFlowSanitizer::IA_TLS: { in getShadow()
913 case DataFlowSanitizer::IA_Args: { in getShadow()
937 Value *DataFlowSanitizer::getShadowAddress(Value *Addr, Instruction *Pos) { in getShadowAddress()
1383 case DataFlowSanitizer::IA_TLS: { in visitReturnInst()
1389 case DataFlowSanitizer::IA_Args: { in visitReturnInst()
1426 case DataFlowSanitizer::WK_Warning: { in visitCallSite()
1433 case DataFlowSanitizer::WK_Discard: { in visitCallSite()
1438 case DataFlowSanitizer::WK_Functional: { in visitCallSite()
1443 case DataFlowSanitizer::WK_Custom: { in visitCallSite()
1536 if (DFSF.DFS.getInstrumentedABI() == DataFlowSanitizer::IA_TLS) { in visitCallSite()
1558 if (DFSF.DFS.getInstrumentedABI() == DataFlowSanitizer::IA_TLS) { in visitCallSite()
1569 if (DFSF.DFS.getInstrumentedABI() == DataFlowSanitizer::IA_Args) { in visitCallSite()