OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:proc_maps
(Results
1 - 13
of
13
) sorted by null
/external/chromium_org/base/debug/
proc_maps_linux.cc
29
// Scans |
proc_maps
| starting from |pos| returning true if the gate VMA was
31
static bool ContainsGateVMA(std::string*
proc_maps
, size_t pos) {
34
return
proc_maps
->find(" [vectors]\n", pos) != std::string::npos;
37
return
proc_maps
->find(" [vsyscall]\n", pos) != std::string::npos;
45
bool ReadProcMaps(std::string*
proc_maps
) {
55
proc_maps
->clear();
58
// To avoid a copy, resize |
proc_maps
| so read() can write directly into it.
60
size_t pos =
proc_maps
->size();
61
proc_maps
->resize(pos + kReadSize);
62
void* buffer = &(*
proc_maps
)[pos]
[
all
...]
proc_maps_linux.h
44
// Reads the data from /proc/self/maps and stores the result in |
proc_maps
|.
80
BASE_EXPORT bool ReadProcMaps(std::string*
proc_maps
);
stack_trace_android.cc
83
std::string
proc_maps
;
local
91
if (!ReadProcMaps(&
proc_maps
)) {
94
} else if (!ParseProcMaps(
proc_maps
, ®ions)) {
proc_maps_linux_unittest.cc
184
std::string
proc_maps
;
local
185
ASSERT_TRUE(ReadProcMaps(&
proc_maps
));
188
ASSERT_TRUE(ParseProcMaps(
proc_maps
, ®ions));
192
// mapped into memory. Use the address of |
proc_maps
| as a way of finding the
196
uintptr_t address = reinterpret_cast<uintptr_t>(&
proc_maps
);
236
std::string
proc_maps
(old_string);
237
ASSERT_TRUE(ReadProcMaps(&
proc_maps
));
238
EXPECT_EQ(std::string::npos,
proc_maps
.find(old_string));
/external/compiler-rt/lib/sanitizer_common/
sanitizer_procmaps_linux.cc
31
static void ReadProcMaps(ProcSelfMapsBuff *
proc_maps
) {
45
proc_maps
->data = (char*)VmMap;
46
proc_maps
->mmaped_size = MmapedSize;
47
proc_maps
->len = Size;
49
proc_maps
->len = ReadFileToBuffer("/proc/self/maps", &
proc_maps
->data,
50
&
proc_maps
->mmaped_size, 1 << 26);
sanitizer_libignore.cc
57
MemoryMappingLayout
proc_maps
(/*cache_enabled*/false);
62
proc_maps
.Reset();
64
while (
proc_maps
.Next(&b, &e, &off, module.data(), module.size(), &prot)) {
sanitizer_posix.cc
48
MemoryMappingLayout
proc_maps
(/*cache_enabled*/true);
50
while (
proc_maps
.Next(/*start*/0, &end,
233
MemoryMappingLayout
proc_maps
(/*cache_enabled*/true);
235
while (
proc_maps
.Next(&start, &end,
245
MemoryMappingLayout
proc_maps
(/*cache_enabled*/true);
250
while (
proc_maps
.Next(&start, &end, /* file_offset */0,
325
MemoryMappingLayout
proc_maps
(/*cache_enabled*/false);
326
while (
proc_maps
.Next(&s, &e, &off, buff.data(), buff.size(), &prot)) {
sanitizer_coverage_libcdep.cc
283
MemoryMappingLayout
proc_maps
(/*cache_enabled*/true);
288
proc_maps
.Next(&mb, &me, &off, module.data(), module.size(), &prot);
sanitizer_linux_libcdep.cc
84
MemoryMappingLayout
proc_maps
(/*cache_enabled*/true);
87
while (
proc_maps
.Next(&start, &end, &offset, 0, 0, /* protection */0)) {
/external/compiler-rt/lib/tsan/rtl/
tsan_platform_linux.cc
179
MemoryMappingLayout
proc_maps
(/*cache_enabled*/true);
182
while (
proc_maps
.Next(&start, &end, &offset, name, ARRAY_SIZE(name), &prot)) {
263
MemoryMappingLayout
proc_maps
(true);
265
if (
proc_maps
.Next(&start, &end,
280
MemoryMappingLayout
proc_maps
(true);
284
while (
proc_maps
.Next(&start, &end, &offset, name, ARRAY_SIZE(name),
/external/compiler-rt/lib/asan/
asan_linux.cc
134
MemoryMappingLayout
proc_maps
(/*cache_enabled*/true);
136
while (
proc_maps
.Next(0, 0, 0, filename, sizeof(filename), 0)) {
/external/compiler-rt/lib/tsan/dd/
dd_interceptors.cc
275
MemoryMappingLayout
proc_maps
(true);
279
while (
proc_maps
.Next(&start, &end, &offset, name, ARRAY_SIZE(name),
/external/compiler-rt/lib/lsan/
lsan_common.cc
272
MemoryMappingLayout
proc_maps
(/*cache_enabled*/true);
274
while (
proc_maps
.Next(&begin, &end,
Completed in 4484 milliseconds