/external/llvm-project/compiler-rt/lib/dfsan/ |
D | dfsan.cpp | 492 if (!MmapFixedNoReserve(ShadowAddr(), UnusedAddr() - ShadowAddr())) in dfsan_flush() 501 if (!MmapFixedSuperNoReserve(ShadowAddr(), UnusedAddr() - ShadowAddr())) in dfsan_init() 504 DontDumpShadowMemory(ShadowAddr(), UnusedAddr() - ShadowAddr()); in dfsan_init()
|
D | dfsan_platform.h | 94 uptr ShadowAddr() { in ShadowAddr() function
|
/external/llvm-project/llvm/lib/Transforms/Instrumentation/ |
D | DataFlowSanitizer.cpp | 481 Value *loadShadow(Value *ShadowAddr, uint64_t Size, uint64_t Align, 1332 Value *ShadowAddr = DFS.getShadowAddress(Addr, Pos); in loadShadow() local 1337 LoadInst *LI = new LoadInst(DFS.PrimitiveShadowTy, ShadowAddr, "", Pos); in loadShadow() 1343 Value *ShadowAddr1 = IRB.CreateGEP(DFS.PrimitiveShadowTy, ShadowAddr, in loadShadow() 1346 IRB.CreateAlignedLoad(DFS.PrimitiveShadowTy, ShadowAddr, ShadowAlign), in loadShadow() 1358 IRB.CreateBitCast(ShadowAddr, Type::getInt64PtrTy(*DFS.Ctx)); in loadShadow() 1383 {ShadowAddr, ConstantInt::get(DFS.IntptrTy, Size)}); in loadShadow() 1390 IRB.CreateBitCast(ShadowAddr, Type::getInt64PtrTy(*DFS.Ctx)); in loadShadow() 1445 UnionLoadFn, {ShadowAddr, ConstantInt::get(DFS.IntptrTy, Size)}); in loadShadow() 1489 Value *ShadowAddr = DFS.getShadowAddress(Addr, Pos); in storeShadow() local [all …]
|
D | MemProfiler.cpp | 484 Value *ShadowAddr = IRB.CreateIntToPtr(ShadowPtr, ShadowPtrTy); in instrumentAddress() local 485 Value *ShadowValue = IRB.CreateLoad(ShadowTy, ShadowAddr); in instrumentAddress() 488 IRB.CreateStore(ShadowValue, ShadowAddr); in instrumentAddress()
|
/external/compiler-rt/lib/dfsan/ |
D | dfsan_platform.h | 86 uptr ShadowAddr() { in ShadowAddr() function
|
D | dfsan.cc | 406 MmapFixedNoReserve(ShadowAddr(), UnusedAddr() - ShadowAddr()); in dfsan_init()
|
/external/llvm/lib/Transforms/Instrumentation/ |
D | DataFlowSanitizer.cpp | 323 Value *loadShadow(Value *ShadowAddr, uint64_t Size, uint64_t Align, 1076 Value *ShadowAddr = DFS.getShadowAddress(Addr, Pos); in loadShadow() local 1081 LoadInst *LI = new LoadInst(ShadowAddr, "", Pos); in loadShadow() 1087 Value *ShadowAddr1 = IRB.CreateGEP(DFS.ShadowTy, ShadowAddr, in loadShadow() 1089 return combineShadows(IRB.CreateAlignedLoad(ShadowAddr, ShadowAlign), in loadShadow() 1101 {ShadowAddr, ConstantInt::get(DFS.IntptrTy, Size)}); in loadShadow() 1108 IRB.CreateBitCast(ShadowAddr, Type::getInt64PtrTy(*DFS.Ctx)); in loadShadow() 1158 DFS.DFSanUnionLoadFn, {ShadowAddr, ConstantInt::get(DFS.IntptrTy, Size)}); in loadShadow() 1205 Value *ShadowAddr = DFS.getShadowAddress(Addr, Pos); in storeShadow() local 1210 IRB.CreateBitCast(ShadowAddr, PointerType::getUnqual(ShadowTy)); in storeShadow() [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Instrumentation/ |
D | DataFlowSanitizer.cpp | 425 Value *loadShadow(Value *ShadowAddr, uint64_t Size, uint64_t Align, 1213 Value *ShadowAddr = DFS.getShadowAddress(Addr, Pos); in loadShadow() local 1218 LoadInst *LI = new LoadInst(DFS.ShadowTy, ShadowAddr, "", Pos); in loadShadow() 1224 Value *ShadowAddr1 = IRB.CreateGEP(DFS.ShadowTy, ShadowAddr, in loadShadow() 1227 IRB.CreateAlignedLoad(DFS.ShadowTy, ShadowAddr, ShadowAlign), in loadShadow() 1239 {ShadowAddr, ConstantInt::get(DFS.IntptrTy, Size)}); in loadShadow() 1246 IRB.CreateBitCast(ShadowAddr, Type::getInt64PtrTy(*DFS.Ctx)); in loadShadow() 1298 DFS.DFSanUnionLoadFn, {ShadowAddr, ConstantInt::get(DFS.IntptrTy, Size)}); in loadShadow() 1344 Value *ShadowAddr = DFS.getShadowAddress(Addr, Pos); in storeShadow() local 1349 IRB.CreateBitCast(ShadowAddr, PointerType::getUnqual(ShadowTy)); in storeShadow() [all …]
|