Home
last modified time | relevance | path

Searched refs:MemoryMappingLayout (Results 1 – 17 of 17) sorted by relevance

/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_procmaps_mac.cc24 MemoryMappingLayout::MemoryMappingLayout(bool cache_enabled) { in MemoryMappingLayout() function in __sanitizer::MemoryMappingLayout
28 MemoryMappingLayout::~MemoryMappingLayout() { in ~MemoryMappingLayout()
45 void MemoryMappingLayout::Reset() { in Reset()
59 void MemoryMappingLayout::CacheMemoryMappings() { in CacheMemoryMappings()
63 void MemoryMappingLayout::LoadFromCache() { in LoadFromCache()
75 bool MemoryMappingLayout::NextSegmentLoad( in NextSegmentLoad()
105 bool MemoryMappingLayout::Next(uptr *start, uptr *end, uptr *offset, in Next()
158 void MemoryMappingLayout::DumpListOfModules( in DumpListOfModules()
Dsanitizer_procmaps_common.cc24 ProcSelfMapsBuff MemoryMappingLayout::cached_proc_self_maps_;
25 StaticSpinMutex MemoryMappingLayout::cache_lock_; // Linker initialized.
67 MemoryMappingLayout::MemoryMappingLayout(bool cache_enabled) { in MemoryMappingLayout() function in __sanitizer::MemoryMappingLayout
83 MemoryMappingLayout::~MemoryMappingLayout() { in ~MemoryMappingLayout()
91 void MemoryMappingLayout::Reset() { in Reset()
96 void MemoryMappingLayout::CacheMemoryMappings() { in CacheMemoryMappings()
112 void MemoryMappingLayout::LoadFromCache() { in LoadFromCache()
119 void MemoryMappingLayout::DumpListOfModules( in DumpListOfModules()
Dsanitizer_procmaps.h34 class MemoryMappingLayout {
36 explicit MemoryMappingLayout(bool cache_enabled);
37 ~MemoryMappingLayout();
Dsanitizer_posix.cc59 MemoryMappingLayout proc_maps(/*cache_enabled*/true); in GetKernelAreaSize()
65 && (prot & MemoryMappingLayout::kProtectionWrite) != 0) in GetKernelAreaSize()
286 MemoryMappingLayout proc_maps(/*cache_enabled*/true); in MemoryRangeIsAvailable()
300 MemoryMappingLayout proc_maps(/*cache_enabled*/true); in DumpProcessMap()
339 MemoryMappingLayout proc_maps(/*cache_enabled*/false); in GetCodeRangeForFile()
341 if ((prot & MemoryMappingLayout::kProtectionExecute) != 0 in GetCodeRangeForFile()
Dsanitizer_libignore.cc53 MemoryMappingLayout proc_maps(/*cache_enabled*/false); in OnLibraryLoaded()
61 if ((prot & MemoryMappingLayout::kProtectionExecute) == 0) in OnLibraryLoaded()
Dsanitizer_procmaps_freebsd.cc51 bool MemoryMappingLayout::Next(uptr *start, uptr *end, uptr *offset, in Next()
Dsanitizer_procmaps_linux.cc29 bool MemoryMappingLayout::Next(uptr *start, uptr *end, uptr *offset, in Next()
Dsanitizer_linux_libcdep.cc87 MemoryMappingLayout proc_maps(/*cache_enabled*/true); in GetThreadStackTopAndBottom()
467 MemoryMappingLayout memory_mapping(false); in init()
Dsanitizer_posix_libcdep.cc229 MemoryMappingLayout::CacheMemoryMappings(); in PrepareForSandboxing()
Dsanitizer_mac.cc382 MemoryMappingLayout memory_mapping(false); in init()
/external/compiler-rt/lib/sanitizer_common/tests/
Dsanitizer_procmaps_test.cc26 TEST(MemoryMappingLayout, CodeRange) { in TEST() argument
35 TEST(MemoryMappingLayout, DumpListOfModules) { in TEST() argument
38 MemoryMappingLayout memory_mapping(false); in TEST()
/external/compiler-rt/lib/tsan/rtl/
Dtsan_platform_linux.cc179 MemoryMappingLayout proc_maps(/*cache_enabled*/true); in MapRodata()
184 && (prot & MemoryMappingLayout::kProtectionRead) in MapRodata()
185 && (prot & MemoryMappingLayout::kProtectionExecute) in MapRodata()
186 && !(prot & MemoryMappingLayout::kProtectionWrite) in MapRodata()
Dtsan_platform_posix.cc117 MemoryMappingLayout proc_maps(true); in CheckAndProtect()
/external/compiler-rt/lib/esan/
Dworking_set.cpp162 MemoryMappingLayout MemIter(true/*cache*/); in computeWorkingSizeAndReset()
169 if (isShadowMem(Start) && (Prot & MemoryMappingLayout::kProtectionWrite)) { in computeWorkingSizeAndReset()
/external/compiler-rt/lib/asan/
Dasan_linux.cc140 MemoryMappingLayout proc_maps(/*cache_enabled*/true); in AsanCheckIncompatibleRT()
/external/compiler-rt/lib/lsan/
Dlsan_common.cc277 MemoryMappingLayout proc_maps(/*cache_enabled*/true); in ProcessRootRegion()
285 bool is_readable = prot & MemoryMappingLayout::kProtectionRead; in ProcessRootRegion()
/external/compiler-rt/lib/tsan/dd/
Ddd_interceptors.cc272 MemoryMappingLayout proc_maps(true); in InitDataSeg()