Home
last modified time | relevance | path

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

12

/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()
/external/llvm-project/compiler-rt/lib/sanitizer_common/
Dsanitizer_procmaps_fuchsia.cpp25 MemoryMappingLayout::MemoryMappingLayout(bool) { Reset(); } in MemoryMappingLayout() function in __sanitizer::MemoryMappingLayout
27 void MemoryMappingLayout::Reset() { in Reset()
51 MemoryMappingLayout::~MemoryMappingLayout() {} in ~MemoryMappingLayout()
53 bool MemoryMappingLayout::Error() const { return data_.data.empty(); } in Error()
55 bool MemoryMappingLayout::Next(MemoryMappedSegment *segment) { in Next()
Dsanitizer_procmaps_common.cpp72 MemoryMappingLayout::MemoryMappingLayout(bool cache_enabled) { in MemoryMappingLayout() function in __sanitizer::MemoryMappingLayout
86 bool MemoryMappingLayout::Error() const { in Error()
90 MemoryMappingLayout::~MemoryMappingLayout() { in ~MemoryMappingLayout()
97 void MemoryMappingLayout::Reset() { in Reset()
102 void MemoryMappingLayout::CacheMemoryMappings() { in CacheMemoryMappings()
114 void MemoryMappingLayout::LoadFromCache() { in LoadFromCache()
120 void MemoryMappingLayout::DumpListOfModules( in DumpListOfModules()
Dsanitizer_procmaps_mac.cpp83 MemoryMappingLayout::MemoryMappingLayout(bool cache_enabled) { in MemoryMappingLayout() function in __sanitizer::MemoryMappingLayout
87 MemoryMappingLayout::~MemoryMappingLayout() { in ~MemoryMappingLayout()
90 bool MemoryMappingLayout::Error() const { in Error()
108 void MemoryMappingLayout::Reset() { in Reset()
131 void MemoryMappingLayout::CacheMemoryMappings() { in CacheMemoryMappings()
135 void MemoryMappingLayout::LoadFromCache() { in LoadFromCache()
295 bool MemoryMappingLayout::Next(MemoryMappedSegment *segment) { in Next()
354 void MemoryMappingLayout::DumpListOfModules( in DumpListOfModules()
Dsanitizer_procmaps.h62 friend class MemoryMappingLayout;
68 class MemoryMappingLayout {
70 explicit MemoryMappingLayout(bool cache_enabled);
71 ~MemoryMappingLayout();
Dsanitizer_posix.cpp228 MemoryMappingLayout proc_maps(/*cache_enabled*/true); in MemoryRangeIsAvailable()
244 MemoryMappingLayout proc_maps(/*cache_enabled*/true); in DumpProcessMap()
277 MemoryMappingLayout proc_maps(/*cache_enabled*/false); in GetCodeRangeForFile()
Dsanitizer_procmaps_solaris.cpp33 bool MemoryMappingLayout::Next(MemoryMappedSegment *segment) { in Next()
Dsanitizer_procmaps_bsd.cpp75 bool MemoryMappingLayout::Next(MemoryMappedSegment *segment) { in Next()
Dsanitizer_procmaps_linux.cpp32 bool MemoryMappingLayout::Next(MemoryMappedSegment *segment) { in Next()
/external/llvm-project/compiler-rt/lib/sanitizer_common/tests/
Dsanitizer_procmaps_test.cpp25 TEST(MemoryMappingLayout, CodeRange) { in TEST() argument
34 TEST(MemoryMappingLayout, DumpListOfModules) { in TEST() argument
37 MemoryMappingLayout memory_mapping(false); in TEST()
57 MemoryMappingLayout memory_mapping(false); in TEST()
/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/llvm-project/compiler-rt/lib/tsan/rtl/
Dtsan_platform_posix.cpp88 MemoryMappingLayout proc_maps(true); in CheckAndProtect()
/external/llvm-project/compiler-rt/lib/asan/
Dasan_linux.cpp198 MemoryMappingLayout proc_maps(/*cache_enabled*/true); in AsanCheckIncompatibleRT()
/external/llvm-project/compiler-rt/lib/lsan/
Dlsan_common_mac.cpp122 MemoryMappingLayout memory_mapping(false); in ProcessGlobalRegions()

12