Пример #1
0
 /// <summary>Adds a DataFlow Sanitizer Module pass</summary>
 /// <param name="passManager">Pass manager to add the pass to</param>
 /// <param name="abiListFile">ABI List Files</param>
 /// <returns><paramref name="passManager"/>for fluent support</returns>
 public static ModulePassManager AddDataFlowSanitizerPass(this ModulePassManager passManager, string[] abiListFile)
 {
     LibLLVMAddDataFlowSanitizerPass(passManager.Handle, abiListFile.Length, abiListFile);
     return(passManager);
 }
Пример #2
0
 /// <summary>Adds an Address Sanitizer Function pass</summary>
 /// <param name="passManager">Pass manager to add the pass to</param>
 /// <returns><paramref name="passManager"/>for fluent support</returns>
 public static ModulePassManager AddSanitizerPass(this ModulePassManager passManager)
 {
     LibLLVMAddAddressSanitizerModulePass(passManager.Handle);
     return(passManager);
 }