• Home
  • Raw
  • Download

Lines Matching refs:IsWrite

480   Value *isInterestingMemoryAccess(Instruction *I, bool *IsWrite,
486 Value *Addr, uint32_t TypeSize, bool IsWrite,
489 uint32_t TypeSize, bool IsWrite,
495 bool IsWrite, size_t AccessSizeIndex,
938 bool *IsWrite, in isInterestingMemoryAccess() argument
948 *IsWrite = false; in isInterestingMemoryAccess()
954 *IsWrite = true; in isInterestingMemoryAccess()
960 *IsWrite = true; in isInterestingMemoryAccess()
966 *IsWrite = true; in isInterestingMemoryAccess()
1031 bool IsWrite = false; in instrumentMop() local
1034 Value *Addr = isInterestingMemoryAccess(I, &IsWrite, &TypeSize, &Alignment); in instrumentMop()
1070 if (IsWrite) in instrumentMop()
1081 return instrumentAddress(I, I, Addr, TypeSize, IsWrite, nullptr, UseCalls, in instrumentMop()
1083 instrumentUnusualSizeOrAlignment(I, Addr, TypeSize, IsWrite, nullptr, in instrumentMop()
1088 Value *Addr, bool IsWrite, in generateCrashCode() argument
1097 Call = IRB.CreateCall(AsanErrorCallbackSized[IsWrite][0], in generateCrashCode()
1100 Call = IRB.CreateCall(AsanErrorCallbackSized[IsWrite][1], in generateCrashCode()
1105 IRB.CreateCall(AsanErrorCallback[IsWrite][0][AccessSizeIndex], Addr); in generateCrashCode()
1107 Call = IRB.CreateCall(AsanErrorCallback[IsWrite][1][AccessSizeIndex], in generateCrashCode()
1138 uint32_t TypeSize, bool IsWrite, in instrumentAddress() argument
1147 IRB.CreateCall(AsanMemoryAccessCallback[IsWrite][0][AccessSizeIndex], in instrumentAddress()
1150 IRB.CreateCall(AsanMemoryAccessCallback[IsWrite][1][AccessSizeIndex], in instrumentAddress()
1189 Instruction *Crash = generateCrashCode(CrashTerm, AddrLong, IsWrite, in instrumentAddress()
1199 Instruction *I, Value *Addr, uint32_t TypeSize, bool IsWrite, in instrumentUnusualSizeOrAlignment() argument
1206 IRB.CreateCall(AsanMemoryAccessCallbackSized[IsWrite][0], in instrumentUnusualSizeOrAlignment()
1209 IRB.CreateCall(AsanMemoryAccessCallbackSized[IsWrite][1], in instrumentUnusualSizeOrAlignment()
1215 instrumentAddress(I, I, Addr, 8, IsWrite, Size, false, Exp); in instrumentUnusualSizeOrAlignment()
1216 instrumentAddress(I, I, LastByte, 8, IsWrite, Size, false, Exp); in instrumentUnusualSizeOrAlignment()
1797 bool IsWrite; in runOnFunction() local
1810 if (Value *Addr = isInterestingMemoryAccess(&Inst, &IsWrite, &TypeSize, in runOnFunction()
1853 if (isInterestingMemoryAccess(Inst, &IsWrite, &TypeSize, &Alignment)) in runOnFunction()