• Home
  • Raw
  • Download

Lines Matching refs:IsWrite

435   Value *isInterestingMemoryAccess(Instruction *I, bool *IsWrite,
441 Value *Addr, uint32_t TypeSize, bool IsWrite,
444 uint32_t TypeSize, bool IsWrite,
450 bool IsWrite, size_t AccessSizeIndex,
876 bool *IsWrite, in isInterestingMemoryAccess() argument
886 *IsWrite = false; in isInterestingMemoryAccess()
892 *IsWrite = true; in isInterestingMemoryAccess()
898 *IsWrite = true; in isInterestingMemoryAccess()
904 *IsWrite = true; in isInterestingMemoryAccess()
961 bool IsWrite = false; in instrumentMop() local
964 Value *Addr = isInterestingMemoryAccess(I, &IsWrite, &TypeSize, &Alignment); in instrumentMop()
1000 if (IsWrite) in instrumentMop()
1011 return instrumentAddress(I, I, Addr, TypeSize, IsWrite, nullptr, UseCalls, in instrumentMop()
1013 instrumentUnusualSizeOrAlignment(I, Addr, TypeSize, IsWrite, nullptr, in instrumentMop()
1018 Value *Addr, bool IsWrite, in generateCrashCode() argument
1027 Call = IRB.CreateCall(AsanErrorCallbackSized[IsWrite][0], in generateCrashCode()
1030 Call = IRB.CreateCall(AsanErrorCallbackSized[IsWrite][1], in generateCrashCode()
1035 IRB.CreateCall(AsanErrorCallback[IsWrite][0][AccessSizeIndex], Addr); in generateCrashCode()
1037 Call = IRB.CreateCall(AsanErrorCallback[IsWrite][1][AccessSizeIndex], in generateCrashCode()
1068 uint32_t TypeSize, bool IsWrite, in instrumentAddress() argument
1077 IRB.CreateCall(AsanMemoryAccessCallback[IsWrite][0][AccessSizeIndex], in instrumentAddress()
1080 IRB.CreateCall(AsanMemoryAccessCallback[IsWrite][1][AccessSizeIndex], in instrumentAddress()
1119 Instruction *Crash = generateCrashCode(CrashTerm, AddrLong, IsWrite, in instrumentAddress()
1129 Instruction *I, Value *Addr, uint32_t TypeSize, bool IsWrite, in instrumentUnusualSizeOrAlignment() argument
1136 IRB.CreateCall(AsanMemoryAccessCallbackSized[IsWrite][0], in instrumentUnusualSizeOrAlignment()
1139 IRB.CreateCall(AsanMemoryAccessCallbackSized[IsWrite][1], in instrumentUnusualSizeOrAlignment()
1145 instrumentAddress(I, I, Addr, 8, IsWrite, Size, false, Exp); in instrumentUnusualSizeOrAlignment()
1146 instrumentAddress(I, I, LastByte, 8, IsWrite, Size, false, Exp); in instrumentUnusualSizeOrAlignment()
1608 bool IsWrite; in runOnFunction() local
1619 if (Value *Addr = isInterestingMemoryAccess(&Inst, &IsWrite, &TypeSize, in runOnFunction()
1662 if (isInterestingMemoryAccess(Inst, &IsWrite, &TypeSize, &Alignment)) in runOnFunction()